[FirstRun > win32] Fix erroring

This commit is contained in:
Ducko 2022-03-11 17:26:59 +00:00
parent 95e62f9d62
commit 69266fa156
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ const updateShortcuts = (updater) => {
join(updater.getKnownFolder('desktop'), filename),
join(updater.getKnownFolder('programs'), Constants.APP_COMPANY, filename)
]) {
if (!fs.existsSync(path)) continue; // Don't update already deleted paths
if (!fs.existsSync(shortcut_path)) continue; // Don't update already deleted paths
updater.createShortcut({
target_path: join(rootPath, 'Update.exe'),