launch-unity 0.10.0 → 0.10.1

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.
Files changed (2) hide show
  1. package/dist/launch.js +1 -6
  2. package/package.json +6 -6
package/dist/launch.js CHANGED
@@ -621,12 +621,7 @@ const EXCLUDED_DIR_NAMES = new Set([
621
621
  ]);
622
622
  function isUnityProjectRoot(candidateDir) {
623
623
  const versionFile = join(candidateDir, "ProjectSettings", "ProjectVersion.txt");
624
- const hasVersion = existsSync(versionFile);
625
- if (!hasVersion) {
626
- return false;
627
- }
628
- const libraryDir = join(candidateDir, "Library");
629
- return existsSync(libraryDir);
624
+ return existsSync(versionFile);
630
625
  }
631
626
  function listSubdirectoriesSorted(dir) {
632
627
  let entries = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "launch-unity",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Open a Unity project with the matching Editor version (macOS/Windows)",
5
5
  "type": "module",
6
6
  "main": "dist/launch.js",
@@ -38,16 +38,16 @@
38
38
  "node": ">=18"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/node": "24.10.1",
42
- "@typescript-eslint/eslint-plugin": "8.48.1",
43
- "@typescript-eslint/parser": "8.48.1",
44
- "eslint": "9.39.1",
41
+ "@types/node": "25.0.2",
42
+ "@typescript-eslint/eslint-plugin": "8.50.0",
43
+ "@typescript-eslint/parser": "8.50.0",
44
+ "eslint": "9.39.2",
45
45
  "eslint-config-prettier": "10.1.8",
46
46
  "prettier": "3.7.4",
47
47
  "typescript": "5.9.3"
48
48
  },
49
49
  "dependencies": {
50
- "typescript-eslint": "8.48.1"
50
+ "typescript-eslint": "8.49.0"
51
51
  },
52
52
  "overrides": {
53
53
  "js-yaml": "4.1.1"