[FirstRun > win32] Tweak source

This commit is contained in:
Ducko 2022-03-14 19:01:42 +00:00
parent bdfef85bb0
commit ab3c674237

View file

@ -29,8 +29,8 @@ const updateShortcuts = (updater) => {
const icon_path = copyIconToRoot();
for (const shortcut_path of [
join(updater.getKnownFolder('desktop'), filename),
join(updater.getKnownFolder('programs'), Constants.APP_COMPANY, filename)
join(updater.getKnownFolder('desktop'), filename),
join(updater.getKnownFolder('programs'), Constants.APP_COMPANY, filename)
]) {
if (!fs.existsSync(shortcut_path)) continue; // Don't update already deleted paths