1
0
mirror of https://github.com/bitwarden/desktop synced 2025-12-20 10:13:14 +00:00

only appimage supports autoupdates on linux

This commit is contained in:
Kyle Spearrin
2018-02-16 12:13:36 -05:00
parent c46acc78ce
commit afa2112d91
2 changed files with 17 additions and 1 deletions

View File

@@ -5,3 +5,7 @@ export function isDev() {
}
return (process.defaultApp || /node_modules[\\/]electron[\\/]/.test(process.execPath));
}
export function isAppImage() {
return 'APPIMAGE' in process.env;
}