Some checks failed
Deploy Web Apps / deploy (push) Successful in 5m52s
Build Android APK / build-android-apk (push) Failing after 23m15s
Queue Release Build / prepare (push) Successful in 1m42s
Queue Release Build / build-linux (push) Failing after 9m33s
Queue Release Build / build-windows (push) Successful in 26m5s
Queue Release Build / finalize (push) Has been skipped
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
/** Resolves the packaged binary path used for auto-start and updater migration. */
|
|
export function resolveLaunchPath(): string {
|
|
const appImagePath = process.platform === 'linux'
|
|
? String(process.env['APPIMAGE'] || '').trim()
|
|
: '';
|
|
|
|
return appImagePath || process.execPath;
|
|
}
|