MAS: remove default download location (#2070)

This commit is contained in:
Devin Binnie
2022-04-25 09:37:43 -04:00
committed by GitHub
parent 78b4bbf357
commit 9b3d37e953
3 changed files with 8 additions and 6 deletions

View File

@@ -368,7 +368,7 @@ function initializeAfterAppReady() {
}
item.setSaveDialogOptions({
title: filename,
defaultPath: path.resolve(Config.downloadLocation, filename),
defaultPath: Config.downloadLocation ? path.resolve(Config.downloadLocation, filename) : undefined,
filters,
});