Skip to content

Commit 8603dc5

Browse files
Zemogiterplata
authored andcommitted
Update Installer Script (run postInstall before shortcut creation) (#1170)
Avoid issues if postInstall() creates the executable which the shortcut refers to.
1 parent 0ea287b commit 8603dc5

File tree

1 file changed

+2
-2
lines changed
  • Engines/Wine/QuickScript/Installer Script

1 file changed

+2
-2
lines changed

Engines/Wine/QuickScript/Installer Script/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ module.default = class InstallerScript extends QuickScript {
9595
);
9696
}
9797

98-
this._createShortcut(wine.prefix());
99-
10098
this._postInstall(wine, setupWizard);
10199

100+
this._createShortcut(wine.prefix());
101+
102102
// back to generic wait (might have been changed in postInstall)
103103
setupWizard.wait(tr("Please wait..."));
104104

0 commit comments

Comments
 (0)