Skip to content

Commit b9c26cc

Browse files
authored
Fix UPlay QuickScript (#631)
1 parent 77a3ce1 commit b9c26cc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • Engines/Wine/QuickScript/Uplay Script

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,16 @@ UplayScript.prototype.go = function () {
4949
.to(tempFile)
5050
.get();
5151

52+
setupWizard.wait(tr("Please follow the steps of the Uplay setup.\n\nUncheck \"Run Uplay\" or close Uplay completely after the setup so that the installation of \"{0}\" can continue.", this._name));
53+
5254
var wine = new Wine()
5355
.wizard(setupWizard)
5456
.architecture(this._wineArchitecture)
5557
.distribution(this._wineDistribution)
5658
.version(this._wineVersion)
5759
.prefix(this._name)
5860
.luna()
59-
.run(tempFile)
60-
.wait(tr("Please follow the steps of the Uplay setup.\n\nUncheck \"Run Uplay\" or close Uplay completely after the setup so that the installation of \"{0}\" can continue.", this._name));
61+
.run(tempFile, [], null, false, true);
6162

6263
wine.setOsForApplication().set("upc.exe", "winxp").do();
6364

0 commit comments

Comments
 (0)