chore: cleanup

This commit is contained in:
Nathan Walker
2025-07-19 01:18:12 -07:00
parent 2fb70c1f10
commit 248a85f6e0
15 changed files with 439 additions and 417 deletions

View File

@@ -95,10 +95,7 @@ function getCurrentAppPath(): string {
if (!global.__dirname) {
global.__dirname = typeof __dirname !== 'undefined' ? __dirname : import.meta.dirname;
}
console.log('getCurrentAppPath __dirname:', __dirname);
const currentDir = global.__dirname;
console.log('getCurrentAppPath global.__dirname:', global.__dirname);
console.log('getCurrentAppPath currentDir:', currentDir);
const tnsModulesIndex = currentDir.indexOf('/tns_modules');
// Module not hosted in ~/tns_modules when bundled. Use current dir.