Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Magic The Gathering Arena #937

Merged
merged 7 commits into from
May 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.