Skip to content

Commit 51a2b48

Browse files
unity-cli@v1.2.0 (#20)
- Refactor LicenseClient.Active with a new ActivateOptions interface for input parameters - Refactor Hub installation on windows to invoke UAC when installing hub - Added command groups when running help command - Added list-project-templates command to list available templates for a given unity editor
1 parent 57dd46d commit 51a2b48

13 files changed

Lines changed: 1069 additions & 154 deletions

.github/workflows/unity-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
- name: create unity project
6060
shell: bash
6161
run: |
62+
unity-cli list-project-templates --unity-editor "${UNITY_EDITOR_PATH}" --json
6263
unity-cli create-project --name "Unity Project" --unity-editor "${UNITY_EDITOR_PATH}" --json
6364
- name: verify UNITY_PROJECT_PATH variable
6465
shell: bash

jest.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ export default {
55
transform: {
66
'^.+\\.ts$': ['ts-jest', { useESM: true, tsconfig: '<rootDir>/tsconfig.jest.json' }],
77
},
8+
moduleNameMapper: {
9+
'^@electron/asar$': '<rootDir>/tests/mocks/electron-asar.js'
10+
},
811
testMatch: ['**/?(*.)+(test).ts'],
912
};

0 commit comments

Comments
 (0)