forked from PhoenicisOrg/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Magic The Gathering Arena (PhoenicisOrg#937)
* Update application.json * Update script.json * Update script.js * Update script.js * Update script.js * Update script.js
- Loading branch information
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
Applications/Games/MagicTheGatheringArena/Online/script.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
include("engines.wine.quick_script.custom_installer_script"); | ||
include("engines.wine.verbs.dxvk"); | ||
include("engines.wine.plugins.UseTakeFocus") | ||
|
||
|
||
var installerImplementation = { | ||
run: function () { | ||
new OnlineInstallerScript() | ||
.name("Magic: The Gathering Arena") | ||
.applicationHomepage("https://magic.wizards.com/") | ||
.url("https://mtgarena.downloads.wizards.com/Live/Windows32/MTGAInstaller.exe") | ||
.author("KREYREN") | ||
.category("Games") | ||
.wineDistribution("staging") | ||
.wineVersion(LATEST_STAGING_VERSION) | ||
.preInstall(function (wine/*, wizard*/) { | ||
wine.DXVK(); | ||
wine.UseTakeFocus("N"); | ||
}) | ||
.executable("MTGAInstaller.exe") | ||
.go(); | ||
} | ||
}; | ||
|
||
/* exported Installer */ | ||
var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); |
12 changes: 12 additions & 0 deletions
12
Applications/Games/MagicTheGatheringArena/Online/script.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"scriptName" : "Online", | ||
"id" : "applications.games.magic_the_gathering_arena.online", | ||
"compatibleOperatingSystems" : [ | ||
"LINUX" | ||
], | ||
"testingOperatingSystems" : [ | ||
"LINUX" | ||
], | ||
"free" : true, | ||
"requiresPatch" : false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name" : "Magic: The Gathering Arena", | ||
"id" : "applications.games.magic_the_gathering_arena", | ||
"description" : "Magic: The Gathering Arena is a free-to-play digital collectible card game developed by Wizards of the Coast's internal development studio, Wizards Digital Games Studio.(Wikipedia)" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.