From 3c490341f8e801585776c4bdd9125910af3c0607 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Wed, 5 Jun 2019 16:43:57 -0500 Subject: [PATCH] Add Uplay option for AC2 --- .../Games/Assassin's Creed II/Uplay/script.js | 15 +++++++++++++++ .../Games/Assassin's Creed II/Uplay/script.json | 10 ++++++++++ 2 files changed, 25 insertions(+) create mode 100644 Applications/Games/Assassin's Creed II/Uplay/script.js create mode 100644 Applications/Games/Assassin's Creed II/Uplay/script.json diff --git a/Applications/Games/Assassin's Creed II/Uplay/script.js b/Applications/Games/Assassin's Creed II/Uplay/script.js new file mode 100644 index 0000000000..1eaffc713e --- /dev/null +++ b/Applications/Games/Assassin's Creed II/Uplay/script.js @@ -0,0 +1,15 @@ +include("engines.wine.quick_script.uplay_script"); + +var installerImplementation = { + run: function () { + new UplayScript() + .name("Assassin's Creed") + .editor("Ubisoft, Gameloft, Ubisoft Montreal, Blue Byte, MORE") + .applicationHomepage("https://www.ubisoft.com/en-us/game/assassins-creed") + .author("KREYREN") + .appId(4) + .go(); +}; + +/* exported Installer */ +var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation); diff --git a/Applications/Games/Assassin's Creed II/Uplay/script.json b/Applications/Games/Assassin's Creed II/Uplay/script.json new file mode 100644 index 0000000000..559927d7a0 --- /dev/null +++ b/Applications/Games/Assassin's Creed II/Uplay/script.json @@ -0,0 +1,10 @@ +{ + "scriptName" : "Uplay", + "id" : "applications.games.assassins_creed_2.uplay", + "compatibleOperatingSystems" : [ + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : false, + "requiresPatch" : false +}