From 1791c28ddb26f8e758d46fd64b63463f260decb2 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Wed, 1 May 2019 11:48:14 +0200 Subject: [PATCH 01/11] Add files via upload --- Engines/Wine/Verbs/atmlib/script.js | 50 +++++++++++++++++++++++++++ Engines/Wine/Verbs/atmlib/script.json | 11 ++++++ 2 files changed, 61 insertions(+) create mode 100644 Engines/Wine/Verbs/atmlib/script.js create mode 100644 Engines/Wine/Verbs/atmlib/script.json diff --git a/Engines/Wine/Verbs/atmlib/script.js b/Engines/Wine/Verbs/atmlib/script.js new file mode 100644 index 0000000000..8b8070d03c --- /dev/null +++ b/Engines/Wine/Verbs/atmlib/script.js @@ -0,0 +1,50 @@ +include("engines.wine.engine.object"); +include("utils.functions.net.resource"); +include("utils.functions.filesystem.files"); + +/** +* Verb to install atmlib +* @returns {Wine} Wine object +*/ +Wine.prototype.atmlib = function () { + var setupFile = new Resource() + .wizard(this.wizard()) + .url("https://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/vendor/microsoft/win2000/Service_Packs/usa/W2KSP4_EN.EXE") + .checksum("fadea6d94a014b039839fecc6e6a11c20afa4fa8") + .name("W2ksp4_EN.exe") + .get(); + + new CabExtract() + .archive(setupFile) + .wizard(this.wizard()) + .to(this.system32directory()) + .extract(); + + new CabExtract() + .archive(this.system32directory() + "/i386/atmlib.dl_") + .wizard(this.wizard()) + .to(this.system32directory()) + .extract(); + + remove(this.system32directory() + "/i386/"); + + return this; +}; + +/** + * Verb to install atmlib +*/ +var verbImplementation = { + install: function (container) { + var wine = new Wine(); + wine.prefix(container); + var wizard = SetupWizard(InstallationType.VERBS, "atmlib", java.util.Optional.empty()); + wine.wizard(wizard); + wine.atmlib(); + wizard.close(); + } +}; + +/* exported Verb */ +var Verb = Java.extend(org.phoenicis.engines.Verb, verbImplementation); + diff --git a/Engines/Wine/Verbs/atmlib/script.json b/Engines/Wine/Verbs/atmlib/script.json new file mode 100644 index 0000000000..70cc4b033e --- /dev/null +++ b/Engines/Wine/Verbs/atmlib/script.json @@ -0,0 +1,11 @@ +{ + "scriptName" : "atmlib", + "id" : "engines.wine.verbs.atmlib", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : true, + "requiresPatch" : false +} From 25b45d5222aa96ee8d3546e3b1942a154a83b2d0 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:20:12 +0200 Subject: [PATCH 02/11] Update script.js Updated the way virtual desktop plugin is used. --- Applications/Games/Anno 2070/Local/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/Anno 2070/Local/script.js b/Applications/Games/Anno 2070/Local/script.js index 84495e3cd7..d33e46a7a5 100644 --- a/Applications/Games/Anno 2070/Local/script.js +++ b/Applications/Games/Anno 2070/Local/script.js @@ -17,8 +17,7 @@ new LocalInstallerScript() .wineVersion("3.16") .wineDistribution("upstream") .preInstall(function (wine) { - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); wine.crypt32(); wine.corefonts(); wine.d3dx10(); From 43932a3d7ecb4206a4d34d2009da767e59abb0ec Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:21:19 +0200 Subject: [PATCH 03/11] Update script.js --- Applications/Games/Anno 2070/Uplay/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/Anno 2070/Uplay/script.js b/Applications/Games/Anno 2070/Uplay/script.js index 1e4a4a70da..e06786875c 100644 --- a/Applications/Games/Anno 2070/Uplay/script.js +++ b/Applications/Games/Anno 2070/Uplay/script.js @@ -12,7 +12,6 @@ new UplayScript() .wineDistribution("upstream") .appId(22) .preInstall(function (wine /*, wizard*/) { - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); wine.corefonts(); }); From 8db0264c444dbd70a12144217331f4a095634c1c Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:23:49 +0200 Subject: [PATCH 04/11] Update script.js --- Applications/Games/PC Building Simulator/Steam/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/PC Building Simulator/Steam/script.js b/Applications/Games/PC Building Simulator/Steam/script.js index 99d02d1fdc..750dcc015c 100644 --- a/Applications/Games/PC Building Simulator/Steam/script.js +++ b/Applications/Games/PC Building Simulator/Steam/script.js @@ -20,7 +20,6 @@ new SteamScript() ) ); wine.corefonts(); - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); }) .gameOverlay(false); From 2cfd6761504dc0bcbb5f4857c5a1b7b9b2182aa1 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:24:57 +0200 Subject: [PATCH 05/11] Update script.js --- Applications/Games/Subnautica Below Zero/Steam/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/Subnautica Below Zero/Steam/script.js b/Applications/Games/Subnautica Below Zero/Steam/script.js index f6fd089332..7b415e70e7 100644 --- a/Applications/Games/Subnautica Below Zero/Steam/script.js +++ b/Applications/Games/Subnautica Below Zero/Steam/script.js @@ -22,7 +22,6 @@ new SteamScript() wine.vcrun2013(); wine.corefonts(); wine.DXVK(); - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); }) .gameOverlay(false); From 8b7a82a435d12569a6fb3706b910d55975d204e7 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:25:50 +0200 Subject: [PATCH 06/11] Update script.js --- Applications/Games/Subnautica/Steam/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/Subnautica/Steam/script.js b/Applications/Games/Subnautica/Steam/script.js index 15bd4550a5..c084fd03a1 100644 --- a/Applications/Games/Subnautica/Steam/script.js +++ b/Applications/Games/Subnautica/Steam/script.js @@ -22,8 +22,7 @@ new SteamScript() wine.vcrun2013(); wine.corefonts(); wine.DXVK(); - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); }) .postInstall(function (wine, wizard) { wizard.message( From b1b30acdd4f1fd13e751084c1f3e61bb64776336 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:27:42 +0200 Subject: [PATCH 07/11] Update script.js --- Applications/Games/Wildlife Park 2/Local/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/Wildlife Park 2/Local/script.js b/Applications/Games/Wildlife Park 2/Local/script.js index 07111192b4..00ae2b32a5 100644 --- a/Applications/Games/Wildlife Park 2/Local/script.js +++ b/Applications/Games/Wildlife Park 2/Local/script.js @@ -16,6 +16,5 @@ new LocalInstallerScript() ) ); wine.quartz(); - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); }); From c21fb41e988fa1df3eb0864c6320442eae2e7f30 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 18 Aug 2019 12:28:14 +0200 Subject: [PATCH 08/11] Update script.js --- Applications/Games/Wildlife Park 2/Steam/script.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Applications/Games/Wildlife Park 2/Steam/script.js b/Applications/Games/Wildlife Park 2/Steam/script.js index ed7196b4a0..9170435d04 100644 --- a/Applications/Games/Wildlife Park 2/Steam/script.js +++ b/Applications/Games/Wildlife Park 2/Steam/script.js @@ -15,7 +15,6 @@ new SteamScript() ) ); wine.quartz(); - var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize(); - wine.setVirtualDesktop(screenSize.width, screenSize.height); + wine.setVirtualDesktop(); }) .gameOverlay(false); From 24a4336d0f1d6a94e605f2acc7534b79987c6f60 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sat, 24 Aug 2019 14:55:06 +0200 Subject: [PATCH 09/11] Add files via upload --- Applications/Development/Notepad++/Online/script.js | 11 +++++++++++ Applications/Development/Notepad++/Online/script.json | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 Applications/Development/Notepad++/Online/script.js create mode 100644 Applications/Development/Notepad++/Online/script.json diff --git a/Applications/Development/Notepad++/Online/script.js b/Applications/Development/Notepad++/Online/script.js new file mode 100644 index 0000000000..66db404d46 --- /dev/null +++ b/Applications/Development/Notepad++/Online/script.js @@ -0,0 +1,11 @@ +const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); + +new OnlineInstallerScript() + .name("Notepad++") + .editor("Notepad++") + .applicationHomepage("https://notepad-plus-plus.org/") + .author("Quentin PÂRIS") + .url("https://notepad-plus-plus.org/repository/7.x/7.7.1/npp.7.7.1.Installer.exe") + .checksum("071a81782d88810b0084bd2162c67cf0ff3ad13f") + .category("Development") + .executable("Notepad++.exe"); diff --git a/Applications/Development/Notepad++/Online/script.json b/Applications/Development/Notepad++/Online/script.json new file mode 100644 index 0000000000..aef440db50 --- /dev/null +++ b/Applications/Development/Notepad++/Online/script.json @@ -0,0 +1,11 @@ +{ + "scriptName" : "Online", + "id" : "applications.development.notepad_plus_plus.online", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : true, + "requiresPatch" : false +} From fdc7b91dbe8ca767c3225ae34bf1d11843733d66 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sat, 24 Aug 2019 14:55:36 +0200 Subject: [PATCH 10/11] Delete script.js --- Applications/Development/Notepad++/v7.2.2/script.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 Applications/Development/Notepad++/v7.2.2/script.js diff --git a/Applications/Development/Notepad++/v7.2.2/script.js b/Applications/Development/Notepad++/v7.2.2/script.js deleted file mode 100644 index b3f33a5589..0000000000 --- a/Applications/Development/Notepad++/v7.2.2/script.js +++ /dev/null @@ -1,11 +0,0 @@ -const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); - -new OnlineInstallerScript() - .name("Notepad++") - .editor("Notepad++") - .applicationHomepage("https://notepad-plus-plus.org/") - .author("Quentin PÂRIS") - .url("https://notepad-plus-plus.org/repository/7.x/7.2.2/npp.7.2.2.Installer.exe") - .checksum("fc20ea01bd98db48b2ff886709e95a4520cfd28c") - .category("Development") - .executable("Notepad++.exe"); From fbaa7f118dc99541b8173df62d633a5b271545d6 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sat, 24 Aug 2019 14:55:45 +0200 Subject: [PATCH 11/11] Delete script.json --- Applications/Development/Notepad++/v7.2.2/script.json | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 Applications/Development/Notepad++/v7.2.2/script.json diff --git a/Applications/Development/Notepad++/v7.2.2/script.json b/Applications/Development/Notepad++/v7.2.2/script.json deleted file mode 100644 index 48fdb2e7a0..0000000000 --- a/Applications/Development/Notepad++/v7.2.2/script.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "scriptName" : "v.7.2.2", - "id" : "applications.development.notepad_plus_plus.v_7_2_2", - "compatibleOperatingSystems" : [ - "MACOSX", - "LINUX" - ], - "testingOperatingSystems" : [], - "free" : true, - "requiresPatch" : false -}