Merge pull request #3808

621c119 main: add compile time option to disable desktop entry dialog (selsta)
This commit is contained in:
luigi1111
2022-01-24 15:22:57 -05:00
3 changed files with 13 additions and 1 deletions

View File

@@ -1338,7 +1338,8 @@ ApplicationWindow {
appWindow.fiatTimerStart();
}
if (persistentSettings.askDesktopShortcut && !persistentSettings.portable) {
const desktopEntryEnabled = (typeof builtWithDesktopEntry != "undefined") && builtWithDesktopEntry;
if (persistentSettings.askDesktopShortcut && !persistentSettings.portable && desktopEntryEnabled) {
persistentSettings.askDesktopShortcut = false;
if (isTails) {