mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
only appimage supports autoupdates on linux
This commit is contained in:
@@ -5,3 +5,7 @@ export function isDev() {
|
||||
}
|
||||
return (process.defaultApp || /node_modules[\\/]electron[\\/]/.test(process.execPath));
|
||||
}
|
||||
|
||||
export function isAppImage() {
|
||||
return 'APPIMAGE' in process.env;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user