Skip to content

Commit

Permalink
Add Magic The Gathering Arena (PhoenicisOrg#937)
Browse files Browse the repository at this point in the history

* Update application.json

* Update script.json

* Update script.js

* Update script.js

* Update script.js

* Update script.js
  • Loading branch information
Kreyren authored and petermetz committed Jun 7, 2020
1 parent ee72f7e commit 94a9ebf
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Applications/Games/MagicTheGatheringArena/Online/script.js
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 Applications/Games/MagicTheGatheringArena/Online/script.json
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
}
5 changes: 5 additions & 0 deletions Applications/Games/MagicTheGatheringArena/application.json
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.

0 comments on commit 94a9ebf

Please sign in to comment.