Skip to content

Commit

Permalink
Update FAudio verb (new version) (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperatorS79 committed Feb 27, 2019
1 parent eecb176 commit b0d4a82
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Engines/Wine/Verbs/FAudio/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include("utils.functions.filesystem.files");
*/
Wine.prototype.faudio = function (faudioVersion) {
if(typeof faudioVersion !== 'string')
faudioVersion = "19.01";
faudioVersion = "19.02";

var setupFile = new Resource()
.wizard(this.wizard())
Expand Down Expand Up @@ -60,8 +60,11 @@ var verbImplementation = {
var wine = new Wine();
wine.prefix(container);
var wizard = SetupWizard(InstallationType.VERBS, "FAudio", java.util.Optional.empty());
var versions = ["19.02", "19.01"];
var selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.02");
wine.wizard(wizard);
wine.faudio();
// install selected version
wine.faudio(selectedVersion);
wizard.close();
}
};
Expand Down

0 comments on commit b0d4a82

Please sign in to comment.