@meowlynxsea/koi 0.2.15 → 0.2.16
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/package.json +1 -1
- package/scripts/postinstall.ts +5 -2
package/package.json
CHANGED
package/scripts/postinstall.ts
CHANGED
|
@@ -36,8 +36,11 @@ export default module.default;
|
|
|
36
36
|
// Find the actual node_modules path
|
|
37
37
|
// In global install, koi is at: C:\Users\Acro\node_modules\@meowlynxsea\koi
|
|
38
38
|
// Platform modules are at: C:\Users\Acro\node_modules\@opentui\core-win32-x64
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
// rootDir is: C:\Users\Acro\node_modules\@meowlynxsea\koi
|
|
40
|
+
// dirname(rootDir) is: C:\Users\Acro\node_modules\@meowlynxsea (WRONG)
|
|
41
|
+
// We need to go up two levels to get: C:\Users\Acro\node_modules
|
|
42
|
+
const parentDir = dirname(dirname(rootDir));
|
|
43
|
+
console.log(`[DEBUG] parentDir (dirname(dirname(rootDir))): ${parentDir}`);
|
|
41
44
|
|
|
42
45
|
// Check if parentDir has the expected structure
|
|
43
46
|
const parentNodeModulesCheck = join(parentDir, "@opentui");
|