You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building an app in which I am trying to use Auto-Launch, but I can't, because every time the app runs, it gets unpacked in a different temporary folder.
I am copying it to Desktop and running it from Desktop, so why doesn't it point to it existing on Desktop ?
Why is a portable app getting "unpacked" every time it runs ? Why isn't it just an exe that just runs ?
Here are some logs:
// Log path using app.getAppPath() - the path to the app's source or packaged directorylog.info('app.getAppPath:',app.getAppPath());// Log path using process.execPath - the path to the Electron executablelog.info('process.execPath:',process.execPath);// Log path using process.argv[0] - the path to the Electron executablelog.info('process.argv[0]:',process.argv[0]);// Log path using __dirname - the directory of the current executing scriptlog.info('__dirname:',__dirname);// Log path using app.getPath('userData') - the path to the user data directorylog.info('app.getPath("userData"):',app.getPath('userData'));// Log a manually resolved path (useful for testing)log.info('Manually resolved path (assuming EXE name):',path.join(app.getAppPath(),'Ceva-Automat-Plata-Parcare-1.0.0.exe'));// Example: Resolving paths dynamically to see where the executable might belog.info('Resolved path to executable (if running from package):',path.resolve(app.getAppPath(),'Ceva-Automat-Plata-Parcare-1.0.0.exe'));// Use app.getPath('exe') to get the location of the current executable on Windows (not applicable on Linux/macOS)if(process.platform==='win32'){log.info('app.getPath("exe") (Windows only):',app.getPath('exe'));}
I am building an app in which I am trying to use Auto-Launch, but I can't, because every time the app runs, it gets unpacked in a different temporary folder.
I building a portable app using these settings:
I am copying it to Desktop and running it from Desktop, so why doesn't it point to it existing on Desktop ?
Why is a portable app getting "unpacked" every time it runs ? Why isn't it just an exe that just runs ?
Here are some logs:
The text was updated successfully, but these errors were encountered: