diff --git a/Applications/Games/MagicTheGatheringArena/Online/script.js b/Applications/Games/MagicTheGatheringArena/Online/script.js new file mode 100644 index 0000000000..f04846991c --- /dev/null +++ b/Applications/Games/MagicTheGatheringArena/Online/script.js @@ -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); diff --git a/Applications/Games/MagicTheGatheringArena/Online/script.json b/Applications/Games/MagicTheGatheringArena/Online/script.json new file mode 100644 index 0000000000..09a15a2f5a --- /dev/null +++ b/Applications/Games/MagicTheGatheringArena/Online/script.json @@ -0,0 +1,12 @@ +{ + "scriptName" : "Online", + "id" : "applications.games.magic_the_gathering_arena.online", + "compatibleOperatingSystems" : [ + "LINUX" + ], + "testingOperatingSystems" : [ + "LINUX" + ], + "free" : true, + "requiresPatch" : false +} diff --git a/Applications/Games/MagicTheGatheringArena/application.json b/Applications/Games/MagicTheGatheringArena/application.json new file mode 100644 index 0000000000..4283a94375 --- /dev/null +++ b/Applications/Games/MagicTheGatheringArena/application.json @@ -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)" +} diff --git a/Applications/Games/MagicTheGatheringArena/miniatures/main.png b/Applications/Games/MagicTheGatheringArena/miniatures/main.png new file mode 100644 index 0000000000..b437b0b277 Binary files /dev/null and b/Applications/Games/MagicTheGatheringArena/miniatures/main.png differ