Skip to content

Commit

Permalink
Fixed the issue with .executable.. apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Hrbek committed Mar 7, 2019
1 parent 32407ae commit fb331df
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Applications/Games/League of Legends/Online/script.js
Expand Up @@ -25,7 +25,6 @@ var installerImplementation = {
"North America",
"Russia"];
var selectedRegion = wizard.menu(tr("Select your region:"), regions);
// var regionID, url, sha1;
var baseUrl = "https://riotgamespatcher-a.akamaihd.net/releases/live/installer/deploy/League%20of%20Legends%20installer%20";
switch (selectedRegion.text){
case "EU West":
Expand Down Expand Up @@ -75,14 +74,14 @@ var installerImplementation = {
break;
}
var setupFile = new Resource()
.wizard(wizard)
.url(url)
//.checksum(sha1)
.name(fileName(url))
.get();
.wizard(wizard)
.url(url)
//.checksum(sha1)
.name(fileName(url))
.get();

// OLD: return {command: setupFile, args: ["--installdir", "C:\\LoL\\", "--mode", "unattended"]};
//return {command: setupFile, args: ["--installdir", "C:/Riot Games/League of legends/", "--mode", "unattended"]};
return {command: setupFile};
})
.category("Games")
.executable("League\ of\ Legends\ installer\ " + regionID + ".exe")
Expand Down

0 comments on commit fb331df

Please sign in to comment.