launch-unity 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/launch.d.ts +1 -1
- package/dist/launch.d.ts.map +1 -1
- package/dist/launch.js +7 -3
- package/dist/lib.d.ts +3 -3
- package/dist/lib.d.ts.map +1 -1
- package/dist/lib.js +7 -3
- package/dist/unityHub.d.ts +2 -0
- package/dist/unityHub.d.ts.map +1 -1
- package/dist/unityHub.js +97 -0
- package/package.json +5 -5
package/dist/launch.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export declare function focusUnityProcess(pid: number): Promise<void>;
|
|
|
26
26
|
export declare function handleStaleLockfile(projectPath: string): Promise<void>;
|
|
27
27
|
export declare function killRunningUnity(projectPath: string): Promise<void>;
|
|
28
28
|
export declare function findUnityProjectBfs(rootDir: string, maxDepth: number): string | undefined;
|
|
29
|
-
export declare function launch(opts: LaunchResolvedOptions): void
|
|
29
|
+
export declare function launch(opts: LaunchResolvedOptions): Promise<void>;
|
|
30
30
|
//# sourceMappingURL=launch.d.ts.map
|
package/dist/launch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch.d.ts","sourceRoot":"","sources":["../src/launch.ts"],"names":[],"mappings":";AAeA,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,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AAG;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAyJF,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,aAAa,CAqHvD;AAyCD,wBAAgB,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAe3D;AA2ND,wBAAsB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAIxG;AAED,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAQlE;AA4CD,wBAAsB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAyB5E;AAiCD,wBAAsB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAkBzE;AAgDD,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAqDzF;AAED,wBAAsB,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,IAAI,CAAC,CAiCvE"}
|
package/dist/launch.js
CHANGED
|
@@ -9,7 +9,7 @@ import { rm } from "node:fs/promises";
|
|
|
9
9
|
import { dirname, join, resolve } from "node:path";
|
|
10
10
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
11
11
|
import { promisify } from "node:util";
|
|
12
|
-
import { ensureProjectEntryAndUpdate, updateLastModifiedIfExists } from "./unityHub.js";
|
|
12
|
+
import { ensureProjectEntryAndUpdate, updateLastModifiedIfExists, getProjectCliArgs } from "./unityHub.js";
|
|
13
13
|
const execFileAsync = promisify(execFile);
|
|
14
14
|
const UNITY_EXECUTABLE_PATTERN_MAC = /Unity\.app\/Contents\/MacOS\/Unity/i;
|
|
15
15
|
const UNITY_EXECUTABLE_PATTERN_WINDOWS = /Unity\.exe/i;
|
|
@@ -695,7 +695,7 @@ export function findUnityProjectBfs(rootDir, maxDepth) {
|
|
|
695
695
|
}
|
|
696
696
|
return undefined;
|
|
697
697
|
}
|
|
698
|
-
export function launch(opts) {
|
|
698
|
+
export async function launch(opts) {
|
|
699
699
|
const { projectPath, platform, unityArgs, unityVersion } = opts;
|
|
700
700
|
const unityPath = getUnityPath(unityVersion);
|
|
701
701
|
console.log(`Detected Unity version: ${unityVersion}`);
|
|
@@ -711,6 +711,10 @@ export function launch(opts) {
|
|
|
711
711
|
if (platform && platform.length > 0 && !unityArgsContainBuildTarget) {
|
|
712
712
|
args.push("-buildTarget", platform);
|
|
713
713
|
}
|
|
714
|
+
const hubCliArgs = await getProjectCliArgs(projectPath);
|
|
715
|
+
if (hubCliArgs.length > 0) {
|
|
716
|
+
args.push(...hubCliArgs);
|
|
717
|
+
}
|
|
714
718
|
if (unityArgs.length > 0) {
|
|
715
719
|
args.push(...unityArgs);
|
|
716
720
|
}
|
|
@@ -774,7 +778,7 @@ async function main() {
|
|
|
774
778
|
unityArgs: options.unityArgs,
|
|
775
779
|
unityVersion,
|
|
776
780
|
};
|
|
777
|
-
launch(resolved);
|
|
781
|
+
await launch(resolved);
|
|
778
782
|
// Best-effort update of Unity Hub's lastModified timestamp.
|
|
779
783
|
const now = new Date();
|
|
780
784
|
try {
|
package/dist/lib.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* launch-unity core library functions.
|
|
3
3
|
* Pure library code without CLI entry point or side effects.
|
|
4
4
|
*/
|
|
5
|
-
import { ensureProjectEntryAndUpdate, updateLastModifiedIfExists } from "./unityHub.js";
|
|
5
|
+
import { ensureProjectEntryAndUpdate, updateLastModifiedIfExists, getProjectCliArgs, parseCliArgs } from "./unityHub.js";
|
|
6
6
|
export type LaunchOptions = {
|
|
7
7
|
subcommand?: "update";
|
|
8
8
|
projectPath?: string;
|
|
@@ -30,6 +30,6 @@ export declare function focusUnityProcess(pid: number): Promise<void>;
|
|
|
30
30
|
export declare function handleStaleLockfile(projectPath: string): Promise<void>;
|
|
31
31
|
export declare function killRunningUnity(projectPath: string): Promise<void>;
|
|
32
32
|
export declare function findUnityProjectBfs(rootDir: string, maxDepth: number): string | undefined;
|
|
33
|
-
export declare function launch(opts: LaunchResolvedOptions): void
|
|
34
|
-
export { ensureProjectEntryAndUpdate, updateLastModifiedIfExists };
|
|
33
|
+
export declare function launch(opts: LaunchResolvedOptions): Promise<void>;
|
|
34
|
+
export { ensureProjectEntryAndUpdate, updateLastModifiedIfExists, getProjectCliArgs, parseCliArgs };
|
|
35
35
|
//# sourceMappingURL=lib.d.ts.map
|
package/dist/lib.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAAE,2BAA2B,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAEzH,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,QAAQ,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;IACjB,WA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node:fs/promises";
|
|
8
8
|
import { join, resolve } from "node:path";
|
|
9
9
|
import { promisify } from "node:util";
|
|
10
|
-
import { ensureProjectEntryAndUpdate, updateLastModifiedIfExists } from "./unityHub.js";
|
|
10
|
+
import { ensureProjectEntryAndUpdate, updateLastModifiedIfExists, getProjectCliArgs, parseCliArgs } from "./unityHub.js";
|
|
11
11
|
const execFileAsync = promisify(execFile);
|
|
12
12
|
const UNITY_EXECUTABLE_PATTERN_MAC = /Unity\.app\/Contents\/MacOS\/Unity/i;
|
|
13
13
|
const UNITY_EXECUTABLE_PATTERN_WINDOWS = /Unity\.exe/i;
|
|
@@ -533,7 +533,7 @@ export function findUnityProjectBfs(rootDir, maxDepth) {
|
|
|
533
533
|
}
|
|
534
534
|
return undefined;
|
|
535
535
|
}
|
|
536
|
-
export function launch(opts) {
|
|
536
|
+
export async function launch(opts) {
|
|
537
537
|
const { projectPath, platform, unityArgs, unityVersion } = opts;
|
|
538
538
|
const unityPath = getUnityPath(unityVersion);
|
|
539
539
|
console.log(`Detected Unity version: ${unityVersion}`);
|
|
@@ -547,6 +547,10 @@ export function launch(opts) {
|
|
|
547
547
|
if (platform && platform.length > 0 && !unityArgsContainBuildTarget) {
|
|
548
548
|
args.push("-buildTarget", platform);
|
|
549
549
|
}
|
|
550
|
+
const hubCliArgs = await getProjectCliArgs(projectPath);
|
|
551
|
+
if (hubCliArgs.length > 0) {
|
|
552
|
+
args.push(...hubCliArgs);
|
|
553
|
+
}
|
|
550
554
|
if (unityArgs.length > 0) {
|
|
551
555
|
args.push(...unityArgs);
|
|
552
556
|
}
|
|
@@ -554,4 +558,4 @@ export function launch(opts) {
|
|
|
554
558
|
child.unref();
|
|
555
559
|
}
|
|
556
560
|
// Re-export Unity Hub functions
|
|
557
|
-
export { ensureProjectEntryAndUpdate, updateLastModifiedIfExists };
|
|
561
|
+
export { ensureProjectEntryAndUpdate, updateLastModifiedIfExists, getProjectCliArgs, parseCliArgs };
|
package/dist/unityHub.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export declare const ensureProjectEntryAndUpdate: (projectPath: string, version: string, when: Date, setFavorite?: boolean) => Promise<void>;
|
|
2
2
|
export declare const updateLastModifiedIfExists: (projectPath: string, when: Date) => Promise<void>;
|
|
3
|
+
export declare const parseCliArgs: (cliArgsString: string) => string[];
|
|
4
|
+
export declare const getProjectCliArgs: (projectPath: string) => Promise<string[]>;
|
|
3
5
|
//# sourceMappingURL=unityHub.d.ts.map
|
package/dist/unityHub.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unityHub.d.ts","sourceRoot":"","sources":["../src/unityHub.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"unityHub.d.ts","sourceRoot":"","sources":["../src/unityHub.ts"],"names":[],"mappings":"AAwFA,eAAO,MAAM,2BAA2B,GACtC,aAAa,MAAM,EACnB,SAAS,MAAM,EACf,MAAM,IAAI,EACV,qBAAmB,KAClB,OAAO,CAAC,IAAI,CAgEd,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,aAAa,MAAM,EACnB,MAAM,IAAI,KACT,OAAO,CAAC,IAAI,CAuDd,CAAC;AAoBF,eAAO,MAAM,YAAY,GAAI,eAAe,MAAM,KAAG,MAAM,EA6C1D,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAU,aAAa,MAAM,KAAG,OAAO,CAAC,MAAM,EAAE,CA8C7E,CAAC"}
|
package/dist/unityHub.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { readFile, writeFile } from "node:fs/promises";
|
|
2
2
|
import { realpathSync } from "node:fs";
|
|
3
3
|
import { basename, dirname, join, resolve } from "node:path";
|
|
4
|
+
import assert from "node:assert";
|
|
4
5
|
const resolveUnityHubProjectFiles = () => {
|
|
5
6
|
if (process.platform === "darwin") {
|
|
6
7
|
const home = process.env.HOME;
|
|
@@ -168,3 +169,99 @@ export const updateLastModifiedIfExists = async (projectPath, when) => {
|
|
|
168
169
|
return;
|
|
169
170
|
}
|
|
170
171
|
};
|
|
172
|
+
const resolveUnityHubProjectsInfoFile = () => {
|
|
173
|
+
if (process.platform === "darwin") {
|
|
174
|
+
const home = process.env.HOME;
|
|
175
|
+
if (!home) {
|
|
176
|
+
return undefined;
|
|
177
|
+
}
|
|
178
|
+
return join(home, "Library", "Application Support", "UnityHub", "projectsInfo.json");
|
|
179
|
+
}
|
|
180
|
+
if (process.platform === "win32") {
|
|
181
|
+
const appData = process.env.APPDATA;
|
|
182
|
+
if (!appData) {
|
|
183
|
+
return undefined;
|
|
184
|
+
}
|
|
185
|
+
return join(appData, "UnityHub", "projectsInfo.json");
|
|
186
|
+
}
|
|
187
|
+
return undefined;
|
|
188
|
+
};
|
|
189
|
+
export const parseCliArgs = (cliArgsString) => {
|
|
190
|
+
assert(cliArgsString !== null && cliArgsString !== undefined, "cliArgsString must not be null");
|
|
191
|
+
const trimmed = cliArgsString.trim();
|
|
192
|
+
if (trimmed.length === 0) {
|
|
193
|
+
return [];
|
|
194
|
+
}
|
|
195
|
+
const tokens = [];
|
|
196
|
+
let current = "";
|
|
197
|
+
let inQuote = null;
|
|
198
|
+
for (const char of trimmed) {
|
|
199
|
+
if (inQuote !== null) {
|
|
200
|
+
if (char === inQuote) {
|
|
201
|
+
tokens.push(current);
|
|
202
|
+
current = "";
|
|
203
|
+
inQuote = null;
|
|
204
|
+
}
|
|
205
|
+
else {
|
|
206
|
+
current += char;
|
|
207
|
+
}
|
|
208
|
+
continue;
|
|
209
|
+
}
|
|
210
|
+
if (char === '"' || char === "'") {
|
|
211
|
+
inQuote = char;
|
|
212
|
+
continue;
|
|
213
|
+
}
|
|
214
|
+
if (char === " ") {
|
|
215
|
+
if (current.length > 0) {
|
|
216
|
+
tokens.push(current);
|
|
217
|
+
current = "";
|
|
218
|
+
}
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
current += char;
|
|
222
|
+
}
|
|
223
|
+
if (current.length > 0) {
|
|
224
|
+
tokens.push(current);
|
|
225
|
+
}
|
|
226
|
+
return tokens;
|
|
227
|
+
};
|
|
228
|
+
export const getProjectCliArgs = async (projectPath) => {
|
|
229
|
+
assert(projectPath !== null && projectPath !== undefined, "projectPath must not be null");
|
|
230
|
+
const infoFilePath = resolveUnityHubProjectsInfoFile();
|
|
231
|
+
if (!infoFilePath) {
|
|
232
|
+
logDebug("projectsInfo.json path could not be resolved.");
|
|
233
|
+
return [];
|
|
234
|
+
}
|
|
235
|
+
logDebug(`Reading projectsInfo.json: ${infoFilePath}`);
|
|
236
|
+
let content;
|
|
237
|
+
try {
|
|
238
|
+
content = await readFile(infoFilePath, "utf8");
|
|
239
|
+
}
|
|
240
|
+
catch {
|
|
241
|
+
logDebug("projectsInfo.json not found or not readable.");
|
|
242
|
+
return [];
|
|
243
|
+
}
|
|
244
|
+
let json;
|
|
245
|
+
try {
|
|
246
|
+
json = JSON.parse(content);
|
|
247
|
+
}
|
|
248
|
+
catch {
|
|
249
|
+
logDebug("projectsInfo.json parse failed.");
|
|
250
|
+
return [];
|
|
251
|
+
}
|
|
252
|
+
const normalizedProjectPath = normalizePath(projectPath);
|
|
253
|
+
const projectKey = Object.keys(json).find((key) => pathsEqual(key, normalizedProjectPath));
|
|
254
|
+
if (!projectKey) {
|
|
255
|
+
logDebug(`No entry found for project: ${normalizedProjectPath}`);
|
|
256
|
+
return [];
|
|
257
|
+
}
|
|
258
|
+
const projectInfo = json[projectKey];
|
|
259
|
+
const cliArgsString = projectInfo?.cliArgs;
|
|
260
|
+
if (!cliArgsString || cliArgsString.trim().length === 0) {
|
|
261
|
+
logDebug("cliArgs is empty or not defined.");
|
|
262
|
+
return [];
|
|
263
|
+
}
|
|
264
|
+
const parsed = parseCliArgs(cliArgsString);
|
|
265
|
+
logDebug(`Parsed Unity Hub cliArgs: ${JSON.stringify(parsed)}`);
|
|
266
|
+
return parsed;
|
|
267
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "launch-unity",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Open a Unity project with the matching Editor version (macOS/Windows)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"node": ">=18"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@types/node": "25.0
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
50
|
-
"@typescript-eslint/parser": "8.
|
|
48
|
+
"@types/node": "25.2.0",
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "8.54.0",
|
|
50
|
+
"@typescript-eslint/parser": "8.54.0",
|
|
51
51
|
"eslint": "9.39.2",
|
|
52
52
|
"eslint-config-prettier": "10.1.8",
|
|
53
53
|
"prettier": "3.8.1",
|
|
54
54
|
"typescript": "5.9.3"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"typescript-eslint": "8.
|
|
57
|
+
"typescript-eslint": "8.54.0"
|
|
58
58
|
},
|
|
59
59
|
"overrides": {
|
|
60
60
|
"js-yaml": "4.1.1"
|