[FirstRun > win32] Tweak source
This commit is contained in:
parent
bdfef85bb0
commit
ab3c674237
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ const updateShortcuts = (updater) => {
|
||||||
const icon_path = copyIconToRoot();
|
const icon_path = copyIconToRoot();
|
||||||
|
|
||||||
for (const shortcut_path of [
|
for (const shortcut_path of [
|
||||||
join(updater.getKnownFolder('desktop'), filename),
|
join(updater.getKnownFolder('desktop'), filename),
|
||||||
join(updater.getKnownFolder('programs'), Constants.APP_COMPANY, filename)
|
join(updater.getKnownFolder('programs'), Constants.APP_COMPANY, filename)
|
||||||
]) {
|
]) {
|
||||||
if (!fs.existsSync(shortcut_path)) continue; // Don't update already deleted paths
|
if (!fs.existsSync(shortcut_path)) continue; // Don't update already deleted paths
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue