diff --git a/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js b/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js index 11a3195d94..ecf1837fb5 100644 --- a/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js +++ b/Applications/Games/Age of Empires III: Complete Collection/Steam/script.js @@ -1,6 +1,6 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); include("engines.wine.plugins.override_dll"); -include("engines.wine.verbs.mfc42"); +const Mfc42 = include("engines.wine.verbs.mfc42"); new SteamScript() .name("Age of Empires® III: Complete Collection") @@ -8,9 +8,9 @@ new SteamScript() .author("Quentin PARIS") .appId(105450) .postInstall(function (wine /*, wizard*/) { - wine.mfc42(); - wine - .overrideDLL() + new Mfc42(wine).go(); + + wine.overrideDLL() .set("native, builtin", ["pidgen"]) .do(); }); diff --git a/Applications/Games/Anno 2070/Local/script.js b/Applications/Games/Anno 2070/Local/script.js index d33e46a7a5..aea813fcf5 100644 --- a/Applications/Games/Anno 2070/Local/script.js +++ b/Applications/Games/Anno 2070/Local/script.js @@ -1,11 +1,11 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); -const {touch, writeToFile, chmod} = include("utils.functions.filesystem.files"); +const { touch, writeToFile, chmod } = include("utils.functions.filesystem.files"); include("engines.wine.plugins.virtual_desktop"); include("engines.wine.plugins.override_dll"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.crypt32"); -include("engines.wine.verbs.d3dx10"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const Crypt32 = include("engines.wine.verbs.crypt32"); +const D3DX10 = include("engines.wine.verbs.d3dx10"); new LocalInstallerScript() .name("Anno 2070") @@ -18,11 +18,10 @@ new LocalInstallerScript() .wineDistribution("upstream") .preInstall(function (wine) { wine.setVirtualDesktop(); - wine.crypt32(); - wine.corefonts(); - wine.d3dx10(); - wine - .overrideDLL() + new Crypt32(wine).go(); + new Corefonts(wine).go(); + new D3DX10(wine).go(); + wine.overrideDLL() .set("native, builtin", ["winhttp", "msvcrt40", "msvcr100", "crypt32"]) .do(); }) diff --git a/Applications/Games/Anno 2070/Uplay/script.js b/Applications/Games/Anno 2070/Uplay/script.js index e06786875c..44ed3dd27e 100644 --- a/Applications/Games/Anno 2070/Uplay/script.js +++ b/Applications/Games/Anno 2070/Uplay/script.js @@ -1,6 +1,6 @@ const UplayScript = include("engines.wine.quick_script.uplay_script"); -include("engines.wine.verbs.corefonts"); +const Corefonts = include("engines.wine.verbs.corefonts"); include("engines.wine.plugins.virtual_desktop"); new UplayScript() @@ -13,5 +13,5 @@ new UplayScript() .appId(22) .preInstall(function (wine /*, wizard*/) { wine.setVirtualDesktop(); - wine.corefonts(); + new Corefonts(wine).go(); }); diff --git a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js index af3a61e84a..b5748e78a7 100644 --- a/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js +++ b/Applications/Games/Assassin's Creed IV Black Flag/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Assassin’s Creed® IV Black Flag™") @@ -12,5 +12,5 @@ new SteamScript() .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { // the automatically installed Uplay version does not update properly - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Assassin's Creed Revelations/Steam/script.js b/Applications/Games/Assassin's Creed Revelations/Steam/script.js index c155e4f1f3..791b6f560b 100644 --- a/Applications/Games/Assassin's Creed Revelations/Steam/script.js +++ b/Applications/Games/Assassin's Creed Revelations/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Assassin's Creed® Revelations") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js index 7bfe4d26d2..e0bd6b60cc 100644 --- a/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js +++ b/Applications/Games/Assassin's Creed: Brotherhood/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Assassin’s Creed® Brotherhood") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Audiosurf/Steam/script.js b/Applications/Games/Audiosurf/Steam/script.js index fa19015cb3..f6dc7c2a25 100644 --- a/Applications/Games/Audiosurf/Steam/script.js +++ b/Applications/Games/Audiosurf/Steam/script.js @@ -1,7 +1,8 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.quicktime76"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.tahoma"); + +const QuickTime76 = include("engines.wine.verbs.quicktime76"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const Tahoma = include("engines.wine.verbs.tahoma"); new SteamScript() .name("Audiosurf") @@ -9,7 +10,7 @@ new SteamScript() .author("Brainzyy") .appId(12900) .preInstall(function (wine /*, wizard*/) { - wine.quicktime76(); - wine.corefonts(); - wine.tahoma(); + new QuickTime76(wine).go(); + new Corefonts(wine).go(); + new Tahoma(wine).go(); }); diff --git a/Applications/Games/Blizzard app/Online/script.js b/Applications/Games/Blizzard app/Online/script.js index 1c87463cb7..2c50620cf2 100644 --- a/Applications/Games/Blizzard app/Online/script.js +++ b/Applications/Games/Blizzard app/Online/script.js @@ -1,6 +1,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.corefonts"); + +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("Blizzard app") @@ -15,6 +16,6 @@ new OnlineInstallerScript() .wineVersion("3.19") .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { - wine.vcrun2015(); - wine.corefonts(); + new Vcrun2015(wine).go(); + new Corefonts(wine).go(); }); diff --git a/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js b/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js index 79babe2b94..cf77e55e82 100644 --- a/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js +++ b/Applications/Games/Command and Conquer - Tiberium Wars/Local/script.js @@ -3,7 +3,7 @@ const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); include("engines.wine.plugins.csmt"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.d3dx9"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new LocalInstallerScript() .name("Command and Conquer - Tiberium Wars") @@ -15,6 +15,6 @@ new LocalInstallerScript() .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { wine.windowsVersion("winxp"); - wine.d3dx9(); + new D3DX9(wine).go(); wine.enableCSMT(); }); diff --git a/Applications/Games/DC Universe Online/Online/script.js b/Applications/Games/DC Universe Online/Online/script.js index 57328bdc1d..f3d14e1dab 100644 --- a/Applications/Games/DC Universe Online/Online/script.js +++ b/Applications/Games/DC Universe Online/Online/script.js @@ -1,6 +1,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -include("engines.wine.verbs.vcrun2012"); -include("engines.wine.verbs.d3dx9"); + +const Vcrun2012 = include("engines.wine.verbs.vcrun2012"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new OnlineInstallerScript() .name("DC Universe Online") @@ -11,6 +12,6 @@ new OnlineInstallerScript() .category("Games") .executable("LaunchPad.exe") .preInstall(function (wine /*, wizard*/) { - wine.vcrun2012(); - wine.d3dx9(); + new Vcrun2012(wine).go(); + new D3DX9(wine).go(); }); diff --git a/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js b/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js index 3aa44d3ab8..619ac527b6 100644 --- a/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js +++ b/Applications/Games/Earth Eternal - Valkal's Shadow/Online/script.js @@ -1,10 +1,10 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.d3dx9"); -include("engines.wine.verbs.vcrun2008"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); +const Vcrun2008 = include("engines.wine.verbs.vcrun2008"); new OnlineInstallerScript() .name("Earth Eternal - Valkal's Shadow") @@ -19,7 +19,7 @@ new OnlineInstallerScript() .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { wine.windowsVersion("winxp"); - wine.corefonts(); - wine.d3dx9(); - wine.vcrun2008(); + new Corefonts(wine).go(); + new D3DX9(wine).go(); + new Vcrun2008(wine).go(); }); diff --git a/Applications/Games/Elite:Dangerous/Steam/script.js b/Applications/Games/Elite:Dangerous/Steam/script.js index f11e544a7d..a246f38f40 100644 --- a/Applications/Games/Elite:Dangerous/Steam/script.js +++ b/Applications/Games/Elite:Dangerous/Steam/script.js @@ -1,9 +1,9 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.dotnet45"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.dxvk"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const DotNET45 = include("engines.wine.verbs.dotnet45"); +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const DXVK = include("engines.wine.verbs.dxvk"); new SteamScript() .name("Elite:Dangerous") @@ -11,9 +11,9 @@ new SteamScript() .author("ImperatorS79") .wineArchitecture("amd64") .preInstall(function (wine /*, wizard*/) { - wine.dotnet45(); - wine.corefonts(); - wine.vcrun2015(); - wine.DXVK(); + new DotNET45(wine).go(); + new Corefonts(wine).go(); + new Vcrun2015(wine).go(); + new DXVK(wine).go(); }) .appId(359320); diff --git a/Applications/Games/Far Cry 2/Steam/script.js b/Applications/Games/Far Cry 2/Steam/script.js index 537ca09e13..7a01f71ba2 100644 --- a/Applications/Games/Far Cry 2/Steam/script.js +++ b/Applications/Games/Far Cry 2/Steam/script.js @@ -1,8 +1,8 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.csmt"); -include("engines.wine.verbs.secur32"); +const Secur32 = include("engines.wine.verbs.secur32"); new SteamScript() .name("Far Cry® 2") @@ -12,6 +12,6 @@ new SteamScript() .wineDistribution("staging") .appId(19900) .preInstall(function (wine /*, wizard*/) { - wine.secur32(); + new Secur32(wine).go(); wine.enableCSMT(); }); diff --git a/Applications/Games/GOG Galaxy/Online/script.js b/Applications/Games/GOG Galaxy/Online/script.js index cac6089505..44cfd37bce 100644 --- a/Applications/Games/GOG Galaxy/Online/script.js +++ b/Applications/Games/GOG Galaxy/Online/script.js @@ -1,10 +1,10 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -const {remove, lns} = include("utils.functions.filesystem.files"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); +const { remove, lns } = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.vcrun2017"); -include("engines.wine.verbs.xact"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const Vcrun2017 = include("engines.wine.verbs.vcrun2017"); +const Xact = include("engines.wine.verbs.xact"); new OnlineInstallerScript() .name("GOG Galaxy") @@ -19,9 +19,11 @@ new OnlineInstallerScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { - wine.corefonts(); - wine.vcrun2017(); // Probably needed for self-updater - wine.xact(); // Required by a couple of games + new Corefonts(wine).go(); + // Probably needed for self-updater + new Vcrun2017(wine).go(); + // Required by a couple of games + new Xact(wine).go(); // GOG Galaxy doesn't properly install without a symlink between // drive_c/ProgramData and drive_c/users/Public diff --git a/Applications/Games/Hearthstone/Online/script.js b/Applications/Games/Hearthstone/Online/script.js index d03168076d..981ee1780e 100644 --- a/Applications/Games/Hearthstone/Online/script.js +++ b/Applications/Games/Hearthstone/Online/script.js @@ -1,8 +1,8 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.corefonts"); +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("Hearthstone") @@ -15,6 +15,6 @@ new OnlineInstallerScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { - wine.vcrun2015(); - wine.corefonts(); + new Vcrun2015(wine).go(); + new Corefonts(wine).go(); }); diff --git a/Applications/Games/Heroes of the Storm/Online/script.js b/Applications/Games/Heroes of the Storm/Online/script.js index e96431a03c..820adfc8db 100644 --- a/Applications/Games/Heroes of the Storm/Online/script.js +++ b/Applications/Games/Heroes of the Storm/Online/script.js @@ -1,9 +1,9 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.corefonts"); +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("Heroes of the Storm") @@ -13,11 +13,12 @@ new OnlineInstallerScript() .url("https://eu.battle.net/download/getInstaller?os=win&installer=Heroes-of-the-Storm-Setup.exe") .category("Games") .executable("Heroes of the Storm.exe") -//The checksum is different each time you download + //The checksum is different each time you download .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { wine.windowsVersion("winxp"); - wine.vcrun2015(); - wine.corefonts(); + + new Vcrun2015(wine).go(); + new Corefonts(wine).go(); }); diff --git a/Applications/Games/It came from space and ate our brains/Steam/script.js b/Applications/Games/It came from space and ate our brains/Steam/script.js index dbc54270cd..4e34bbdccb 100644 --- a/Applications/Games/It came from space and ate our brains/Steam/script.js +++ b/Applications/Games/It came from space and ate our brains/Steam/script.js @@ -1,6 +1,6 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.d3dx10"); +const D3DX10 = include("engines.wine.verbs.d3dx10"); new SteamScript() .name("It came from space, and ate our brains") @@ -8,5 +8,5 @@ new SteamScript() .author("madoar") .appId(342620) .preInstall(function (wine /*, wizard*/) { - wine.d3dx10(); + new D3DX10(wine).go(); }); diff --git a/Applications/Games/League of Legends/Online/script.js b/Applications/Games/League of Legends/Online/script.js index 30590ba83d..91f235e9b1 100644 --- a/Applications/Games/League of Legends/Online/script.js +++ b/Applications/Games/League of Legends/Online/script.js @@ -6,8 +6,7 @@ const Resource = include("utils.functions.net.resource"); include("engines.wine.plugins.csmt"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.sandbox"); -include("engines.wine.verbs.d3dx9"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); // Installs League of Legends @@ -100,7 +99,7 @@ new CustomInstallerScript() .wineVersion(LATEST_STAGING_VERSION) .preInstall(function (wine /*, wizard*/) { wine.windowsVersion("winxp"); - wine.d3dx9(); + new D3DX9(wine).go(); wine .overrideDLL() .set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120", "msvcp140"]) diff --git a/Applications/Games/Lego Rock Raiders/Local/script.js b/Applications/Games/Lego Rock Raiders/Local/script.js index e3babe66ac..86bd86fe0b 100644 --- a/Applications/Games/Lego Rock Raiders/Local/script.js +++ b/Applications/Games/Lego Rock Raiders/Local/script.js @@ -1,11 +1,11 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); const Downloader = include("utils.functions.net.download"); -const {Extractor} = include("utils.functions.filesystem.extract"); +const { Extractor } = include("utils.functions.filesystem.extract"); -include("engines.wine.verbs.amstream"); -include("engines.wine.verbs.quartz"); -include("engines.wine.verbs.devenum"); -include("engines.wine.verbs.d3drm"); +const Amstream = include("engines.wine.verbs.amstream"); +const Quartz = include("engines.wine.verbs.quartz"); +const Devenum = include("engines.wine.verbs.devenum"); +const D3drm = include("engines.wine.verbs.d3drm"); new LocalInstallerScript() .name("Lego Rock Raiders") @@ -16,10 +16,11 @@ new LocalInstallerScript() .wineVersion("3.0.3") .wineDistribution("upstream") .preInstall(function (wine, wizard) { - wine.amstream(); - wine.quartz(); - wine.devenum(); - wine.d3drm(); + new Amstream(wine).go(); + new Quartz(wine).go(); + new Devenum(wine).go(); + new D3drm(wine).go(); + wizard.message(tr("When the game ask to install DirectX Media click yes. Click no when it ask for DirectX 6.")); }) .postInstall(function (wine, wizard) { diff --git a/Applications/Games/Magic The Gathering Arena/Online/script.js b/Applications/Games/Magic The Gathering Arena/Online/script.js index 86875a4569..7358800662 100644 --- a/Applications/Games/Magic The Gathering Arena/Online/script.js +++ b/Applications/Games/Magic The Gathering Arena/Online/script.js @@ -1,7 +1,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.dxvk"); +const DXVK = include("engines.wine.verbs.dxvk"); include("engines.wine.plugins.usetakefocus"); new OnlineInstallerScript() @@ -13,7 +13,7 @@ new OnlineInstallerScript() .wineDistribution("staging") .wineVersion(LATEST_STAGING_VERSION) .preInstall(function (wine /*, wizard*/) { - wine.DXVK(); + new DXVK(wine).go(); wine.UseTakeFocus("N"); }) .executable("MtgaLauncher.exe"); diff --git a/Applications/Games/Mirror's Edge/Steam/script.js b/Applications/Games/Mirror's Edge/Steam/script.js index 31485b018d..19df757bcf 100644 --- a/Applications/Games/Mirror's Edge/Steam/script.js +++ b/Applications/Games/Mirror's Edge/Steam/script.js @@ -1,6 +1,6 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); include("engines.wine.plugins.managed"); -include("engines.wine.verbs.physx"); +const PhysX = include("engines.wine.verbs.physx"); new SteamScript() .name("Mirror's Edge™") @@ -8,9 +8,9 @@ new SteamScript() .author("Plata") .appId(17410) .preInstall(function (wine /*, wizard*/) { - wine.physx(); - wine - .setManagedForApplication() + new PhysX(wine).go(); + + wine.setManagedForApplication() .set("MirrorsEdge.exe", false) .do(); }); diff --git a/Applications/Games/Niko: Through The Dream/Steam/script.js b/Applications/Games/Niko: Through The Dream/Steam/script.js index ae4933a52d..34903db857 100644 --- a/Applications/Games/Niko: Through The Dream/Steam/script.js +++ b/Applications/Games/Niko: Through The Dream/Steam/script.js @@ -1,6 +1,6 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); include("engines.wine.plugins.managed"); -include("engines.wine.verbs.dotnet40"); +const DotNET40 = include("engines.wine.verbs.dotnet40"); new SteamScript() .name("Niko: Through The Dream") @@ -8,7 +8,7 @@ new SteamScript() .author("Plata") .appId(296550) .postInstall(function (wine /*, wizard*/) { - wine.dotnet40(); + new DotNET40(wine).go(); wine .setManagedForApplication() .set("NIKO.exe", false) diff --git a/Applications/Games/Overwatch/Online/script.js b/Applications/Games/Overwatch/Online/script.js index bd61d6a9fa..6d7424d44c 100644 --- a/Applications/Games/Overwatch/Online/script.js +++ b/Applications/Games/Overwatch/Online/script.js @@ -1,11 +1,11 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.override_dll"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.dxvk"); +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const DXVK = include("engines.wine.verbs.dxvk"); new OnlineInstallerScript() .name("Overwatch") @@ -13,7 +13,7 @@ new OnlineInstallerScript() .applicationHomepage("http://www.playoverwatch.com/") .author("ImperatorS79, kreyren") .url("https://eu.battle.net/download/getInstaller?os=win&installer=Overwatch-Setup.exe") -//The checksum is different each time you download + //The checksum is different each time you download .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .wineArchitecture("amd64") @@ -21,11 +21,13 @@ new OnlineInstallerScript() .executable("Battle.net.exe") .preInstall(function (wine /*, wizard*/) { wine.windowsVersion("win7"); - wine.vcrun2015(); - wine.corefonts(); - wine - .overrideDLL() + + new Vcrun2015(wine).go(); + new Corefonts(wine).go(); + + wine.overrideDLL() .set("disabled", ["nvapi", "nvapi64"]) .do(); - wine.DXVK(); + + new DXVK(wine).go(); }); diff --git a/Applications/Games/PC Building Simulator/Steam/script.js b/Applications/Games/PC Building Simulator/Steam/script.js index 750dcc015c..45231debb7 100644 --- a/Applications/Games/PC Building Simulator/Steam/script.js +++ b/Applications/Games/PC Building Simulator/Steam/script.js @@ -2,7 +2,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions"); include("engines.wine.plugins.virtual_desktop"); -include("engines.wine.verbs.corefonts"); +const Corefonts = include("engines.wine.verbs.corefonts"); new SteamScript() @@ -19,7 +19,7 @@ new SteamScript() "The game is functional but benchmark animations on the monitors are not displayed. Feel free to drop a feedback if you know how to fix this issue." ) ); - wine.corefonts(); + new Corefonts(wine).go(); wine.setVirtualDesktop(); }) .gameOverlay(false); diff --git a/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js b/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js index 533f2c7e67..0206194f73 100644 --- a/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js +++ b/Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js @@ -1,5 +1,5 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.dotnet40"); +const DotNET40 = include("engines.wine.verbs.dotnet40"); new SteamScript() .name("QUBE: Director's Cut") @@ -7,5 +7,5 @@ new SteamScript() .author("Plata") .appId(239430) .preInstall(function (wine /*, wizard*/) { - wine.dotnet40(); + new DotNET40(wine).go(); }); diff --git a/Applications/Games/Quantum Conundrum/Steam/script.js b/Applications/Games/Quantum Conundrum/Steam/script.js index 089952c418..11805b14aa 100644 --- a/Applications/Games/Quantum Conundrum/Steam/script.js +++ b/Applications/Games/Quantum Conundrum/Steam/script.js @@ -1,5 +1,6 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.vcrun2008"); + +const Vcrun2008 = include("engines.wine.verbs.vcrun2008"); new SteamScript() .name("Quantum Conundrum") @@ -7,5 +8,5 @@ new SteamScript() .author("Plata") .appId(200010) .preInstall(function (wine /*, wizard*/) { - wine.vcrun2008(); + new Vcrun2008(wine).go(); }); diff --git a/Applications/Games/Rayman Legends/Steam (Demo)/script.js b/Applications/Games/Rayman Legends/Steam (Demo)/script.js index 4658717b7d..6c3f832b2d 100644 --- a/Applications/Games/Rayman Legends/Steam (Demo)/script.js +++ b/Applications/Games/Rayman Legends/Steam (Demo)/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Rayman® Legends (Demo)") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Rayman Legends/Steam/script.js b/Applications/Games/Rayman Legends/Steam/script.js index e6208af6c4..e927f232ae 100644 --- a/Applications/Games/Rayman Legends/Steam/script.js +++ b/Applications/Games/Rayman Legends/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Rayman® Legends") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/RimWorld/Local/script.js b/Applications/Games/RimWorld/Local/script.js index 950289572b..59706c713d 100644 --- a/Applications/Games/RimWorld/Local/script.js +++ b/Applications/Games/RimWorld/Local/script.js @@ -1,7 +1,8 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); -include("engines.wine.verbs.vcrun2017"); -include("engines.wine.verbs.d3dx9"); -include("engines.wine.verbs.corefonts"); + +const Vcrun2017 = include("engines.wine.verbs.vcrun2017"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); +const Corefonts = include("engines.wine.verbs.corefonts"); new LocalInstallerScript() .name("RimWorld") @@ -11,7 +12,7 @@ new LocalInstallerScript() .wineArchitecture("amd64") .executable("RimWorld.exe") .preInstall(function (wine) { - wine.vcrun2017(); - wine.d3dx9(); - wine.corefonts(); + new Vcrun2017(wine).go(); + new D3DX9(wine).go(); + new Corefonts(wine).go(); }); diff --git a/Applications/Games/RimWorld/Steam/script.js b/Applications/Games/RimWorld/Steam/script.js index 90c3da90b5..a862281515 100644 --- a/Applications/Games/RimWorld/Steam/script.js +++ b/Applications/Games/RimWorld/Steam/script.js @@ -1,7 +1,8 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.vcrun2017"); -include("engines.wine.verbs.d3dx9"); -include("engines.wine.verbs.corefonts"); + +const Vcrun2017 = include("engines.wine.verbs.vcrun2017"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); +const Corefonts = include("engines.wine.verbs.corefonts"); new SteamScript() .name("RimWorld") @@ -11,7 +12,7 @@ new SteamScript() .wineArchitecture("amd64") .appId(294100) .preInstall(function (wine) { - wine.corefonts(); - wine.vcrun2017(); - wine.d3dx9(); + new Corefonts(wine).go(); + new Vcrun2017(wine).go(); + new D3DX9(wine).go(); }); diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js index d265e1c33d..37682923cb 100644 --- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js +++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Local/script.js @@ -1,7 +1,7 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); const Downloader = include("utils.functions.net.download"); -include("engines.wine.verbs.d3dx9"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new LocalInstallerScript() .name("STAR WARS™ Empire at War: Gold Pack") @@ -10,7 +10,7 @@ new LocalInstallerScript() .category("Games") .executable("LaunchEAW.exe") .preInstall(function (wine/*, wizard */) { - wine.d3dx9(); + new D3DX9(wine).go(); }) .postInstall(function (wine, wizard) { new Downloader() diff --git a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js index 8cebbd2e77..11a2dade4c 100644 --- a/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js +++ b/Applications/Games/STAR WARS - Empire at War - Gold Pack/Steam/script.js @@ -1,5 +1,5 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.d3dx9"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new SteamScript() .name("STAR WARS™ Empire at War: Gold Pack") @@ -7,5 +7,5 @@ new SteamScript() .author("ImperatorS79") .appId(32470) .preInstall(function (wine /*, wizard*/) { - wine.d3dx9(); + new D3DX9(wine).go(); }); diff --git a/Applications/Games/STAR WARS: The Old Republic/Online/script.js b/Applications/Games/STAR WARS: The Old Republic/Online/script.js index fa807d6d67..dda359d21b 100644 --- a/Applications/Games/STAR WARS: The Old Republic/Online/script.js +++ b/Applications/Games/STAR WARS: The Old Republic/Online/script.js @@ -2,7 +2,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installe const {writeToFile} = include("utils.functions.filesystem.files"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.d3dx9"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new OnlineInstallerScript() .name("STAR WARS™: The Old Republic") @@ -17,7 +17,7 @@ new OnlineInstallerScript() .executable("launcher.exe") .preInstall(function (wine /*, wizard*/) { //it seems it brings better performance - wine.d3dx9(); + new D3DX9(wine).go(); }) .postInstall(function (wine /*, wizard*/) { //without that the launcher is unable to download the game diff --git a/Applications/Games/Space Colony/Steam/script.js b/Applications/Games/Space Colony/Steam/script.js index f46597bd02..9f5f70824a 100644 --- a/Applications/Games/Space Colony/Steam/script.js +++ b/Applications/Games/Space Colony/Steam/script.js @@ -1,9 +1,9 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_DEVELOPMENT_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.vcrun2010"); -include("engines.wine.verbs.dotnet40"); -include("engines.wine.verbs.d3dx9"); +const Vcrun2010 = include("engines.wine.verbs.vcrun2010"); +const DotNET40 = include("engines.wine.verbs.dotnet40"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new SteamScript() .name("Space Colony") @@ -13,7 +13,7 @@ new SteamScript() .wineVersion(LATEST_DEVELOPMENT_VERSION) .appId(297920) .preInstall(function (wine) { - wine.vcrun2010(); - wine.dotnet40(); - wine.d3dx9(); + new Vcrun2010(wine).go(); + new DotNET40(wine).go(); + new D3DX9(wine).go(); }); diff --git a/Applications/Games/Space Engineers/Steam/script.js b/Applications/Games/Space Engineers/Steam/script.js index 2179ddf4c6..1d194da5c4 100644 --- a/Applications/Games/Space Engineers/Steam/script.js +++ b/Applications/Games/Space Engineers/Steam/script.js @@ -1,27 +1,53 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.dotnet472"); -include("engines.wine.verbs.vcrun2017"); -include("engines.wine.verbs.dxvk"); -include("engines.wine.verbs.faudio"); + +const DotNET472 = include("engines.wine.verbs.dotnet472"); +const Vcrun2017 = include("engines.wine.verbs.vcrun2017"); +const DXVK = include("engines.wine.verbs.dxvk"); +const FAudio = include("engines.wine.verbs.faudio"); include("engines.wine.plugins.override_dll"); new SteamScript() .name("Space Engineers") .editor("Keen Software House") .author("Zemogiter") - .appId(244850) - .wineVersion("4.11") + .appId("244850") + .wineVersion("4.14") .wineDistribution("upstream") .wineArchitecture("amd64") .preInstall(function (wine, wizard) { - wine.dotnet472(); - wine.vcrun2017(); - wine.DXVK(); - wine.faudio(); + new DotNET472(wine).go(); + new Vcrun2017(wine).go(); + new DXVK(wine).go(); + new FAudio(wine).go(); wine.overrideDLL() - .set("native, builtin", ["msvcr120", "xaudio2_0", "xaudio2_1", "xaudio2_2", "xaudio2_3", "xaudio2_4", "xaudio2_5", "xaudio2_6", "xaudio2_7", "xaudio2_8", "xaudio2_9", "x3daudio1_3", "x3daudio1_4", "x3daudio1_5", "x3daudio1_6", "x3daudio1_7"]) + .set("native, builtin", [ + "msvcr120", + "xaudio2_0", + "xaudio2_1", + "xaudio2_2", + "xaudio2_3", + "xaudio2_4", + "xaudio2_5", + "xaudio2_6", + "xaudio2_7", + "xaudio2_8", + "xaudio2_9", + "x3daudio1_3", + "x3daudio1_4", + "x3daudio1_5", + "x3daudio1_6", + "x3daudio1_7" + ]) .do(); - wizard.message(tr("You have to install libjpeg62 and libjpeg62-dev or else the thumbnails in New Game menu will be dispalyed as magenta rectangles.")); - wizard.message(tr("Due to JIT compiler issues and the way this game uses multithreating, there are audio stutters. This script will attempt to minimize them but you might also have to enter the alsoft-conf command in terminal and set sample depth to 32bit float and period size to 2048.")); + wizard.message( + tr( + "You have to install libjpeg62 and libjpeg62-dev or else the thumbnails in New Game menu will be dispalyed as magenta rectangles." + ) + ); + wizard.message( + tr( + "Due to JIT compiler issues and the way this game uses multithreating, there are audio stutters. This script will attempt to minimize them but you might also have to enter the alsoft-conf command in terminal and set sample depth to 32bit float and period size to 2048." + ) + ); }) - .executable("Steam.exe", ["-silent", "-applaunch", 244850, "-no-ces-sandbox", "-skipintro"]) + .executable("Steam.exe", ["-silent", "-applaunch", "244850", "-no-cef-sandbox", "-skipintro"]); diff --git a/Applications/Games/Sprouts Adventure/Local/script.js b/Applications/Games/Sprouts Adventure/Local/script.js index 84255cbe93..4860a3a656 100644 --- a/Applications/Games/Sprouts Adventure/Local/script.js +++ b/Applications/Games/Sprouts Adventure/Local/script.js @@ -1,5 +1,5 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); -include("engines.wine.verbs.vcrun2005"); +const Vcrun2005 = include("engines.wine.verbs.vcrun2005"); new LocalInstallerScript() .name("Sprouts Adventure") @@ -12,5 +12,6 @@ new LocalInstallerScript() wizard.message( tr("This game requires winebind (for Ubuntu) or samba and libwbclient/lib32-libwbclient (for Arch Linux).") ); - wine.vcrun2005(); + + new Vcrun2005(wine).go(); }); diff --git a/Applications/Games/Star Craft II/Online/script.js b/Applications/Games/Star Craft II/Online/script.js index 1cec491f82..24d33e1c0f 100644 --- a/Applications/Games/Star Craft II/Online/script.js +++ b/Applications/Games/Star Craft II/Online/script.js @@ -1,6 +1,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.corefonts"); + +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("Star Craft II") @@ -8,10 +9,10 @@ new OnlineInstallerScript() .applicationHomepage("http://eu.battle.net/sc2/") .author("ImperatorS79") .url("https://eu.battle.net/download/getInstaller?os=win&installer=StarCraft-II-Setup.exe") -// The checksum changes each time you download + // The checksum changes each time you download .category("Games") .executable("Battle.net.exe") .preInstall(function (wine /*, wizard*/) { - wine.vcrun2015(); - wine.corefonts(); + new Vcrun2015(wine).go(); + new Corefonts(wine).go(); }); diff --git a/Applications/Games/Steam/Online/script.js b/Applications/Games/Steam/Online/script.js index 795b0b4027..1ce97d57da 100644 --- a/Applications/Games/Steam/Online/script.js +++ b/Applications/Games/Steam/Online/script.js @@ -1,7 +1,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.corefonts"); +const Corefonts = include("engines.wine.verbs.corefonts"); include("engines.wine.plugins.windows_version"); new OnlineInstallerScript() @@ -23,6 +23,6 @@ new OnlineInstallerScript() .setOsForApplication() .set("steamwebhelper.exe", "winxp") .do(); - wine.corefonts(); + new Corefonts(wine).go(); }) .executable("Steam.exe", ["-no-cef-sandbox"]); diff --git a/Applications/Games/Subnautica Below Zero/Steam/script.js b/Applications/Games/Subnautica Below Zero/Steam/script.js index 7b415e70e7..b0573ff2af 100644 --- a/Applications/Games/Subnautica Below Zero/Steam/script.js +++ b/Applications/Games/Subnautica Below Zero/Steam/script.js @@ -1,10 +1,10 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STABLE_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.virtual_desktop"); -include("engines.wine.verbs.vcrun2013"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.dxvk"); +const Vcrun2013 = include("engines.wine.verbs.vcrun2013"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const DXVK = include("engines.wine.verbs.dxvk"); new SteamScript() .name("Subnautica Below Zero") @@ -19,9 +19,11 @@ new SteamScript() wizard.message( tr("You can make the game smoother by using this: https://github.com/lutris/lutris/wiki/How-to:-Esync") ); - wine.vcrun2013(); - wine.corefonts(); - wine.DXVK(); + + new Vcrun2013(wine).go(); + new Corefonts(wine).go(); + new DXVK(wine).go(); + wine.setVirtualDesktop(); }) .gameOverlay(false); diff --git a/Applications/Games/Subnautica/Steam/script.js b/Applications/Games/Subnautica/Steam/script.js index c084fd03a1..aae2ac146b 100644 --- a/Applications/Games/Subnautica/Steam/script.js +++ b/Applications/Games/Subnautica/Steam/script.js @@ -1,10 +1,10 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STABLE_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.virtual_desktop"); -include("engines.wine.verbs.vcrun2013"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.dxvk"); +const Vcrun2013 = include("engines.wine.verbs.vcrun2013"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const DXVK = include("engines.wine.verbs.dxvk"); new SteamScript() .name("Subnautica") @@ -19,9 +19,11 @@ new SteamScript() wizard.message( tr("You can make the game smoother by using this: https://github.com/lutris/lutris/wiki/How-to:-Esync") ); - wine.vcrun2013(); - wine.corefonts(); - wine.DXVK(); + + new Vcrun2013(wine).go(); + new Corefonts(wine).go(); + new DXVK(wine).go(); + wine.setVirtualDesktop(); }) .postInstall(function (wine, wizard) { diff --git a/Applications/Games/The Sims 3/Local/script.js b/Applications/Games/The Sims 3/Local/script.js index bcfee1977c..8bac5668b7 100644 --- a/Applications/Games/The Sims 3/Local/script.js +++ b/Applications/Games/The Sims 3/Local/script.js @@ -1,9 +1,9 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); -include("engines.wine.verbs.vcrun2010"); -include("engines.wine.verbs.tahoma"); -include("engines.wine.verbs.mfc42"); -include("engines.wine.verbs.dotnet20"); +const Vcrun2010 = include("engines.wine.verbs.vcrun2010"); +const Tahoma = include("engines.wine.verbs.tahoma"); +const Mfc42 = include("engines.wine.verbs.mfc42"); +const DotNET20 = include("engines.wine.verbs.dotnet20"); new LocalInstallerScript() .name("The Sims 3") @@ -13,8 +13,8 @@ new LocalInstallerScript() .category("Games") .executable("Sims3Launcher.exe", ["xgamma -gamma 1"]) .preInstall(function (wine) { - wine.mfc42(); - wine.tahoma(); - wine.vcrun2010(); - wine.dotnet20(); + new Mfc42(wine).go(); + new Tahoma(wine).go(); + new Vcrun2010(wine).go(); + new DotNET20(wine).go(); }); diff --git a/Applications/Games/The Sims 3/Steam/script.js b/Applications/Games/The Sims 3/Steam/script.js index 71a44b4094..20382e416d 100644 --- a/Applications/Games/The Sims 3/Steam/script.js +++ b/Applications/Games/The Sims 3/Steam/script.js @@ -1,9 +1,9 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -include("engines.wine.verbs.dotnet20"); -include("engines.wine.verbs.vcrun2010"); -include("engines.wine.verbs.tahoma"); -include("engines.wine.verbs.mfc42"); +const DotNET20 = include("engines.wine.verbs.dotnet20"); +const Vcrun2010 = include("engines.wine.verbs.vcrun2010"); +const Tahoma = include("engines.wine.verbs.tahoma"); +const Mfc42 = include("engines.wine.verbs.mfc42"); new SteamScript() .name("The Sims 3") @@ -14,10 +14,10 @@ new SteamScript() .wineVersion("4.0-rc2") .appId(47890) .preInstall(function (wine /*, wizard*/) { - wine.dotnet20(); - wine.mfc42(); - wine.tahoma(); - wine.vcrun2010(); + new DotNET20(wine).go(); + new Mfc42(wine).go(); + new Tahoma(wine).go(); + new Vcrun2010(wine).go(); }) .gameOverlay(false) .executable("Steam.exe", ["-silent", "-applaunch", 47890, "-no-ces-sandbox", "xgamma -gamma 1"]); diff --git a/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js b/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js index 4056cfdd9b..0adde3e2ee 100644 --- a/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js +++ b/Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.dxvk"); +const DXVK = include("engines.wine.verbs.dxvk"); new SteamScript() .name("The Witcher 3: Wild Hunt") @@ -17,5 +17,6 @@ new SteamScript() "Please ensure you have the latest drivers (415.25 minimum for NVIDIA and mesa 19 for AMD) or else this game will not work." ) ); - wine.DXVK(); + + new DXVK(wine).go(); }); diff --git a/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js b/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js index a8e18666ce..83432eb259 100644 --- a/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js +++ b/Applications/Games/Tom Clancy's The Division/Steam (Demo)/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Tom Clancy’s The Division™ (Demo)") @@ -12,5 +12,5 @@ new SteamScript() .wineDistribution("staging") .wineArchitecture("amd64") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Tom Clancy's The Division/Steam/script.js b/Applications/Games/Tom Clancy's The Division/Steam/script.js index 55bd0c6463..51e0455201 100644 --- a/Applications/Games/Tom Clancy's The Division/Steam/script.js +++ b/Applications/Games/Tom Clancy's The Division/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Tom Clancy’s The Division™") @@ -12,5 +12,5 @@ new SteamScript() .wineDistribution("staging") .wineArchitecture("amd64") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Total War Rome II/Steam/script.js b/Applications/Games/Total War Rome II/Steam/script.js index 67586821df..856a26e8a9 100644 --- a/Applications/Games/Total War Rome II/Steam/script.js +++ b/Applications/Games/Total War Rome II/Steam/script.js @@ -1,10 +1,10 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.d3dx9"); -include("engines.wine.verbs.vcrun2005"); -include("engines.wine.verbs.vcrun2008"); -include("engines.wine.verbs.vcrun2010"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); +const Vcrun2005 = include("engines.wine.verbs.vcrun2005"); +const Vcrun2008 = include("engines.wine.verbs.vcrun2008"); +const Vcrun2010 = include("engines.wine.verbs.vcrun2010"); new SteamScript() .name("Total War: ROME II") @@ -14,10 +14,11 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine, wizard) { - wine.d3dx9(); - wine.vcrun2005(); - wine.vcrun2008(); - wine.vcrun2010(); + new D3DX9(wine).go(); + new Vcrun2005(wine).go(); + new Vcrun2008(wine).go(); + new Vcrun2010(wine).go(); + wizard.message( tr( "If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying :\n\n gfx_device_type to 2\n\n in the {0}/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt", diff --git a/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js b/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js index 4a3255a455..9369748516 100644 --- a/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js +++ b/Applications/Games/Trackmania Turbo/Steam (Demo)/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Trackmania® Turbo (Demo)") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Trackmania Turbo/Steam/script.js b/Applications/Games/Trackmania Turbo/Steam/script.js index 4603d5b03d..2ac62a309d 100644 --- a/Applications/Games/Trackmania Turbo/Steam/script.js +++ b/Applications/Games/Trackmania Turbo/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.uplay"); +const Uplay = include("engines.wine.verbs.uplay"); new SteamScript() .name("Trackmania® Turbo") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .postInstall(function (wine /*, wizard*/) { - wine.uplay(); + new Uplay(wine).go(); }); diff --git a/Applications/Games/Unholy Heights/Steam/script.js b/Applications/Games/Unholy Heights/Steam/script.js index fbb639b6f0..636c6a7241 100644 --- a/Applications/Games/Unholy Heights/Steam/script.js +++ b/Applications/Games/Unholy Heights/Steam/script.js @@ -1,7 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.dotnet40"); +const DotNET40 = include("engines.wine.verbs.dotnet40"); new SteamScript() .name("Unholy Heights") @@ -11,5 +11,5 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { - wine.dotnet40(); + new DotNET40(wine).go(); }); diff --git a/Applications/Games/Uplay/Online/script.js b/Applications/Games/Uplay/Online/script.js index 50175073e2..50682c6d11 100644 --- a/Applications/Games/Uplay/Online/script.js +++ b/Applications/Games/Uplay/Online/script.js @@ -2,7 +2,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installe const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.corefonts"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("Uplay") @@ -15,7 +15,7 @@ new OnlineInstallerScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { - wine.corefonts(); + new Corefonts(wine).go(); wine .setOsForApplication() .set("upc.exe", "winvista") diff --git a/Applications/Games/Warcraft III Expansion Set/Online/script.js b/Applications/Games/Warcraft III Expansion Set/Online/script.js index 3175214141..699a402159 100644 --- a/Applications/Games/Warcraft III Expansion Set/Online/script.js +++ b/Applications/Games/Warcraft III Expansion Set/Online/script.js @@ -1,9 +1,9 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.vcrun2015"); -include("engines.wine.verbs.corefonts"); +const Vcrun2015 = include("engines.wine.verbs.vcrun2015"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("Warcraft III Expansion Set") @@ -11,13 +11,14 @@ new OnlineInstallerScript() .applicationHomepage("http://www.blizzard.com/en-gb/games/war3/") .author("Grimler91") .url("https://www.battle.net/download/getInstaller?os=win&installer=Warcraft-III-Setup.exe") -// The checksum changes each time you download + // The checksum changes each time you download .category("Games") .executable("Warcraft III.exe") .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { wine.windowsVersion("winxp"); - wine.corefonts(); - wine.vcrun2015(); + + new Corefonts(wine).go(); + new Vcrun2015(wine).go(); }); diff --git a/Applications/Games/Warlock - Master of the Arcane/Steam/script.js b/Applications/Games/Warlock - Master of the Arcane/Steam/script.js index ff014f703f..6ad541aef4 100644 --- a/Applications/Games/Warlock - Master of the Arcane/Steam/script.js +++ b/Applications/Games/Warlock - Master of the Arcane/Steam/script.js @@ -1,11 +1,11 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.corefonts"); -include("engines.wine.verbs.d3dx9"); -include("engines.wine.verbs.tahoma"); -include("engines.wine.verbs.vcrun2005"); -include("engines.wine.verbs.vcrun2008"); +const Corefonts = include("engines.wine.verbs.corefonts"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); +const Tahoma = include("engines.wine.verbs.tahoma"); +const Vcrun2005 = include("engines.wine.verbs.vcrun2005"); +const Vcrun2008 = include("engines.wine.verbs.vcrun2008"); new SteamScript() .name("Warlock - Master of the Arcane") @@ -15,9 +15,9 @@ new SteamScript() .wineVersion(LATEST_STAGING_VERSION) .wineDistribution("staging") .preInstall(function (wine /*, wizard*/) { - wine.corefonts(); - wine.d3dx9(); - wine.tahoma(); - wine.vcrun2005(); - wine.vcrun2008(); + new Corefonts(wine).go(); + new D3DX9(wine).go(); + new Tahoma(wine).go(); + new Vcrun2005(wine).go(); + new Vcrun2008(wine).go(); }); diff --git a/Applications/Games/Wildlife Park 2/Local/script.js b/Applications/Games/Wildlife Park 2/Local/script.js index 00ae2b32a5..49a2ef32da 100644 --- a/Applications/Games/Wildlife Park 2/Local/script.js +++ b/Applications/Games/Wildlife Park 2/Local/script.js @@ -1,6 +1,7 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); + include("engines.wine.plugins.virtual_desktop"); -include("engines.wine.verbs.quartz"); +const Quartz = include("engines.wine.verbs.quartz"); new LocalInstallerScript() .name("Wildlife Park 2") @@ -15,6 +16,7 @@ new LocalInstallerScript() "On first run the game might not go into full screen. If that happens go to options and set the resolution to 1280x960. You will be asked to close the game in order to apply the new settings. Click Yes. Once you start the game again you should see a window where you can set your game resolution to match your screen." ) ); - wine.quartz(); + + new Quartz(wine).go(); wine.setVirtualDesktop(); }); diff --git a/Applications/Games/Wildlife Park 2/Steam/script.js b/Applications/Games/Wildlife Park 2/Steam/script.js index 9170435d04..286ebb006e 100644 --- a/Applications/Games/Wildlife Park 2/Steam/script.js +++ b/Applications/Games/Wildlife Park 2/Steam/script.js @@ -1,6 +1,7 @@ const SteamScript = include("engines.wine.quick_script.steam_script"); + include("engines.wine.plugins.virtual_desktop"); -include("engines.wine.verbs.quartz"); +const Quartz = include("engines.wine.verbs.quartz"); new SteamScript() .name("Wildlife Park 2") @@ -14,7 +15,8 @@ new SteamScript() "On first run the game might not go into full screen. If that happens go to options and set the resolution to 1280x960. You will be asked to close the game in order to apply the new settings. Click Yes. Once you start the game again you should see a window where you can set your game resolution to match your screen." ) ); - wine.quartz(); + + new Quartz(wine).go(); wine.setVirtualDesktop(); }) .gameOverlay(false); diff --git a/Applications/Games/osu!/Online/script.js b/Applications/Games/osu!/Online/script.js index f239e5f96b..05a5df54bb 100644 --- a/Applications/Games/osu!/Online/script.js +++ b/Applications/Games/osu!/Online/script.js @@ -1,8 +1,8 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions"); -include("engines.wine.verbs.dotnet45"); -include("engines.wine.verbs.corefonts"); +const DotNET45 = include("engines.wine.verbs.dotnet45"); +const Corefonts = include("engines.wine.verbs.corefonts"); new OnlineInstallerScript() .name("osu!") @@ -15,6 +15,6 @@ new OnlineInstallerScript() .url("https://m1.ppy.sh/r/osu!install.exe") .preInstall(function (wine /*, wizard*/) { //maybe needs cjkfonts or set sound driver to alsa - wine.corefonts(); - wine.dotnet45(); + new Corefonts(wine).go(); + new DotNET45(wine).go(); }); diff --git a/Applications/Internet/Internet Explorer 6.0/Online/script.js b/Applications/Internet/Internet Explorer 6.0/Online/script.js index cda3b54039..cf20433138 100644 --- a/Applications/Internet/Internet Explorer 6.0/Online/script.js +++ b/Applications/Internet/Internet Explorer 6.0/Online/script.js @@ -1,9 +1,9 @@ const PlainInstaller = include("utils.functions.apps.plain_installer"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); +const { CabExtract } = include("utils.functions.filesystem.extract"); const Wine = include("engines.wine.engine.object"); -const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions"); -const {remove} = include("utils.functions.filesystem.files"); +const { LATEST_STABLE_VERSION } = include("engines.wine.engine.versions"); +const { remove } = include("utils.functions.filesystem.files"); const WineShortcut = include("engines.wine.shortcuts.wine"); const AppResource = include("utils.functions.apps.resources"); @@ -11,7 +11,7 @@ include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.regedit"); include("engines.wine.plugins.regsvr32"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.msls31"); +const Msls31 = include("engines.wine.verbs.msls31"); new PlainInstaller().withScript(() => { var appsManager = Bean("repositoryManager"); @@ -30,8 +30,9 @@ new PlainInstaller().withScript(() => { var wine = new Wine() .wizard(setupWizard) .prefix("InternetExplorer6", "upstream", "x86", LATEST_STABLE_VERSION) - .create() - .msls31(); + .create(); + + new Msls31(wine).go(); wine.windowsVersion("win2k"); @@ -65,13 +66,11 @@ new PlainInstaller().withScript(() => { .extract(["-F", "inseng.dll"]); wine.run("iexplore", ["-unregserver"], null, false, true); - wine - .overrideDLL() + wine.overrideDLL() .set("native", ["inseng"]) .do(); wine.runInsidePrefix("IE 6.0 Full/IE6SETUP.EXE", [], true); - wine - .overrideDLL() + wine.overrideDLL() .set("native,builtin", [ "inetcpl.cpl", "itircl", diff --git a/Applications/Internet/Internet Explorer 7.0/Online/script.js b/Applications/Internet/Internet Explorer 7.0/Online/script.js index d3020199a2..22f0c564fa 100644 --- a/Applications/Internet/Internet Explorer 7.0/Online/script.js +++ b/Applications/Internet/Internet Explorer 7.0/Online/script.js @@ -1,14 +1,14 @@ const PlainInstaller = include("utils.functions.apps.plain_installer"); const Resource = include("utils.functions.net.resource"); const Wine = include("engines.wine.engine.object"); -const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions"); -const {remove} = include("utils.functions.filesystem.files"); +const { LATEST_STABLE_VERSION } = include("engines.wine.engine.versions"); +const { remove } = include("utils.functions.filesystem.files"); const WineShortcut = include("engines.wine.shortcuts.wine"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.regsvr32"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.sandbox"); +const Sandbox = include("engines.wine.verbs.sandbox"); new PlainInstaller().withScript(() => { var appsManager = Bean("repositoryManager"); @@ -20,12 +20,13 @@ new PlainInstaller().withScript(() => { var wine = new Wine() .wizard(setupWizard) .prefix("InternetExplorer7", "upstream", "x86", LATEST_STABLE_VERSION) - .create() - .sandbox(); + .create(); + + new Sandbox(wine).go(); + wine.run("iexplore", ["-unregserver"], null, false, true); - wine - .overrideDLL() + wine.overrideDLL() .set("native,builtin", [ "itircl", "itss", @@ -84,145 +85,145 @@ new PlainInstaller().withScript(() => { switch (setupLanguage) { case "English": ie7link = - "http://download.microsoft.com/download/3/8/8/38889dc1-848c-4bf2-8335-86c573ad86d9/IE7-WindowsXP-x86-enu.exe"; + "http://download.microsoft.com/download/3/8/8/38889dc1-848c-4bf2-8335-86c573ad86d9/IE7-WindowsXP-x86-enu.exe"; ie7installer = "IE7-WindowsXP-x86-enu.exe"; ie7md5 = "ea16789f6fc1d2523f704e8f9afbe906"; break; case "French": ie7link = - "http://download.microsoft.com/download/d/7/6/d7635233-5433-45aa-981b-4690ae90b785/IE7-WindowsXP-x86-fra.exe"; + "http://download.microsoft.com/download/d/7/6/d7635233-5433-45aa-981b-4690ae90b785/IE7-WindowsXP-x86-fra.exe"; ie7installer = "IE7-WindowsXP-x86-fra.exe"; ie7md5 = "77c9bdd28f220f2c31fc23d73125eef7"; break; case "German": ie7link = - "http://download.microsoft.com/download/6/b/c/6bcfcbcd-d634-44f9-8231-c4b05323770a/IE7-WindowsXP-x86-deu.exe"; + "http://download.microsoft.com/download/6/b/c/6bcfcbcd-d634-44f9-8231-c4b05323770a/IE7-WindowsXP-x86-deu.exe"; ie7installer = "IE7-WindowsXP-x86-deu.exe"; ie7md5 = "b704d4f7956af137294e72c30799cabe"; break; case "Arabic": ie7link = - "http://download.microsoft.com/download/f/5/e/f5ec8dec-a76d-4866-88a3-8bd6be368c8d/IE7-WindowsXP-x86-ara.exe"; + "http://download.microsoft.com/download/f/5/e/f5ec8dec-a76d-4866-88a3-8bd6be368c8d/IE7-WindowsXP-x86-ara.exe"; ie7installer = "IE7-WindowsXP-x86-ara.exe"; ie7md5 = "d6788008595b2e241b0616b4d84652b1"; break; case "Chinese (Simplified)": ie7link = - "http://download.microsoft.com/download/4/1/8/418981a4-6ef9-4de6-befc-1a53e886cb62/IE7-WindowsXP-x86-chs.exe"; + "http://download.microsoft.com/download/4/1/8/418981a4-6ef9-4de6-befc-1a53e886cb62/IE7-WindowsXP-x86-chs.exe"; ie7installer = "IE7-WindowsXP-x86-chs.exe"; ie7md5 = "9bbf568537e6ff060954bc710b5e648e"; break; case "Chinese (Traditional, Taiwan)": ie7link = - "http://download.microsoft.com/download/4/a/5/4a5a86de-af85-432e-979c-fa69e5d781db/IE7-WindowsXP-x86-cht.exe"; + "http://download.microsoft.com/download/4/a/5/4a5a86de-af85-432e-979c-fa69e5d781db/IE7-WindowsXP-x86-cht.exe"; ie7installer = "IE7-WindowsXP-x86-cht.exe"; ie7md5 = "193bf89a4556eca1ac244bedbe7ab5aa"; break; case "Czech": ie7link = - "http://download.microsoft.com/download/6/c/9/6c933e30-c659-438e-9bc0-6e050e329d14/IE7-WindowsXP-x86-csy.exe"; + "http://download.microsoft.com/download/6/c/9/6c933e30-c659-438e-9bc0-6e050e329d14/IE7-WindowsXP-x86-csy.exe"; ie7installer = "IE7-WindowsXP-x86-csy.exe"; ie7md5 = "88859df39f3048a742756eb629483c02"; break; case "Danish": ie7link = - "http://download.microsoft.com/download/9/f/b/9fbfc1cb-47ea-4364-9829-830e5c5b8b09/IE7-WindowsXP-x86-dan.exe"; + "http://download.microsoft.com/download/9/f/b/9fbfc1cb-47ea-4364-9829-830e5c5b8b09/IE7-WindowsXP-x86-dan.exe"; ie7installer = "IE7-WindowsXP-x86-dan.exe"; ie7md5 = "1d752313b9bcfc088392a204bd00a130"; break; case "Dutch": ie7link = - "http://download.microsoft.com/download/4/3/3/433d9e80-2b31-4bf3-844f-c11eece20da5/IE7-WindowsXP-x86-nld.exe"; + "http://download.microsoft.com/download/4/3/3/433d9e80-2b31-4bf3-844f-c11eece20da5/IE7-WindowsXP-x86-nld.exe"; ie7installer = "IE7-WindowsXP-x86-nld.exe"; ie7md5 = "752244327d5fb2bb9d3f4636a3ce10c7"; break; case "Finnish": ie7link = - "http://download.microsoft.com/download/3/9/6/396ee8cb-0f76-47ab-86b1-3c2ad0752bc3/IE7-WindowsXP-x86-fin.exe"; + "http://download.microsoft.com/download/3/9/6/396ee8cb-0f76-47ab-86b1-3c2ad0752bc3/IE7-WindowsXP-x86-fin.exe"; ie7installer = "IE7-WindowsXP-x86-fin.exe"; ie7md5 = "bc67ebaf7bf69763bcc7a6109360527d"; break; case "Greek": ie7link = - "http://download.microsoft.com/download/f/3/f/f3fc00ed-8b5d-4e36-81f0-fe0d722993e2/IE7-WindowsXP-x86-ell.exe"; + "http://download.microsoft.com/download/f/3/f/f3fc00ed-8b5d-4e36-81f0-fe0d722993e2/IE7-WindowsXP-x86-ell.exe"; ie7installer = "IE7-WindowsXP-x86-ell.exe"; ie7md5 = "9974e80af2c470581cb3c58332cd9f0a"; break; case "Hebrew": ie7link = - "http://download.microsoft.com/download/5/8/7/587bbf05-6132-4a49-a81d-765082ce8246/IE7-WindowsXP-x86-heb.exe"; + "http://download.microsoft.com/download/5/8/7/587bbf05-6132-4a49-a81d-765082ce8246/IE7-WindowsXP-x86-heb.exe"; ie7installer = "IE7-WindowsXP-x86-heb.exe"; ie7md5 = "19eb048477c1cb70e0b68405d2569d22"; break; case "Hungarian": ie7link = - "http://download.microsoft.com/download/7/2/c/72c09e25-5635-43f9-9f62-56a8f87c58a5/IE7-WindowsXP-x86-hun.exe"; + "http://download.microsoft.com/download/7/2/c/72c09e25-5635-43f9-9f62-56a8f87c58a5/IE7-WindowsXP-x86-hun.exe"; ie7installer = "IE7-WindowsXP-x86-hun.exe"; ie7md5 = "ae8e824392642166d52d33a5dab55c5d"; break; case "Italian": ie7link = - "http://download.microsoft.com/download/3/9/0/3907f96d-1bbd-499a-b6bd-5d69789ddb54/IE7-WindowsXP-x86-ita.exe"; + "http://download.microsoft.com/download/3/9/0/3907f96d-1bbd-499a-b6bd-5d69789ddb54/IE7-WindowsXP-x86-ita.exe"; ie7installer = "IE7-WindowsXP-x86-ita.exe"; ie7md5 = "510a2083dfb4e42209d845968861a2df"; break; case "Japanese": ie7link = - "http://download.microsoft.com/download/d/4/8/d488b16c-877d-474d-912f-bb88e358055d/IE7-WindowsXP-x86-jpn.exe"; + "http://download.microsoft.com/download/d/4/8/d488b16c-877d-474d-912f-bb88e358055d/IE7-WindowsXP-x86-jpn.exe"; ie7installer = "IE7-WindowsXP-x86-jpn.exe"; ie7md5 = "13934f80870d549493197b5cb0995112"; break; case "Korean": ie7link = - "http://download.microsoft.com/download/1/0/a/10ad8b7f-2354-420d-aae3-ddcff81554fb/IE7-WindowsXP-x86-kor.exe"; + "http://download.microsoft.com/download/1/0/a/10ad8b7f-2354-420d-aae3-ddcff81554fb/IE7-WindowsXP-x86-kor.exe"; ie7installer = "IE7-WindowsXP-x86-kor.exe"; ie7md5 = "3cc8e93f191f726e5ec9b23349a261c0"; break; case "Norwegian": ie7link = - "http://download.microsoft.com/download/a/a/3/aa317f65-e818-458c-a36f-9f0feb017744/IE7-WindowsXP-x86-nor.exe"; + "http://download.microsoft.com/download/a/a/3/aa317f65-e818-458c-a36f-9f0feb017744/IE7-WindowsXP-x86-nor.exe"; ie7installer = "IE7-WindowsXP-x86-nor.exe"; ie7md5 = "7450388c1dd004f63b39ade2868da9bd"; break; case "Polish": ie7link = - "http://download.microsoft.com/download/6/a/0/6a01b4fa-66e5-4447-8f36-9330a8725ecd/IE7-WindowsXP-x86-plk.exe"; + "http://download.microsoft.com/download/6/a/0/6a01b4fa-66e5-4447-8f36-9330a8725ecd/IE7-WindowsXP-x86-plk.exe"; ie7installer = "IE7-WindowsXP-x86-plk.exe"; ie7md5 = "09677cc0df807cd9fb0a834eeecbfec9"; break; case "Portuguese (Brazil)": ie7link = - "http://download.microsoft.com/download/e/9/8/e98bd8ac-3122-4079-bb70-d19b5d5ef875/IE7-WindowsXP-x86-ptb.exe"; + "http://download.microsoft.com/download/e/9/8/e98bd8ac-3122-4079-bb70-d19b5d5ef875/IE7-WindowsXP-x86-ptb.exe"; ie7installer = "IE7-WindowsXP-x86-ptb.exe"; ie7md5 = "ec5098a90641f4c3c248582ed8d7cf8c"; break; case "Portuguese (Portugal)": ie7link = - "http://download.microsoft.com/download/9/9/0/99012553-0eea-402d-99e9-bdc2f4ee26a9/IE7-WindowsXP-x86-ptg.exe"; + "http://download.microsoft.com/download/9/9/0/99012553-0eea-402d-99e9-bdc2f4ee26a9/IE7-WindowsXP-x86-ptg.exe"; ie7installer = "IE7-WindowsXP-x86-ptg.exe"; ie7md5 = "5882c9721261d564220e4f776a811197"; break; case "Russian": ie7link = - "http://download.microsoft.com/download/d/4/e/d4e2d315-2493-44a4-8135-b5310b4a50a4/IE7-WindowsXP-x86-rus.exe"; + "http://download.microsoft.com/download/d/4/e/d4e2d315-2493-44a4-8135-b5310b4a50a4/IE7-WindowsXP-x86-rus.exe"; ie7installer = "IE7-WindowsXP-x86-rus.exe"; ie7md5 = "db8d6f76a16a690458c65b831bfe14a4"; break; case "Spanish": ie7link = - "http://download.microsoft.com/download/4/c/4/4c4fc47b-974c-4dc9-b189-2820f68b4535/IE7-WindowsXP-x86-esn.exe"; + "http://download.microsoft.com/download/4/c/4/4c4fc47b-974c-4dc9-b189-2820f68b4535/IE7-WindowsXP-x86-esn.exe"; ie7installer = "IE7-WindowsXP-x86-esn.exe"; ie7md5 = "0b90933978f8f39589b4bd6e457d8899"; break; case "Swedish": ie7link = - "http://download.microsoft.com/download/1/2/3/12311242-faa8-4edf-a0c4-86bf4e029a54/IE7-WindowsXP-x86-sve.exe"; + "http://download.microsoft.com/download/1/2/3/12311242-faa8-4edf-a0c4-86bf4e029a54/IE7-WindowsXP-x86-sve.exe"; ie7installer = "IE7-WindowsXP-x86-sve.exe"; ie7md5 = "7a569708bd72ab99289064008609bfa8"; break; case "Turkish": ie7link = - "http://download.microsoft.com/download/4/e/7/4e77d531-5c33-4f9b-a5c9-ea29fb79cc56/IE7-WindowsXP-x86-trk.exe"; + "http://download.microsoft.com/download/4/e/7/4e77d531-5c33-4f9b-a5c9-ea29fb79cc56/IE7-WindowsXP-x86-trk.exe"; ie7installer = "IE7-WindowsXP-x86-trk.exe"; ie7md5 = "71a39c77bcfd1e2299e99cb7433e5856"; break; diff --git a/Applications/Office/Adobe Acrobat Reader DC/Online/script.js b/Applications/Office/Adobe Acrobat Reader DC/Online/script.js index 8708c175a2..7c28d592c4 100644 --- a/Applications/Office/Adobe Acrobat Reader DC/Online/script.js +++ b/Applications/Office/Adobe Acrobat Reader DC/Online/script.js @@ -1,7 +1,7 @@ const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script"); -const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions"); +const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions"); -include("engines.wine.verbs.mspatcha"); +const Mspatcha = include("engines.wine.verbs.mspatcha"); include("engines.wine.plugins.windows_version"); new OnlineInstallerScript() @@ -16,7 +16,7 @@ new OnlineInstallerScript() .category("Office") .executable("AcroRd32.exe") .preInstall(function (wine /*, wizard*/) { - wine.mspatcha(); + new Mspatcha(wine).go(); }) .postInstall(function (wine /*, wizard*/) { // fix broken dialogs (e.g. preferences) diff --git a/Applications/Office/ElsterFormular/Online/script.js b/Applications/Office/ElsterFormular/Online/script.js index 800bad768e..8308267aa8 100644 --- a/Applications/Office/ElsterFormular/Online/script.js +++ b/Applications/Office/ElsterFormular/Online/script.js @@ -1,7 +1,7 @@ const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script"); include("engines.wine.plugins.native_application"); -include("engines.wine.verbs.vcrun2017"); +const Vcrun2017 = include("engines.wine.verbs.vcrun2017"); new LocalInstallerScript() .name("ElsterFormular") @@ -14,6 +14,7 @@ new LocalInstallerScript() .category("Office") .executable("pica.exe") .preInstall(function (wine /*, wizard*/) { - wine.vcrun2017(); + new Vcrun2017(wine).go(); + wine.nativeApplication("pdf"); }); diff --git a/Engines/Wine/Engine/Implementation/script.js b/Engines/Wine/Engine/Implementation/script.js index d26a5613ae..2371e68d90 100644 --- a/Engines/Wine/Engine/Implementation/script.js +++ b/Engines/Wine/Engine/Implementation/script.js @@ -26,6 +26,7 @@ module.default = class WineEngine { this._wineWebServiceUrl = propertyReader.getProperty("webservice.wine.url"); this._wizard = null; this._workingContainer = ""; + this._fetchedRuntimeJson = false; } getLocalDirectory(subCategory, version) { @@ -109,6 +110,11 @@ module.default = class WineEngine { } } _installRuntime(setupWizard) { + // avoid that runtime is installed multiple times during one installation + if (this._fetchedRuntimeJson) { + return; + } + const runtimeJsonPath = this._wineEnginesDirectory + "/runtime.json"; let runtimeJson; let runtimeJsonFile; @@ -261,6 +267,8 @@ module.default = class WineEngine { remove(this._wineEnginesDirectory + "/TMP"); } + + this._fetchedRuntimeJson = true; } _installGecko(setupWizard, winePackage, localDirectory) { diff --git a/Engines/Wine/Engine/Versions/script.js b/Engines/Wine/Engine/Versions/script.js index 9fb13113b5..1a3c7d4d0c 100644 --- a/Engines/Wine/Engine/Versions/script.js +++ b/Engines/Wine/Engine/Versions/script.js @@ -1,8 +1,8 @@ /* exported LATEST_STABLE_VERSION */ -module.LATEST_STABLE_VERSION = "4.0.1"; +module.LATEST_STABLE_VERSION = "4.0.2"; /* exported LATEST_DEVELOPMENT_VERSION */ -module.LATEST_DEVELOPMENT_VERSION = "4.14"; +module.LATEST_DEVELOPMENT_VERSION = "4.15"; /* exported LATEST_STAGING_VERSION */ -module.LATEST_STAGING_VERSION = "4.14"; +module.LATEST_STAGING_VERSION = "4.15"; /* exported LATEST_DOS_SUPPORT_VERSION */ module.LATEST_DOS_SUPPORT_VERSION = "4.0"; diff --git a/Engines/Wine/QuickScript/GoG Script/script.js b/Engines/Wine/QuickScript/GoG Script/script.js index 02ddf652a0..d6bbc17841 100644 --- a/Engines/Wine/QuickScript/GoG Script/script.js +++ b/Engines/Wine/QuickScript/GoG Script/script.js @@ -1,9 +1,9 @@ const Wine = include("engines.wine.engine.object"); const QuickScript = include("engines.wine.quick_script.quick_script"); const Downloader = include("utils.functions.net.download"); -const {createTempDir} = include("utils.functions.filesystem.files"); +const { createTempDir } = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.gdiplus"); +const GDIPlus = include("engines.wine.verbs.gdiplus"); module.default = class GogScript extends QuickScript { constructor() { @@ -76,7 +76,7 @@ module.default = class GogScript extends QuickScript { .wizard(setupWizard) .to(tmpDirectory) .headers({ - "Authorization": "Bearer " + this._token["access_token"], + Authorization: "Bearer " + this._token["access_token"], "User-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:64.0) Gecko/20100101 Firefox/64.0" }) .get(); @@ -112,7 +112,8 @@ module.default = class GogScript extends QuickScript { this._preInstall(wine, setupWizard); - wine.gdiplus(); + new GDIPlus(wine).go(); + wine.run(setupFile, [], wine.prefixDirectory() + "/drive_c/", true, true); this._postInstall(wine, setupWizard); @@ -121,4 +122,4 @@ module.default = class GogScript extends QuickScript { setupWizard.close(); } -} +}; diff --git a/Engines/Wine/QuickScript/Installer Script/script.js b/Engines/Wine/QuickScript/Installer Script/script.js index 0a566e8377..92ac9b5d41 100644 --- a/Engines/Wine/QuickScript/Installer Script/script.js +++ b/Engines/Wine/QuickScript/Installer Script/script.js @@ -3,7 +3,7 @@ const Wine = include("engines.wine.engine.object"); const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions"); const {fileName} = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); +const Luna = include("engines.wine.verbs.luna"); const operatingSystemFetcher = Bean("operatingSystemFetcher"); @@ -76,7 +76,9 @@ module.default = class InstallerScript extends QuickScript { } // setup the prefix - wine.prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion).luna(); + wine.prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion); + + new Luna(wine).go(); this._preInstall(wine, setupWizard); diff --git a/Engines/Wine/QuickScript/Origin Script/script.js b/Engines/Wine/QuickScript/Origin Script/script.js index f393b5a59b..e23133355b 100644 --- a/Engines/Wine/QuickScript/Origin Script/script.js +++ b/Engines/Wine/QuickScript/Origin Script/script.js @@ -3,7 +3,7 @@ const Downloader = include("utils.functions.net.download"); const Wine = include("engines.wine.engine.object"); const {createTempFile} = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); +const Luna = include("engines.wine.verbs.luna"); module.default = class OriginScript extends QuickScript { constructor() { @@ -38,8 +38,9 @@ module.default = class OriginScript extends QuickScript { const wine = new Wine() .wizard(setupWizard) - .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion) - .luna(); + .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion); + + new Luna(wine).go(); //Origin does not have an install command setupWizard.message(tr("Download \"{0}\" in Origin and shut it down once \"{0}\" is installed", this._name)); diff --git a/Engines/Wine/QuickScript/Steam Script/script.js b/Engines/Wine/QuickScript/Steam Script/script.js index 606ce6f73f..d4a464a070 100644 --- a/Engines/Wine/QuickScript/Steam Script/script.js +++ b/Engines/Wine/QuickScript/Steam Script/script.js @@ -3,8 +3,8 @@ const Downloader = include("utils.functions.net.download"); const Wine = include("engines.wine.engine.object"); const {cat, fileExists, writeToFile, createTempFile} = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); -include("engines.wine.verbs.corefonts"); +const Luna = include("engines.wine.verbs.luna"); +const Corefonts = include("engines.wine.verbs.corefonts"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); @@ -108,10 +108,10 @@ module.default = class SteamScript extends QuickScript { const wine = new Wine() .wizard(setupWizard) - .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion) - .luna(); + .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion); - wine.corefonts(); + new Luna(wine).go(); + new Corefonts(wine).go(); // Steam must be started once such that config.vdf is created (see fixCertificateIssue()) setupWizard.wait(tr("Please follow the steps of the Steam setup. Then, wait until Steam is updated, log in and finally close Steam completely so the installation of \"{0}\" can continue.", this._name)); diff --git a/Engines/Wine/QuickScript/Uplay Script/script.js b/Engines/Wine/QuickScript/Uplay Script/script.js index abbe38c387..e136c87ae6 100644 --- a/Engines/Wine/QuickScript/Uplay Script/script.js +++ b/Engines/Wine/QuickScript/Uplay Script/script.js @@ -3,8 +3,8 @@ const Downloader = include("utils.functions.net.download"); const Wine = include("engines.wine.engine.object"); const {fileExists, createTempFile} = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); -include("engines.wine.verbs.corefonts"); +const Luna = include("engines.wine.verbs.luna"); +const Corefonts = include("engines.wine.verbs.corefonts"); include("engines.wine.plugins.windows_version"); module.default = class UplayScript extends QuickScript { @@ -49,10 +49,10 @@ module.default = class UplayScript extends QuickScript { const wine = new Wine() .wizard(setupWizard) - .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion) - .luna(); + .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion); - wine.corefonts(); + new Luna(wine).go(); + new Corefonts(wine).go(); setupWizard.message(tr("Please ensure that winbind is installed before you continue.")); setupWizard.wait(tr("Please follow the steps of the Uplay setup.\n\nUncheck \"Run Uplay\" or close Uplay completely after the setup so that the installation of \"{0}\" can continue.", this._name)); diff --git a/Engines/Wine/QuickScript/Zip Script/script.js b/Engines/Wine/QuickScript/Zip Script/script.js index 65e3d316e3..af9de0e887 100644 --- a/Engines/Wine/QuickScript/Zip Script/script.js +++ b/Engines/Wine/QuickScript/Zip Script/script.js @@ -1,9 +1,9 @@ const QuickScript = include("engines.wine.quick_script.quick_script"); const Downloader = include("utils.functions.net.download"); const Wine = include("engines.wine.engine.object"); -const {Extractor} = include("utils.functions.filesystem.extract"); +const { Extractor } = include("utils.functions.filesystem.extract"); -include("engines.wine.verbs.luna"); +const Luna = include("engines.wine.verbs.luna"); module.default = class ZipScript extends QuickScript { constructor() { @@ -28,9 +28,11 @@ module.default = class ZipScript extends QuickScript { const wine = new Wine() .wizard(setupWizard) .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion) - .create() - .luna() - .wait(); + .create(); + + new Luna(wine).go(); + + wine.wait(); this._preInstall(wine, setupWizard); @@ -65,4 +67,4 @@ module.default = class ZipScript extends QuickScript { setupWizard.close(); } -} +}; diff --git a/Engines/Wine/Verbs/D9VK/script.js b/Engines/Wine/Verbs/D9VK/script.js index afa41ff970..073344f30a 100644 --- a/Engines/Wine/Verbs/D9VK/script.js +++ b/Engines/Wine/Verbs/D9VK/script.js @@ -1,93 +1,118 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {Extractor} = include("utils.functions.filesystem.extract"); -const {ls, cp, remove} = include("utils.functions.filesystem.files"); +const { Extractor } = include("utils.functions.filesystem.extract"); +const { ls, cp, remove } = include("utils.functions.filesystem.files"); + +const operatingSystemFetcher = Bean("operatingSystemFetcher"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install D9VK * see: https://github.com/Joshua-Ashton/d9vk/ - * - * @param {String} d9vkVersion D9VK version to download - * @returns {Wine} Wine object */ -Wine.prototype.D9VK = function (d9vkVersion) { - var operatingSystemFetcher = Bean("operatingSystemFetcher"); +class D9VK { + constructor(wine) { + this.wine = wine; + } - print("NOTE: Wine version should be greater or equal to 3.10"); + /** + * Specifies the D9VK version to download + * + * @param {string} d9vkVersion The D9VK version to download + * @returns {D9VK} The D9VK object + */ + withVersion(d9vkVersion) { + this.d9vkVersion = d9vkVersion; - if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") { - this.wizard().message(tr("D9VK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement")); - } - else { - this.wizard().message(tr("Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else D9VK might not work correctly.")); + return this; } - if (typeof d9vkVersion !== 'string') { - d9vkVersion = "0.12"; - } + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(): + + print("NOTE: Wine version should be greater or equal to 3.10"); - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://github.com/Joshua-Ashton/d9vk/releases/download/" + d9vkVersion + "/d9vk-" + d9vkVersion + ".tar.gz") - .name("d9vk-" + d9vkVersion + ".tar.gz") - .get(); - - new Extractor() - .wizard(this.wizard()) - .archive(setupFile) - .to(this.prefixDirectory() + "/TMP/") - .extract(); - - var forEach = Array.prototype.forEach; - var sys32dir = this.system32directory(); - var d9vkTmpDir = this.prefixDirectory() + "/TMP/d9vk-" + d9vkVersion; - var self = this; - - //Copy 32 bits dll to system* and apply override - forEach.call(ls(d9vkTmpDir + "/x32"), function (file) { - if (file.endsWith(".dll")) { - cp(d9vkTmpDir + "/x32/" + file, sys32dir); - self.overrideDLL() - .set("native", [file]) - .do(); + if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") { + wizard.message( + tr( + "D9VK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement" + ) + ); + } else { + wizard.message( + tr( + "Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else D9VK might not work correctly." + ) + ); } - }); - if (this.architecture() == "amd64") { - var sys64dir = this.system64directory(); - //Copy 64 bits dll to system* - forEach.call(ls(d9vkTmpDir + "/x64"), function (file) { + if (typeof this.d9vkVersion !== "string") { + this.d9vkVersion = "0.12"; + } + + var setupFile = new Resource() + .wizard(wizard) + .url( + `https://github.com/Joshua-Ashton/d9vk/releases/download/${this.d9vkVersion}/d9vk-${this.d9vkVersion}.tar.gz` + ) + .name(`d9vk-${this.d9vkVersion}.tar.gz`) + .get(); + + new Extractor() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/TMP/`) + .extract(); + + const d9vkTmpDir = `${prefixDirectory}/TMP/d9vk-${this.d9vkVersion}`; + + // copy 32 bits dll to system* and apply override + ls(`${d9vkTmpDir}/x32`).forEach(file => { if (file.endsWith(".dll")) { - cp(d9vkTmpDir + "/x64/" + file, sys64dir); + cp(`${d9vkTmpDir}/x32/${file}`, system32directory); + + this.wine + .overrideDLL() + .set("native", [file]) + .do(); } }); - } - remove(this.prefixDirectory() + "/TMP/"); + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); - return this; -} + // copy 64 bits dll to system* + ls(d9vkTmpDir + "/x64").forEach(file => { + if (file.endsWith(".dll")) { + cp(`${d9vkTmpDir}/x64/${file}`, system64directory); + } + }); + } -/** - * Verb to install D9VK - */ -// eslint-disable-next-line no-unused-vars -module.default = class D9VKVerb { - constructor() { - // do nothing + remove(`${prefixDirectory}/TMP/`); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "D9VK", Optional.empty()); + + const versions = ["0.12", "0.11", "0.10"]; + const selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.12"); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "D9VK", java.util.Optional.empty()); - var versions = ["0.12", "0.11", "0.10"]; - var selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.12"); wine.wizard(wizard); + // install selected version - wine.D9VK(selectedVersion.text); + new D9VK(wine).withVersion(selectedVersion.text).go(); + wizard.close(); } } + +module.default = D9VK; diff --git a/Engines/Wine/Verbs/DXVK/script.js b/Engines/Wine/Verbs/DXVK/script.js index ec17de3548..6992625e9a 100644 --- a/Engines/Wine/Verbs/DXVK/script.js +++ b/Engines/Wine/Verbs/DXVK/script.js @@ -1,121 +1,175 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {Extractor} = include("utils.functions.filesystem.extract"); -const {ls, cp, cat, remove} = include("utils.functions.filesystem.files"); +const { Extractor } = include("utils.functions.filesystem.extract"); +const { ls, cp, cat, remove } = include("utils.functions.filesystem.files"); + +const operatingSystemFetcher = Bean("operatingSystemFetcher"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install DXVK - * see: https://github.com/doitsujin/dxvk/ * - * @param {String} dxvkVersion DXVK version to download - * @returns {Wine} Wine object + * see: https://github.com/doitsujin/dxvk/ */ -Wine.prototype.DXVK = function (dxvkVersion) { - var operatingSystemFetcher = Bean("operatingSystemFetcher"); +class DXVK { + constructor(wine) { + this.wine = wine; + } - print("NOTE: wine version should be greater or equal to 3.10"); + /** + * Sets the DXVK version to download + * + * @param {string} dxvkVersion The DXVK version to download + * @returns {DXVK} The DXVK object + */ + withVersion(dxvkVersion) { + this.dxvkVersion = dxvkVersion; - if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") { - this.wizard().message(tr("DXVK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement")); - } - else { - this.wizard().message(tr("Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else DXVK might not work correctly.")); + return this; } - if (typeof dxvkVersion !== 'string') { - var releaseFile = new Resource() - .wizard(this.wizard()) - .url("https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE") - .name("RELEASE.txt") - .get(); - dxvkVersion = cat(releaseFile).replaceAll("\\n", ""); - } + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const sys32dir = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + print("NOTE: wine version should be greater or equal to 3.10"); + + if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") { + wizard.message( + tr( + "DXVK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement" + ) + ); + } else { + wizard.message( + tr( + "Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else DXVK might not work correctly." + ) + ); + } + + if (typeof this.dxvkVersion !== "string") { + const releaseFile = new Resource() + .wizard(wizard) + .url("https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE") + .name("RELEASE.txt") + .get(); - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://github.com/doitsujin/dxvk/releases/download/v" + dxvkVersion + "/dxvk-" + dxvkVersion + ".tar.gz") - .name("dxvk-" + dxvkVersion + ".tar.gz") - .get(); - - new Extractor() - .wizard(this.wizard()) - .archive(setupFile) - .to(this.prefixDirectory() + "/TMP/") - .extract(); - - var forEach = Array.prototype.forEach; - var sys32dir = this.system32directory(); - var dxvkTmpDir = this.prefixDirectory() + "/TMP/dxvk-" + dxvkVersion; - var self = this; - - //Copy 32 bits dll to system* and apply override - forEach.call(ls(dxvkTmpDir + "/x32"), function (file) { - if (file.endsWith(".dll")) { - cp(dxvkTmpDir + "/x32/" + file, sys32dir); - self.overrideDLL() - .set("native", [file]) - .do(); + this.dxvkVersion = cat(releaseFile).replaceAll("\\n", ""); } - }); - if (this.architecture() == "amd64") { - var sys64dir = this.system64directory(); - //Copy 64 bits dll to system* - forEach.call(ls(dxvkTmpDir + "/x64"), function (file) { + const setupFile = new Resource() + .wizard(wizard) + .url( + `https://github.com/doitsujin/dxvk/releases/download/v${this.dxvkVersion}/dxvk-${this.dxvkVersion}.tar.gz` + ) + .name(`dxvk-${this.dxvkVersion}.tar.gz`) + .get(); + + new Extractor() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/TMP/`) + .extract(); + + const dxvkTmpDir = `${prefixDirectory}/TMP/dxvk-${this.dxvkVersion}`; + + //Copy 32 bits dll to system* and apply override + ls(`${dxvkTmpDir}/x32`).forEach(file => { if (file.endsWith(".dll")) { - cp(dxvkTmpDir + "/x64/" + file, sys64dir); + cp(`${dxvkTmpDir}/x32/${file}`, sys32dir); + + this.wine + .overrideDLL() + .set("native", [file]) + .do(); } }); - } - remove(this.prefixDirectory() + "/TMP/"); + if (architecture == "amd64") { + const sys64dir = this.wine.system64directory(); - return this; -} + //Copy 64 bits dll to system* + ls(`${dxvkTmpDir}/x64`).forEach(file => { + if (file.endsWith(".dll")) { + cp(`${dxvkTmpDir}/x64/${file}`, sys64dir); + } + }); + } -/** - * Verb to install DXVK - */ -// eslint-disable-next-line no-unused-vars -module.default = class DXVKVerb { - constructor() { - // do nothing + remove(`${prefixDirectory}/TMP/`); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "DXVK", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "DXVK", java.util.Optional.empty()); + wine.wizard(wizard); // get latest release version - var releaseFile = new Resource() + const releaseFile = new Resource() .wizard(wizard) .url("https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE") .name("RELEASE.txt") .get(); - var latestVersion = cat(releaseFile).replaceAll("\\n", ""); + const latestVersion = cat(releaseFile).replaceAll("\\n", ""); + // query desired version (default: latest release version) - var versions = [ - "1.2.2", "1.2.1", "1.2", + const versions = [ + "1.2.2", + "1.2.1", + "1.2", "1.1.1", - "1.0.3", "1.0.2", "1.0.1", "1.0", - "0.96", "0.95", "0.94", "0.93", "0.92", "0.91", "0.90", - "0.81", "0.80", "0.72", "0.71", "0.70", - "0.65", "0.64", "0.63", "0.62", "0.61", "0.60", - "0.54", "0.53", "0.52", "0.51", "0.50", - "0.42", "0.41", "0.40", - "0.31", "0.30", - "0.21", "0.20" + "1.0.3", + "1.0.2", + "1.0.1", + "1.0", + "0.96", + "0.95", + "0.94", + "0.93", + "0.92", + "0.91", + "0.90", + "0.81", + "0.80", + "0.72", + "0.71", + "0.70", + "0.65", + "0.64", + "0.63", + "0.62", + "0.61", + "0.60", + "0.54", + "0.53", + "0.52", + "0.51", + "0.50", + "0.42", + "0.41", + "0.40", + "0.31", + "0.30", + "0.21", + "0.20" ]; - var selectedVersion = wizard.menu(tr("Please select the version."), versions, latestVersion); - wine.wizard(wizard); + const selectedVersion = wizard.menu(tr("Please select the version."), versions, latestVersion); + // install selected version - wine.DXVK(selectedVersion.text); + new DXVK(wine).withVersion(selectedVersion.text).go(); wizard.close(); } } + +module.default = DXVK; diff --git a/Engines/Wine/Verbs/FAudio/script.js b/Engines/Wine/Verbs/FAudio/script.js index 344a23083e..53e48eb429 100644 --- a/Engines/Wine/Verbs/FAudio/script.js +++ b/Engines/Wine/Verbs/FAudio/script.js @@ -1,81 +1,90 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {Extractor} = include("utils.functions.filesystem.extract"); -const {ls, cp} = include("utils.functions.filesystem.files"); +const { Extractor } = include("utils.functions.filesystem.extract"); +const { ls, cp } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install FAudio * see: https://github.com/Kron4ek/FAudio-Builds - * - * @param {String} faudioVersion version of FAudio to downlaod - * @returns {Wine} Wine object */ -Wine.prototype.faudio = function (faudioVersion) { - if (this.architecture() != "amd64") { - throw "FAudio does not support 32bit architecture."; +class FAudio { + constructor(wine) { + this.wine = wine; } - if (typeof faudioVersion !== "string") { - faudioVersion = "19.06.07"; + + /** + * Sets the used FAudio version + * + * @param {string} faudioVersion The version of FAudio to downlaod + * @returns {FAudio} The FAudio object + */ + withVersion(faudioVersion) { + this.faudioVersion = faudioVersion; + + return this; } - var setupFile = new Resource() - .wizard(this.wizard()) - .url( - "https://github.com/Kron4ek/FAudio-Builds/releases/download/" + - faudioVersion + - "/faudio-" + - faudioVersion + - ".tar.xz" - ) - .name("faudio-" + faudioVersion + ".tar.xz") - .get(); - - new Extractor() - .wizard(this.wizard()) - .archive(setupFile) - .to(this.prefixDirectory() + "/FAudio/") - .extract(); - - var forEach = Array.prototype.forEach; - var sys64dir = this.system64directory(); - var faudioDir = this.prefixDirectory() + "/FAudio/faudio-" + faudioVersion; - var self = this; - - forEach.call(ls(faudioDir + "/x64"), function (file) { - if (file.endsWith(".dll")) { - cp(faudioDir + "/x64/" + file, sys64dir); - self.overrideDLL() - .set("native", [file]) - .do(); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system64directory = this.wine.system64directory(); + + if (this.wine.architecture() != "amd64") { + throw "FAudio does not support 32bit architecture."; } - }); - return this; -}; + if (typeof this.faudioVersion !== "string") { + this.faudioVersion = "19.08"; + } -/** - * Verb to install FAudio - */ -// eslint-disable-next-line no-unused-vars -module.default = class FAudioVerb { - constructor() { - // do nothing - } + const setupFile = new Resource() + .wizard(wizard) + .url( + `https://github.com/Kron4ek/FAudio-Builds/releases/download/${this.faudioVersion}/faudio-${this.faudioVersion}.tar.xz` + ) + .name(`faudio-${this.faudioVersion}.tar.xz`) + .get(); - install(container) { - const wizard = SetupWizard(InstallationType.VERBS, "FAudio", java.util.Optional.empty()); - const versions = ["19.06.07", "19.06", "19.05", "19.04", "19.03", "19.02", "19.01"]; + new Extractor() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/FAudio/`) + .extract(); - const selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.06.07"); + const faudioDir = `${prefixDirectory}/FAudio/faudio-${this.faudioVersion}`; + ls(`${faudioDir}/x64`).forEach(file => { + if (file.endsWith(".dll")) { + cp(`${faudioDir}/x64/${file}`, system64directory); + + this.wine + .overrideDLL() + .set("native", [file]) + .do(); + } + }); + } + + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "FAudio", Optional.empty()); + wine.prefix(container); wine.wizard(wizard); + + const versions = ["19.08", "19.07", "19.06.07", "19.06", "19.05", "19.04", "19.03", "19.02", "19.01"]; + + const selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.08"); + // install selected version - wine.faudio(selectedVersion.text); + new FAudio(wine).withVersion(selectedVersion.text).go(); wizard.close(); } } + +module.default = FAudio; diff --git a/Engines/Wine/Verbs/PhysX/script.js b/Engines/Wine/Verbs/PhysX/script.js index 61eca9476f..1ac2bd77c6 100644 --- a/Engines/Wine/Verbs/PhysX/script.js +++ b/Engines/Wine/Verbs/PhysX/script.js @@ -1,42 +1,42 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); /** * Verb to install Nvidia PhysX - * - * @returns {Wine} Wine object */ -Wine.prototype.physx = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi") - .checksum("81e2d38e2356e807ad80cdf150ed5acfff839c8b") - .name("PhysX-9.14.0702-SystemSoftware.msi") - .get(); +class PhysX { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait while {0} is installed...", "PhysX")); - this.run("msiexec", ["/i", setupFile, "/q"], null, false, true); + go() { + const wizard = this.wine.wizard(); - return this; -}; + const setupFile = new Resource() + .wizard(wizard) + .url("http://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi") + .checksum("81e2d38e2356e807ad80cdf150ed5acfff839c8b") + .name("PhysX-9.14.0702-SystemSoftware.msi") + .get(); -/** - * Verb to install Nvidia PhysX - */ -// eslint-disable-next-line no-unused-vars -module.default = class PhysXVerb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "PhysX")); + + this.wine.run("msiexec", ["/i", setupFile, "/q"], null, false, true); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "physx", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "physx", java.util.Optional.empty()); wine.wizard(wizard); - wine.physx(); + + new PhysX(wine).go(); + wizard.close(); } } + +module.default = PhysX; diff --git a/Engines/Wine/Verbs/QuickTime 7.6/script.js b/Engines/Wine/Verbs/QuickTime 7.6/script.js index 8bd2a6ec64..6eecb2679d 100644 --- a/Engines/Wine/Verbs/QuickTime 7.6/script.js +++ b/Engines/Wine/Verbs/QuickTime 7.6/script.js @@ -1,40 +1,55 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + /** * Verb to install QuickTime 7.6 - * - * @returns {Wine} Wine object */ -Wine.prototype.quicktime76 = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://appldnld.apple.com/QuickTime/041-0025.20101207.Ptrqt/QuickTimeInstaller.exe") - .checksum("1eec8904f041d9e0ad3459788bdb690e45dbc38e") - .name("QuickTimeInstaller.exe") - .get(); +class QuickTime76 { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait while {0} is installed...", "QuickTime")); - this.run(setupFile, ["ALLUSERS=1", "DESKTOP_SHORTCUTS=0", "QTTaskRunFlags=0", "QTINFO.BISQTPRO=1", "SCHEDULE_ASUW=0", "REBOOT_REQUIRED=No"], null, false, true); + go() { + const wizard = this.wine.wizard(); - return this; -}; + const setupFile = new Resource() + .wizard(wizard) + .url("http://appldnld.apple.com/QuickTime/041-0025.20101207.Ptrqt/QuickTimeInstaller.exe") + .checksum("1eec8904f041d9e0ad3459788bdb690e45dbc38e") + .name("QuickTimeInstaller.exe") + .get(); -/** - * Verb to install QuickTime 7.6 - */ -// eslint-disable-next-line no-unused-vars -module.default = class QuickTime76Verb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "QuickTime")); + + this.wine.run( + setupFile, + [ + "ALLUSERS=1", + "DESKTOP_SHORTCUTS=0", + "QTTaskRunFlags=0", + "QTINFO.BISQTPRO=1", + "SCHEDULE_ASUW=0", + "REBOOT_REQUIRED=No" + ], + null, + false, + true + ); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "quicktime76", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "quicktime76", java.util.Optional.empty()); wine.wizard(wizard); + wine.quicktime76(); + wizard.close(); } } + +module.default = QuickTime76; diff --git a/Engines/Wine/Verbs/Remove Mono/script.js b/Engines/Wine/Verbs/Remove Mono/script.js index 415cc61c92..6261f18752 100644 --- a/Engines/Wine/Verbs/Remove Mono/script.js +++ b/Engines/Wine/Verbs/Remove Mono/script.js @@ -1,48 +1,55 @@ const Wine = include("engines.wine.engine.object"); -const {remove} = include("utils.functions.filesystem.files"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.regedit"); /** * Verb to remove mono - * - * @returns {Wine} Wine object */ -Wine.prototype.removeMono = function () { - if (this.uninstall("Mono")) { - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteKey("HKLM\\Software\\Microsoft\\.NETFramework\\v2.0.50727\\SBSDisabled"); +class RemoveMono { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v3.5"); + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); + const system64directory = this.wine.system64directory(); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4"); + if (this.wine.uninstall("Mono")) { + wizard.wait(tr("Please wait...")); - remove(this.system32directory() + "/mscoree.dll"); - if (this.architecture() == "amd64") { - remove(this.system64directory() + "/mscoree.dll"); - } - } + this.wine.regedit().deleteKey("HKLM\\Software\\Microsoft\\.NETFramework\\v2.0.50727\\SBSDisabled"); - return this; -}; + wizard.wait(tr("Please wait...")); -/** - * Verb to remove mono - */ -// eslint-disable-next-line no-unused-vars -module.default = class RemoveMonoVerb { - constructor() { - // do nothing + this.wine.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v3.5"); + + wizard.wait(tr("Please wait...")); + + this.wine.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4"); + + remove(`${system32directory}/mscoree.dll`); + + if (this.wine.architecture() == "amd64") { + remove(`${system64directory}/mscoree.dll`); + } + } } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "remove_mono", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "remove_mono", java.util.Optional.empty()); wine.wizard(wizard); - wine.removeMono(); + + new RemoveMono(wine).go(); + wizard.close(); } } + +module.default = RemoveMono; diff --git a/Engines/Wine/Verbs/Tahoma/script.js b/Engines/Wine/Verbs/Tahoma/script.js index 93f52135a0..44ec9d1cb4 100644 --- a/Engines/Wine/Verbs/Tahoma/script.js +++ b/Engines/Wine/Verbs/Tahoma/script.js @@ -1,55 +1,59 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {cp} = include("utils.functions.filesystem.files"); -const {CabExtract} = include("utils.functions.filesystem.extract"); +const { cp } = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.register_font"); -include("engines.wine.verbs.luna"); /** * Verb to install the Tahoma font - * - * @returns {Wine} Wine object */ -Wine.prototype.tahoma = function () { - var tahoma = new Resource() - .wizard(this.wizard()) - .url("https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB") - .checksum("40c3771ba4ce0811fe18a7a7903e40fcce46422d") - .name("IELPKTH.CAB") - .get(); - - new CabExtract() - .archive(tahoma) - .to(this.prefixDirectory() + "/drive_c/tahoma/") - .extract(["-L", "-F", "tahoma*.tff"]); - - cp(this.prefixDirectory() + "/drive_c/tahoma/tahoma.ttf", this.fontDirectory()); - cp(this.prefixDirectory() + "/drive_c/tahoma/tahomabd.ttf", this.fontDirectory()); - - this.registerFont() - .set("Tahoma", "tahoma.ttf") - .set("Tahoma Bold", "tahomabd.ttf") - .do(); - - return this; -}; +class Tahoma { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install the Tahoma font - */ -// eslint-disable-next-line no-unused-vars -module.default = class TahomaVerb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const fontDirectory = this.wine.fontDirectory(); + + const tahoma = new Resource() + .wizard(wizard) + .url("https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB") + .checksum("40c3771ba4ce0811fe18a7a7903e40fcce46422d") + .name("IELPKTH.CAB") + .get(); + + new CabExtract() + .wizard(wizard) + .archive(tahoma) + .to(`${prefixDirectory}/drive_c/tahoma/`) + .extract(["-L", "-F", "tahoma*.tff"]); + + cp(`${prefixDirectory}/drive_c/tahoma/tahoma.ttf`, fontDirectory); + cp(`${prefixDirectory}/drive_c/tahoma/tahomabd.ttf`, fontDirectory); + + this.wine + .registerFont() + .set("Tahoma", "tahoma.ttf") + .set("Tahoma Bold", "tahomabd.ttf") + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "tahoma", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "tahoma", java.util.Optional.empty()); wine.wizard(wizard); - wine.tahoma(); + + new Tahoma(wine).go(); + wizard.close(); } } + +module.default = Tahoma; diff --git a/Engines/Wine/Verbs/Uplay/script.js b/Engines/Wine/Verbs/Uplay/script.js index 73a98ac6b1..59f6254840 100644 --- a/Engines/Wine/Verbs/Uplay/script.js +++ b/Engines/Wine/Verbs/Uplay/script.js @@ -1,39 +1,45 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + /** * Verb to install Uplay - * - * @returns {Wine} Wine object */ -Wine.prototype.uplay = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe") - .name("UplayInstaller.exe") - .get(); +class Uplay { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please follow the steps of the Uplay setup.\n\nUncheck \"Run Uplay\" or close Uplay completely after the setup so that the installation can continue.")); - this.run(setupFile, [], null, false, true); + go() { + const wizard = this.wine.wizard(); - return this; -}; + const setupFile = new Resource() + .wizard(wizard) + .url("https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe") + .name("UplayInstaller.exe") + .get(); -/** - * Verb to install Uplay - */ -// eslint-disable-next-line no-unused-vars -module.default = class UplayVerb { - constructor() { - // do nothing + wizard.wait( + tr( + 'Please follow the steps of the Uplay setup.\n\nUncheck "Run Uplay" or close Uplay completely after the setup so that the installation can continue.' + ) + ); + + this.wine.run(setupFile, [], null, false, true); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "uplay", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "uplay", java.util.Optional.empty()); wine.wizard(wizard); - wine.uplay(); + + new Uplay(wine).go(); + wizard.close(); } } + +module.default = Uplay; diff --git a/Engines/Wine/Verbs/VK9/script.js b/Engines/Wine/Verbs/VK9/script.js index b5075ec1e0..0264b30f59 100644 --- a/Engines/Wine/Verbs/VK9/script.js +++ b/Engines/Wine/Verbs/VK9/script.js @@ -1,98 +1,123 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {Extractor} = include("utils.functions.filesystem.extract"); -const {cp, remove} = include("utils.functions.filesystem.files"); +const { Extractor } = include("utils.functions.filesystem.extract"); +const { cp, remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); +const operatingSystemFetcher = Bean("operatingSystemFetcher"); + /** * Verb to install VK9 * see: https://github.com/disks86/VK9 - * - * @param {String} vk9Version VK9 version to install - * @returns {Wine} Wine object */ -Wine.prototype.VK9 = function (vk9Version) { - var operatingSystemFetcher = Bean("operatingSystemFetcher"); - - if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") { - this.wizard().message(tr("VK9 might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement")); - } else { - this.wizard().message(tr("Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else VK9 might not work correctly.")); +class VK9 { + constructor(wine) { + this.wine = wine; } - print("NOTE: wine version should be greater or equal to 3.5"); - print("NOTE: works from 0.28.0"); + /** + * Sets the VK9 version to install + * + * @param {string} vk9Version The VK9 version to install + * @returns {VK9} The VK9 object + */ + withVersion(vk9Version) { + this.vk9Version = vk9Version; - if (typeof vk9Version !== 'string') { - vk9Version = "0.29.0"; + return this; } - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://github.com/disks86/VK9/releases/download/" + vk9Version + "/" + vk9Version + "-bin-x86-Release.zip") - .name(vk9Version + "-bin-x86-Realease.zip") - .get(); - - new Extractor() - .wizard(this.wizard()) - .archive(setupFile32) - .to(this.prefixDirectory() + "/TMP32/") - .extract(); - - cp(this.prefixDirectory() + "/TMP32/" + vk9Version + "-bin-x86-Release/" + "d3d9.dll", this.system32directory()); - - remove(this.prefixDirectory() + "/TMP32/"); - - if (this.architecture() === "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://github.com/disks86/VK9/releases/download/" + vk9Version + "/" + vk9Version + "-bin-x86_64-Release.zip") - .name(vk9Version + "-bin-x86_64-Realease.zip") + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const system64directory = this.wine.system64directory(); + + if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") { + wizard.message( + tr( + "VK9 might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement" + ) + ); + } else { + wizard.message( + tr( + "Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else VK9 might not work correctly." + ) + ); + } + + print("NOTE: wine version should be greater or equal to 3.5"); + print("NOTE: works from 0.28.0"); + + if (typeof this.vk9Version !== "string") { + this.vk9Version = "0.29.0"; + } + + const setupFile32 = new Resource() + .wizard(wizard) + .url( + `https://github.com/disks86/VK9/releases/download/${this.vk9Version}/${this.vk9Version}-bin-x86-Release.zip` + ) + .name(`${this.vk9Version}-bin-x86-Realease.zip`) .get(); new Extractor() - .wizard(this.wizard()) - .archive(setupFile64) - .to(this.prefixDirectory() + "/TMP64/") + .wizard(wizard) + .archive(setupFile32) + .to(`${prefixDirectory}/TMP32/`) .extract(); - cp(this.prefixDirectory() + "/TMP64/" + vk9Version + "-bin-x86_64-Release/" + "d3d9.dll", this.system64directory()); + cp(`${prefixDirectory}/TMP32/${this.vk9Version}-bin-x86-Release/d3d9.dll`, system32directory); - remove(this.prefixDirectory() + "/TMP64/"); - } + remove(`${prefixDirectory}/TMP32/`); - this.overrideDLL() - .set("native", ["d3d9"]) - .do(); + if (this.wine.architecture() === "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + `https://github.com/disks86/VK9/releases/download/${this.vk9Version}/${this.vk9Version}-bin-x86_64-Release.zip` + ) + .name(`${this.vk9Version}-bin-x86_64-Realease.zip`) + .get(); - return this; -} + new Extractor() + .wizard(wizard) + .archive(setupFile64) + .to(`${prefixDirectory}/TMP64/`) + .extract(); -/** - * Verb to install VK9 - */ -// eslint-disable-next-line no-unused-vars -module.default = class VK9Verb { - constructor() { - // do nothing + cp(`${prefixDirectory}/TMP64/${this.vk9Version}-bin-x86_64-Release/d3d9.dll`, system64directory); + + remove(`${prefixDirectory}/TMP64/`); + } + + this.wine + .overrideDLL() + .set("native", ["d3d9"]) + .do(); } - install(container) { - var wine = new Wine(); - wine.prefix(container); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "VK9", Optional.empty()); - var wizard = SetupWizard(InstallationType.VERBS, "VK9", java.util.Optional.empty()); + wine.prefix(container); + wine.wizard(wizard); // this script is not able to install older versions (VK9.conf mandatory) - var versions = ["0.29.0", "0.28.1", "0.28.0"]; + const versions = ["0.29.0", "0.28.1", "0.28.0"]; // query desired version (default: 0.28.1) - var selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.28.1"); - wine.wizard(wizard); + const selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.28.1"); // install selected version - wine.VK9(selectedVersion.text); + new VK9(wine).withVersion(selectedVersion.text).go(); wizard.close(); } } + +module.default = VK9; diff --git a/Engines/Wine/Verbs/Windows XP SP 3/script.js b/Engines/Wine/Verbs/Windows XP SP 3/script.js index 4b550ee7c5..eb27c77470 100644 --- a/Engines/Wine/Verbs/Windows XP SP 3/script.js +++ b/Engines/Wine/Verbs/Windows XP SP 3/script.js @@ -3,54 +3,60 @@ const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); const { remove, fileName } = include("utils.functions.filesystem.files"); +const Optional = Java.type("java.util.Optional"); + /** * Verb to install Windows XP Service Pack 3 - * - * @param {string} fileToExtract path to file which shall be extracted - * @returns {Wine} Wine object */ -Wine.prototype.sp3extract = function (fileToExtract) { - const targetDirectory = this.system32directory(); +class WindowsXPSP3 { + constructor(wine) { + this.wine = wine; + } - const setupFile = new Resource() - .wizard(this.wizard()) - .url("http://freeware.epsc.wustl.edu/Win/XP_SP3/WindowsXP-KB936929-SP3-x86-ENU.exe") - .checksum("c81472f7eeea2eca421e116cd4c03e2300ebfde4") - .name("WindowsXP-KB936929-SP3-x86-ENU.exe") - .get(); + /** + * Sets the path to the file which shall be extracted + * + * @param {string} fileToExtract The path to the file which shall be extracted + * @returns {WindowsXPSP3} The WindowsXPSP3 object + */ + withFileToExtract(fileToExtract) { + this.fileToExtract = fileToExtract; - new CabExtract() - .archive(setupFile) - .wizard(this.wizard()) - .to(this.prefixDirectory() + "/drive_c/sp3/") - .extract(["-F", "i386/" + fileToExtract.slice(0, -1) + "_"]); + return this; + } - remove(targetDirectory + "/" + fileToExtract); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); - new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/sp3/i386/" + fileToExtract.slice(0, -1) + "_") - .wizard(this.wizard()) - .to(targetDirectory) - .extract(); + const setupFile = new Resource() + .wizard(wizard) + .url("http://freeware.epsc.wustl.edu/Win/XP_SP3/WindowsXP-KB936929-SP3-x86-ENU.exe") + .checksum("c81472f7eeea2eca421e116cd4c03e2300ebfde4") + .name("WindowsXP-KB936929-SP3-x86-ENU.exe") + .get(); - return this; -}; + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/sp3/`) + .extract(["-F", `i386/${this.fileToExtract.slice(0, -1)}_`]); -/** - * Verb to install Windows XP Service Pack 3 - */ -module.default = class WindowsXPSP3Verb { - constructor() { - // do nothing + remove(`${system32directory}/${this.fileToExtract}`); + + new CabExtract() + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/sp3/i386/${this.fileToExtract.slice(0, -1)}_`) + .to(system32directory) + .extract(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "sp3extract", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "sp3extract", java.util.Optional.empty()); - wine.wizard(wizard); // query .dll file which shall be extracted @@ -59,8 +65,10 @@ module.default = class WindowsXPSP3Verb { ); // extract requested file - wine.sp3extract(fileToExtract); + new WindowsXPSP3(wine).withFileToExtract(fileToExtract).go(); wizard.close(); } -}; +} + +module.default = WindowsXPSP3; diff --git a/Engines/Wine/Verbs/adobeair/script.js b/Engines/Wine/Verbs/adobeair/script.js index cccd475559..c5d334f5fb 100644 --- a/Engines/Wine/Verbs/adobeair/script.js +++ b/Engines/Wine/Verbs/adobeair/script.js @@ -1,52 +1,49 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.windows_version"); /** * Verb to install adobeair - * - * @returns {Wine} Wine object */ -Wine.prototype.adobeair = function () { - const adobeair = new Resource() - .wizard(this.wizard()) - .url("https://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe") - .name("AdobeAIRInstaller.exe") - .get(); - - // Using Windows XP to workaround the wine bug 43506 - // See https://bugs.winehq.org/show_bug.cgi?id=43506 - const currentWindowsVersion = this.windowsVersion(); +class AdobeAir { + constructor(wine) { + this.wine = wine; + } - this.windowsVersion("winxp"); + go() { + const wizard = this.wine.wizard(); + // Using Windows XP to workaround the wine bug 43506 + // See https://bugs.winehq.org/show_bug.cgi?id=43506 + const currentWindowsVersion = this.wine.windowsVersion(); - this.run(adobeair); - this.wait(); + this.wine.windowsVersion("winxp"); - this.windowsVersion(currentWindowsVersion); + const adobeair = new Resource() + .wizard(wizard) + .url("https://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe") + .name("AdobeAIRInstaller.exe") + .get(); - return this; -}; + this.wine.run(adobeair); + this.wine.wait(); -/** - * Verb to install adobeair - */ -// eslint-disable-next-line no-unused-vars -module.default = class AdobeAirVerb { - constructor() { - // do nothing + this.wine.windowsVersion(currentWindowsVersion); } - install(container) { + static install(container) { const wine = new Wine(); - wine.prefix(container); + const wizard = SetupWizard(InstallationType.VERBS, "adobeair", Optional.empty()); - const wizard = SetupWizard(InstallationType.VERBS, "adobeair", java.util.Optional.empty()); + wine.prefix(container); wine.wizard(wizard); - wine.adobeair(); + new AdobeAir(wine).go(); wizard.close(); } } + +module.default = AdobeAir; diff --git a/Engines/Wine/Verbs/amstream/script.js b/Engines/Wine/Verbs/amstream/script.js index f5dc4fa345..91b430bbe3 100644 --- a/Engines/Wine/Verbs/amstream/script.js +++ b/Engines/Wine/Verbs/amstream/script.js @@ -1,76 +1,106 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {cp, remove} = include("utils.functions.filesystem.files"); -const {CabExtract} = include("utils.functions.filesystem.extract"); +const { cp, remove } = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.regsvr32"); -include("engines.wine.verbs.luna"); /** * Verb to install amstream - * - * @returns {Wine} Wine object */ -Wine.prototype.amstream = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe") - .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa") - .name("windows6.1-KB976932-X86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "amstream")); - - remove(this.system32directory() + "/amstream.dll"); - - new CabExtract() - .archive(setupFile) - .to(this.system32directory()) - .extract(["-L", "-F", "x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll"]); - - cp(this.system32directory() + "/x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll", this.system32directory()); - this.regsvr32().install("amstream.dll"); - - if (this.architecture() == "amd64") { - var setupFilex64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe") - .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab") - .name("windows6.1-KB976932-X64.exe") +class Amstream { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe" + ) + .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa") + .name("windows6.1-KB976932-X86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "amstream")); - remove(this.system64directory() + "/amstream.dll"); + + wizard.wait(tr("Please wait while {0} is installed...", "amstream")); + + remove(`${system32directory}/amstream.dll`); + new CabExtract() - .archive(setupFilex64) - .to(this.system64directory()) - .extract(["-L", "-F", "amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll"]); - cp(this.system64directory() + "/amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll", this.system64directory()); - this.regsvr64().install("amstream.dll"); - } + .wizard(wizard) + .archive(setupFile) + .to(system32directory) + .extract([ + "-L", + "-F", + "x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll" + ]); - this.overrideDLL() - .set("native,builtin", ["amstream"]) - .do(); + cp( + `${system32directory}/x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll`, + system32directory + ); - return this; -}; + this.wine.regsvr32().install("amstream.dll"); -/** - * Verb to install amstream - */ -// eslint-disable-next-line no-unused-vars -module.default = class AmstreamVerb { - constructor() { - // do nothing + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + + const setupFilex64 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe" + ) + .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab") + .name("windows6.1-KB976932-X64.exe") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "amstream")); + + remove(`${system64directory}/amstream.dll`); + + new CabExtract() + .wizard(wizard) + .archive(setupFilex64) + .to(system64directory) + .extract([ + "-L", + "-F", + "amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll" + ]); + cp( + `${system64directory}/amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll`, + system64directory + ); + + this.wine.regsvr64().install("amstream.dll"); + } + + this.wine + .overrideDLL() + .set("native,builtin", ["amstream"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "amstream", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "amstream", java.util.Optional.empty()); wine.wizard(wizard); - wine.amstream(); + + new Amstream(wine).go(); + wizard.close(); } } + +module.default = Amstream; diff --git a/Engines/Wine/Verbs/atmlib/script.js b/Engines/Wine/Verbs/atmlib/script.js index 6abd9e84de..8473c35b8c 100644 --- a/Engines/Wine/Verbs/atmlib/script.js +++ b/Engines/Wine/Verbs/atmlib/script.js @@ -1,53 +1,57 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove } = 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; -}; +const Optional = Java.type("java.util.Optional"); /** * Verb to install atmlib */ -// eslint-disable-next-line no-unused-vars -module.default = class AtmlibVerb { - constructor() { - // do nothing +class Atmlib { + constructor(wine) { + this.wine = wine; } - install(container) { - var wine = new Wine(); + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); + + const setupFile = new Resource() + .wizard(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(wizard) + .to(system32directory) + .extract(); + + new CabExtract() + .archive(`${system32directory}/i386/atmlib.dl_`) + .wizard(wizard) + .to(system32directory) + .extract(); + + remove(`${system32directory}/i386/`); + } + + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "atmlib", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "atmlib", java.util.Optional.empty()); wine.wizard(wizard); - wine.atmlib(); + + new Atmlib(wine).go(); + wizard.close(); } } + +module.default = Atmlib; diff --git a/Engines/Wine/Verbs/corefonts/script.js b/Engines/Wine/Verbs/corefonts/script.js index 8a490e2d9b..2cf6ddf899 100644 --- a/Engines/Wine/Verbs/corefonts/script.js +++ b/Engines/Wine/Verbs/corefonts/script.js @@ -2,157 +2,156 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.register_font"); -include("engines.wine.verbs.luna"); /** * Verb to install corefonts - * - * @returns {Wine} Wine object */ -Wine.prototype.corefonts = function () { - const fontResources = [ - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/arial32.exe") - .checksum("6d75f8436f39ab2da5c31ce651b7443b4ad2916e") - .name("arial32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe") - .checksum("d45cdab84b7f4c1efd6d1b369f50ed0390e3d344") - .name("arialb32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/comic32.exe") - .checksum("2371d0327683dcc5ec1684fe7c275a8de1ef9a51") - .name("comic32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/courie32.exe") - .checksum("06a745023c034f88b4135f5e294fece1a3c1b057") - .name("courie32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe") - .checksum("90e4070cb356f1d811acb943080bf97e419a8f1e") - .name("georgi32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/impact32.exe") - .checksum("86b34d650cfbbe5d3512d49d2545f7509a55aad2") - .name("impact32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/times32.exe") - .checksum("20b79e65cdef4e2d7195f84da202499e3aa83060") - .name("times32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe ") - .checksum("50aab0988423efcc9cf21fac7d64d534d6d0a34a") - .name("trebuc32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe ") - .checksum("f5b93cedf500edc67502f116578123618c64a42a") - .name("verdan32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe ") - .checksum("2fb4a42c53e50bc70707a7b3c57baf62ba58398f") - .name("webdin32.exe") - .get() - ]; - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Installing {0}...", tr("fonts"))); - progressBar.setProgressPercentage(0); - - fontResources.reduce((numInstalledFonts, fontResource) => { - progressBar.setText(tr("Installing {0}...", tr("fonts"))); - progressBar.setProgressPercentage((numInstalledFonts * 100) / fontResources.length); - - new CabExtract() - .archive(fontResource) - .wizard(this.wizard()) - .to(this.fontDirectory()) - .extract(); - - return numInstalledFonts + 1; - }, 0); - - this.registerFont() - .set("Arial", "Arial.TTF") - .set("Arial Bold", "Arialbd.TTF") - .set("Arial Bold Italic", "Arialbi.TTF") - .set("Arial Italic", "Ariali.TTF") - .set("Arial Black", "AriBlk.TTF") - .set("Comic Sans MS", "Comic.TTF") - .set("Comic Sans MS Bold", "Comicbd.TTF") - .set("Courier New", "Cour.TTF") - .set("Courier New Bold", "CourBD.TTF") - .set("Courier New Bold Italic", "CourBI.TTF") - .set("Courier New Italic", "Couri.TTF") - .set("Georgia", "Georgia.TTF") - .set("Georgia Bold", "Georgiab.TTF") - .set("Georgia Bold Italic", "Georgiaz.TTF") - .set("Georgia Italic", "Georgiai.TTF") - .set("Impact", "Impact.TTF") - .set("Times New Roman", "Times.TTF") - .set("Times New Roman Bold", "Timesbd.TTF") - .set("Times New Roman Bold Italic", "Timesbi.TTF") - .set("Times New Roman Italic", "Timesi.TTF") - .set("Trebucet MS", "Trebuc.TTF") - .set("Trebucet MS Bold", "Trebucbd.TTF") - .set("Trebucet MS Bold Italic", "Trebucbi.TTF") - .set("Trebucet MS Italic", "Trebucit.TTF") - .set("Verdana", "Verdana.TTF") - .set("Verdana Bold", "Verdanab.TTF") - .set("Verdana Bold Italic", "Verdanaz.TTF") - .set("Verdana Italic", "Verdanai.TTF") - .set("Webdings", "Webdings.TTF") - .do(); - - return this; -}; +class Corefonts { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install corefonts - */ -module.default = class CorefontsVerb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const fontDirectory = this.wine.fontDirectory(); + + const fontResources = [ + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/arial32.exe") + .checksum("6d75f8436f39ab2da5c31ce651b7443b4ad2916e") + .name("arial32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe") + .checksum("d45cdab84b7f4c1efd6d1b369f50ed0390e3d344") + .name("arialb32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/comic32.exe") + .checksum("2371d0327683dcc5ec1684fe7c275a8de1ef9a51") + .name("comic32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/courie32.exe") + .checksum("06a745023c034f88b4135f5e294fece1a3c1b057") + .name("courie32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe") + .checksum("90e4070cb356f1d811acb943080bf97e419a8f1e") + .name("georgi32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/impact32.exe") + .checksum("86b34d650cfbbe5d3512d49d2545f7509a55aad2") + .name("impact32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/times32.exe") + .checksum("20b79e65cdef4e2d7195f84da202499e3aa83060") + .name("times32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe ") + .checksum("50aab0988423efcc9cf21fac7d64d534d6d0a34a") + .name("trebuc32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe ") + .checksum("f5b93cedf500edc67502f116578123618c64a42a") + .name("verdan32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe ") + .checksum("2fb4a42c53e50bc70707a7b3c57baf62ba58398f") + .name("webdin32.exe") + .get() + ]; + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Installing {0}...", tr("fonts"))); + progressBar.setProgressPercentage(0); + + fontResources.reduce((numInstalledFonts, fontResource) => { + progressBar.setText(tr("Installing {0}...", tr("fonts"))); + progressBar.setProgressPercentage((numInstalledFonts * 100) / fontResources.length); + + new CabExtract() + .wizard(wizard) + .archive(fontResource) + .to(fontDirectory) + .extract(); + + return numInstalledFonts + 1; + }, 0); + + this.wine + .registerFont() + .set("Arial", "Arial.TTF") + .set("Arial Bold", "Arialbd.TTF") + .set("Arial Bold Italic", "Arialbi.TTF") + .set("Arial Italic", "Ariali.TTF") + .set("Arial Black", "AriBlk.TTF") + .set("Comic Sans MS", "Comic.TTF") + .set("Comic Sans MS Bold", "Comicbd.TTF") + .set("Courier New", "Cour.TTF") + .set("Courier New Bold", "CourBD.TTF") + .set("Courier New Bold Italic", "CourBI.TTF") + .set("Courier New Italic", "Couri.TTF") + .set("Georgia", "Georgia.TTF") + .set("Georgia Bold", "Georgiab.TTF") + .set("Georgia Bold Italic", "Georgiaz.TTF") + .set("Georgia Italic", "Georgiai.TTF") + .set("Impact", "Impact.TTF") + .set("Times New Roman", "Times.TTF") + .set("Times New Roman Bold", "Timesbd.TTF") + .set("Times New Roman Bold Italic", "Timesbi.TTF") + .set("Times New Roman Italic", "Timesi.TTF") + .set("Trebucet MS", "Trebuc.TTF") + .set("Trebucet MS Bold", "Trebucbd.TTF") + .set("Trebucet MS Bold Italic", "Trebucbi.TTF") + .set("Trebucet MS Italic", "Trebucit.TTF") + .set("Verdana", "Verdana.TTF") + .set("Verdana Bold", "Verdanab.TTF") + .set("Verdana Bold Italic", "Verdanaz.TTF") + .set("Verdana Italic", "Verdanai.TTF") + .set("Webdings", "Webdings.TTF") + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "corefonts", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "corefonts", java.util.Optional.empty()); - wine.wizard(wizard); - wine.corefonts(); + + new Corefonts(wine).go(); wizard.close(); } -}; +} + +module.default = Corefonts; diff --git a/Engines/Wine/Verbs/crypt32/script.js b/Engines/Wine/Verbs/crypt32/script.js index 8e45812b4a..50ecb962af 100644 --- a/Engines/Wine/Verbs/crypt32/script.js +++ b/Engines/Wine/Verbs/crypt32/script.js @@ -1,37 +1,39 @@ const Wine = include("engines.wine.engine.object"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); -include("engines.wine.verbs.sp3extract"); +const WindowsXPSP3 = include("engines.wine.verbs.sp3extract"); /** * Verb to install crypt32 - * - * @returns {Wine} Wine object */ -Wine.prototype.crypt32 = function () { - this.sp3extract("crypt32.dll"); - this.sp3extract("msasn1.dll"); +class Crypt32 { + constructor(wine) { + this.wine = wine; + } - this.overrideDLL() - .set("native, builtin", ["crypt32"]) - .do(); -}; + go() { + new WindowsXPSP3(this.wine).withFileToExtract("crypt32.dll").go(); + new WindowsXPSP3(this.wine).withFileToExtract("msasn1.dll").go(); -/** - * Verb to install crypt32 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Crypt32Verb { - constructor() { - // do nothing + this.wine + .overrideDLL() + .set("native, builtin", ["crypt32"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "crypt32", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "crypt32", java.util.Optional.empty()); wine.wizard(wizard); - wine.crypt32(); + + new Crypt32(wine).go(); + wizard.close(); } } + +module.default = Crypt32; diff --git a/Engines/Wine/Verbs/d3drm/script.js b/Engines/Wine/Verbs/d3drm/script.js index 8d280b50a9..28c3516a17 100644 --- a/Engines/Wine/Verbs/d3drm/script.js +++ b/Engines/Wine/Verbs/d3drm/script.js @@ -1,57 +1,64 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); +const { CabExtract } = include("utils.functions.filesystem.extract"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); -include("engines.wine.verbs.luna"); /** * Verb to install d3drm - * - * @returns {Wine} Wine object */ -Wine.prototype.d3drm = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe") - .checksum("a97c820915dc20929e84b49646ec275760012a42") - .name("directx_feb2010_redist.exe") - .get(); +class D3drm { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait while {0} is installed...", "d3drm")); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3drm/") - .extract(["-L", "-F", "dxnt.cab"]); + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" + ) + .checksum("a97c820915dc20929e84b49646ec275760012a42") + .name("directx_feb2010_redist.exe") + .get(); - new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3drm/dxnt.cab") - .to(this.system32directory()) - .extract(["-L", "-F", "d3drm.dll"]); + wizard.wait(tr("Please wait while {0} is installed...", "d3drm")); - this.overrideDLL() - .set("native", ["d3drm"]) - .do(); + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3drm/`) + .extract(["-L", "-F", "dxnt.cab"]); - return this; -}; + new CabExtract() + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3drm/dxnt.cab`) + .to(system32directory) + .extract(["-L", "-F", "d3drm.dll"]); -/** - * Verb to install d3drm - */ -// eslint-disable-next-line no-unused-vars -module.default = class D3drmVerb { - constructor() { - // do nothing + this.wine + .overrideDLL() + .set("native", ["d3drm"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3drm", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "d3drm", java.util.Optional.empty()); wine.wizard(wizard); - wine.d3drm(); + + new D3drm(wine).go(); + wizard.close(); } } + +module.default = D3drm; diff --git a/Engines/Wine/Verbs/d3dx10/script.js b/Engines/Wine/Verbs/d3dx10/script.js index ea94366615..c17812b978 100644 --- a/Engines/Wine/Verbs/d3dx10/script.js +++ b/Engines/Wine/Verbs/d3dx10/script.js @@ -2,15 +2,31 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install D3DX10 - * - * @returns {Wine} Wine object */ -Wine.prototype.d3dx10 = function () { - const extractDirectXtoSystemDirectory = (progressBar, filesToExtract, destination, pattern) => { +class D3DX10 { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts DirectX10 to the system directory + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to be extracted + * @param {*} destination The destination folder + * @param {*} pattern The file pattern used during extraction + * @returns {void} + */ + extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); @@ -18,110 +34,113 @@ Wine.prototype.d3dx10 = function () { progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3dx10/" + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3dx10/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "DirectX 10")); - progressBar.setProgressPercentage(0); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx10/") - .extract(["-L", "-F", "*d3dx10*x86*"]); - - const filesToExtractx86 = [ - "apr2007_d3dx10_33_x86.cab", - "aug2007_d3dx10_35_x86.cab", - "aug2008_d3dx10_39_x86.cab", - "aug2009_d3dx10_42_x86.cab", - "dec2006_d3dx10_00_x86.cab", - "jun2007_d3dx10_34_x86.cab", - "jun2008_d3dx10_38_x86.cab", - "jun2010_d3dx10_43_x86.cab", - "mar2008_d3dx10_37_x86.cab", - "mar2009_d3dx10_41_x86.cab", - "nov2007_d3dx10_36_x86.cab", - "nov2008_d3dx10_40_x86.cab" - ]; - - extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, this.system32directory(), "d3dx10*.dll"); - - if (this.architecture() == "amd64") { + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "DirectX 10")); + progressBar.setProgressPercentage(0); + new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx10/") - .extract(["-L", "-F", "*d3dx10*x64*"]); - - const filesToExtractx64 = [ - "apr2007_d3dx10_33_x64.cab", - "aug2007_d3dx10_35_x64.cab", - "aug2008_d3dx10_39_x64.cab", - "aug2009_d3dx10_42_x64.cab", - "dec2006_d3dx10_00_x64.cab", - "jun2007_d3dx10_34_x64.cab", - "jun2008_d3dx10_38_x64.cab", - "jun2010_d3dx10_43_x64.cab", - "mar2008_d3dx10_37_x64.cab", - "mar2009_d3dx10_41_x64.cab", - "nov2007_d3dx10_36_x64.cab", - "nov2008_d3dx10_40_x64.cab" + .to(`${prefixDirectory}/drive_c/d3dx10/`) + .extract(["-L", "-F", "*d3dx10*x86*"]); + + const filesToExtractx86 = [ + "apr2007_d3dx10_33_x86.cab", + "aug2007_d3dx10_35_x86.cab", + "aug2008_d3dx10_39_x86.cab", + "aug2009_d3dx10_42_x86.cab", + "dec2006_d3dx10_00_x86.cab", + "jun2007_d3dx10_34_x86.cab", + "jun2008_d3dx10_38_x86.cab", + "jun2010_d3dx10_43_x86.cab", + "mar2008_d3dx10_37_x86.cab", + "mar2009_d3dx10_41_x86.cab", + "nov2007_d3dx10_36_x86.cab", + "nov2008_d3dx10_40_x86.cab" ]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, this.system64directory(), "d3dx10*.dll"); - } + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx10*.dll"); - this.overrideDLL() - .set("native", [ - "d3dx10_33", - "d3dx10_34", - "d3dx10_35", - "d3dx10_36", - "d3dx10_37", - "d3dx10_38", - "d3dx10_39", - "d3dx10_40", - "d3dx10_41", - "d3dx10_42", - "d3dx10_43" - ]) - .do(); - - return this; -}; + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); -/** - * Verb to install D3DX10 - */ -module.default = class D3DX10Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3dx10/`) + .extract(["-L", "-F", "*d3dx10*x64*"]); + + const filesToExtractx64 = [ + "apr2007_d3dx10_33_x64.cab", + "aug2007_d3dx10_35_x64.cab", + "aug2008_d3dx10_39_x64.cab", + "aug2009_d3dx10_42_x64.cab", + "dec2006_d3dx10_00_x64.cab", + "jun2007_d3dx10_34_x64.cab", + "jun2008_d3dx10_38_x64.cab", + "jun2010_d3dx10_43_x64.cab", + "mar2008_d3dx10_37_x64.cab", + "mar2009_d3dx10_41_x64.cab", + "nov2007_d3dx10_36_x64.cab", + "nov2008_d3dx10_40_x64.cab" + ]; + + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx64, system64directory, "d3dx10*.dll"); + } + + this.wine + .overrideDLL() + .set("native", [ + "d3dx10_33", + "d3dx10_34", + "d3dx10_35", + "d3dx10_36", + "d3dx10_37", + "d3dx10_38", + "d3dx10_39", + "d3dx10_40", + "d3dx10_41", + "d3dx10_42", + "d3dx10_43" + ]) + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3dx10", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "d3dx10", java.util.Optional.empty()); - wine.wizard(wizard); - wine.d3dx10(); + + new D3DX10(wine).go(); wizard.close(); } -}; +} + +module.default = D3DX10; diff --git a/Engines/Wine/Verbs/d3dx11/script.js b/Engines/Wine/Verbs/d3dx11/script.js index 75acab41c5..d5b0d71961 100644 --- a/Engines/Wine/Verbs/d3dx11/script.js +++ b/Engines/Wine/Verbs/d3dx11/script.js @@ -2,15 +2,31 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install D3DX11 - * - * @returns {Wine} Wine object */ -Wine.prototype.d3dx11 = function () { - const extractDirectXtoSystemDirectory = (progressBar, filesToExtract, destination, pattern) => { +class D3DX11 { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts DirectX11 to the system directory + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to extract + * @param {*} destination The destination folder + * @param {*} pattern The file pattern used during extraction + * @returns {void} + */ + extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); @@ -18,78 +34,81 @@ Wine.prototype.d3dx11 = function () { progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3dx11/" + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3dx11/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("7c1fc2021cf57fed3c25c9b03cd0c31a") - .algorithm("MD5") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "DirectX 11")); - progressBar.setProgressPercentage(0); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx11/") - .extract(["-L", "-F", "*d3dx11*x86*"]); - - const filesToExtractx86 = ["Aug2009_d3dx11_42_x86.cab", "Jun2010_d3dx11_43_x86.cab"]; + } - extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, this.system32directory(), "*.dll"); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("7c1fc2021cf57fed3c25c9b03cd0c31a") + .algorithm("MD5") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "DirectX 11")); + progressBar.setProgressPercentage(0); - if (this.architecture() == "amd64") { new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx11/") - .extract(["-L", "-F", "*d3dx11*x64*"]); + .to(`${prefixDirectory}/drive_c/d3dx11/`) + .extract(["-L", "-F", "*d3dx11*x86*"]); - const filesToExtractx64 = [ - "Aug2009_d3dx11_42_x86.cab", - "Jun2010_d3dx11_43_x86.cab", - "Aug2009_d3dx11_42_x64.cab", - "Jun2010_d3dx11_43_x64.cab" - ]; + const filesToExtractx86 = ["Aug2009_d3dx11_42_x86.cab", "Jun2010_d3dx11_43_x86.cab"]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, this.system64directory(), "*.dll"); - } + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "*.dll"); - this.overrideDLL() - .set("native, builtin", ["d3dx11_42", "d3dx11_43"]) - .do(); + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); - return this; -}; - -/** - * Verb to install D3DX11 - */ -module.default = class D3DX11Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3dx11/`) + .extract(["-L", "-F", "*d3dx11*x64*"]); + + const filesToExtractx64 = [ + "Aug2009_d3dx11_42_x86.cab", + "Jun2010_d3dx11_43_x86.cab", + "Aug2009_d3dx11_42_x64.cab", + "Jun2010_d3dx11_43_x64.cab" + ]; + + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx64, system64directory, "*.dll"); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["d3dx11_42", "d3dx11_43"]) + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3dx11", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "d3dx11", java.util.Optional.empty()); - wine.wizard(wizard); - wine.d3dx11(); + + new D3DX11(wine).go(); wizard.close(); } -}; +} + +module.default = D3DX11; diff --git a/Engines/Wine/Verbs/d3dx9/script.js b/Engines/Wine/Verbs/d3dx9/script.js index 6ba005fa80..ea3e497247 100644 --- a/Engines/Wine/Verbs/d3dx9/script.js +++ b/Engines/Wine/Verbs/d3dx9/script.js @@ -2,15 +2,31 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install D3DX9 - * - * @returns {Wine} Wine object */ -Wine.prototype.d3dx9 = function () { - const extractDirectXtoSystemDirectory = (progressBar, filesToExtract, destination, pattern) => { +class D3DX9 { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts DirectX9 to the system directory + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to extract + * @param {*} destination The destination folder + * @param {*} pattern The file pattern used during extraction + * @returns {void} + */ + extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); @@ -18,134 +34,138 @@ Wine.prototype.d3dx9 = function () { progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3dx9/" + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3dx9/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "DirectX 9")); - progressBar.setProgressPercentage(0); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx9/") - .extract(["-L", "-F", "*d3dx9*x86*"]); - - const filesToExtractx86 = [ - "apr2007_d3dx9_33_x86.cab", - "aug2007_d3dx9_35_x86.cab", - "apr2005_d3dx9_25_x86.cab", - "apr2006_d3dx9_30_x86.cab", - "aug2005_d3dx9_27_x86.cab", - "aug2008_d3dx9_39_x86.cab", - "aug2009_d3dx9_42_x86.cab", - "dec2006_d3dx9_32_x86.cab", - "dec2005_d3dx9_28_x86.cab", - "feb2005_d3dx9_24_x86.cab", - "feb2006_d3dx9_29_x86.cab", - "jun2007_d3dx9_34_x86.cab", - "jun2008_d3dx9_38_x86.cab", - "jun2005_d3dx9_26_x86.cab", - "jun2010_d3dx9_43_x86.cab", - "mar2008_d3dx9_37_x86.cab", - "mar2009_d3dx9_41_x86.cab", - "nov2007_d3dx9_36_x86.cab", - "nov2008_d3dx9_40_x86.cab", - "oct2006_d3dx9_31_x86.cab" - ]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, this.system32directory(), "d3dx9*.dll"); - - if (this.architecture() == "amd64") { + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "DirectX 9")); + progressBar.setProgressPercentage(0); + new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx9/") - .extract(["-L", "-F", "*d3dx9*x64*"]); - - const filesToExtractx64 = [ - "APR2007_d3dx9_33_x64.cab", - "AUG2007_d3dx9_35_x64.cab", - "Apr2005_d3dx9_25_x64.cab", - "Apr2006_d3dx9_30_x64.cab", - "Aug2005_d3dx9_27_x64.cab", - "Aug2008_d3dx9_39_x64.cab", - "Aug2009_d3dx9_42_x64.cab", - "DEC2006_d3dx9_32_x64.cab", - "Dec2005_d3dx9_28_x64.cab", - "Feb2005_d3dx9_24_x64.cab", - "Feb2006_d3dx9_29_x64.cab", - "JUN2007_d3dx9_34_x64.cab", - "JUN2008_d3dx9_38_x64.cab", - "Jun2005_d3dx9_26_x64.cab", - "Jun2010_d3dx9_43_x64.cab", - "Mar2008_d3dx9_37_x64.cab", - "Mar2009_d3dx9_41_x64.cab", - "Nov2007_d3dx9_36_x64.cab", - "Nov2008_d3dx9_40_x64.cab", - "OCT2006_d3dx9_31_x64.cab" + .to(`${prefixDirectory}/drive_c/d3dx9/`) + .extract(["-L", "-F", "*d3dx9*x86*"]); + + const filesToExtractx86 = [ + "apr2007_d3dx9_33_x86.cab", + "aug2007_d3dx9_35_x86.cab", + "apr2005_d3dx9_25_x86.cab", + "apr2006_d3dx9_30_x86.cab", + "aug2005_d3dx9_27_x86.cab", + "aug2008_d3dx9_39_x86.cab", + "aug2009_d3dx9_42_x86.cab", + "dec2006_d3dx9_32_x86.cab", + "dec2005_d3dx9_28_x86.cab", + "feb2005_d3dx9_24_x86.cab", + "feb2006_d3dx9_29_x86.cab", + "jun2007_d3dx9_34_x86.cab", + "jun2008_d3dx9_38_x86.cab", + "jun2005_d3dx9_26_x86.cab", + "jun2010_d3dx9_43_x86.cab", + "mar2008_d3dx9_37_x86.cab", + "mar2009_d3dx9_41_x86.cab", + "nov2007_d3dx9_36_x86.cab", + "nov2008_d3dx9_40_x86.cab", + "oct2006_d3dx9_31_x86.cab" ]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, this.system64directory(), "d3dx9*.dll"); - } + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx9*.dll"); - this.overrideDLL() - .set("native", [ - "d3dx9_24", - "d3dx9_25", - "d3dx9_26", - "d3dx9_27", - "d3dx9_28", - "d3dx9_29", - "d3dx9_30", - "d3dx9_31", - "d3dx9_32", - "d3dx9_33", - "d3dx9_34", - "d3dx9_35", - "d3dx9_36", - "d3dx9_37", - "d3dx9_38", - "d3dx9_39", - "d3dx9_40", - "d3dx9_41", - "d3dx9_42", - "d3dx9_43" - ]) - .do(); - - return this; -}; + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); -/** - * Verb to install D3DX9 - */ -module.default = class D3DX9Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3dx9/`) + .extract(["-L", "-F", "*d3dx9*x64*"]); + + const filesToExtractx64 = [ + "APR2007_d3dx9_33_x64.cab", + "AUG2007_d3dx9_35_x64.cab", + "Apr2005_d3dx9_25_x64.cab", + "Apr2006_d3dx9_30_x64.cab", + "Aug2005_d3dx9_27_x64.cab", + "Aug2008_d3dx9_39_x64.cab", + "Aug2009_d3dx9_42_x64.cab", + "DEC2006_d3dx9_32_x64.cab", + "Dec2005_d3dx9_28_x64.cab", + "Feb2005_d3dx9_24_x64.cab", + "Feb2006_d3dx9_29_x64.cab", + "JUN2007_d3dx9_34_x64.cab", + "JUN2008_d3dx9_38_x64.cab", + "Jun2005_d3dx9_26_x64.cab", + "Jun2010_d3dx9_43_x64.cab", + "Mar2008_d3dx9_37_x64.cab", + "Mar2009_d3dx9_41_x64.cab", + "Nov2007_d3dx9_36_x64.cab", + "Nov2008_d3dx9_40_x64.cab", + "OCT2006_d3dx9_31_x64.cab" + ]; + + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx64, system64directory, "d3dx9*.dll"); + } + + this.wine + .overrideDLL() + .set("native", [ + "d3dx9_24", + "d3dx9_25", + "d3dx9_26", + "d3dx9_27", + "d3dx9_28", + "d3dx9_29", + "d3dx9_30", + "d3dx9_31", + "d3dx9_32", + "d3dx9_33", + "d3dx9_34", + "d3dx9_35", + "d3dx9_36", + "d3dx9_37", + "d3dx9_38", + "d3dx9_39", + "d3dx9_40", + "d3dx9_41", + "d3dx9_42", + "d3dx9_43" + ]) + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3dx9", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "d3dx9", java.util.Optional.empty()); - wine.wizard(wizard); - wine.d3dx9(); + + new D3DX9(wine).go(); wizard.close(); } -}; +} + +module.default = D3DX9; diff --git a/Engines/Wine/Verbs/devenum/script.js b/Engines/Wine/Verbs/devenum/script.js index b051315f67..24fcc1f3ae 100644 --- a/Engines/Wine/Verbs/devenum/script.js +++ b/Engines/Wine/Verbs/devenum/script.js @@ -1,59 +1,66 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); +const { CabExtract } = include("utils.functions.filesystem.extract"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.regsvr32"); -include("engines.wine.verbs.luna"); /** * Verb to install devenum - * - * @returns {Wine} Wine object */ -Wine.prototype.devenum = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe") - .checksum("a97c820915dc20929e84b49646ec275760012a42") - .name("directx_feb2010_redist.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "devenum")); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/devenum/") - .extract(["-L", "-F", "dxnt.cab"]); - - new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/devenum/dxnt.cab") - .to(this.system32directory()) - .extract(["-L", "-F", "devenum.dll"]); - - this.regsvr32().install("devenum.dll"); - this.overrideDLL() - .set("native", ["devenum"]) - .do(); - - return this; -}; +class Devenum { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install devenum - */ -// eslint-disable-next-line no-unused-vars -module.default = class DevenumVerb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" + ) + .checksum("a97c820915dc20929e84b49646ec275760012a42") + .name("directx_feb2010_redist.exe") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "devenum")); + + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/devenum/`) + .extract(["-L", "-F", "dxnt.cab"]); + + new CabExtract() + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/devenum/dxnt.cab`) + .to(system32directory) + .extract(["-L", "-F", "devenum.dll"]); + + this.wine.regsvr32().install("devenum.dll"); + this.wine + .overrideDLL() + .set("native", ["devenum"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "devenum", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "devenum", java.util.Optional.empty()); wine.wizard(wizard); - wine.devenum(); + + new Devenum(wine).go(); + wizard.close(); } } + +module.default = Devenum; diff --git a/Engines/Wine/Verbs/dotnet20/script.js b/Engines/Wine/Verbs/dotnet20/script.js index 850b2f4555..f560bd7d2c 100644 --- a/Engines/Wine/Verbs/dotnet20/script.js +++ b/Engines/Wine/Verbs/dotnet20/script.js @@ -1,57 +1,78 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {remove} = include("utils.functions.filesystem.files"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); -include("engines.wine.verbs.remove_mono"); +const RemoveMono = include("engines.wine.verbs.remove_mono"); /** * Verb to install .NET 2.0 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet20 = function () { - var osVersion = this.windowsVersion(); +class DotNET20 { + constructor(wine) { + this.wine = wine; + } - if (this.architecture() == "x86") { - this.windowsVersion("win2k"); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); + const system32directory = this.wine.system32directory(); - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe") - .checksum("a3625c59d7a2995fb60877b5f5324892a1693b2a") - .name("dotnetfx.exe") - .get(); + if (this.wine.architecture() == "x86") { + this.wine.windowsVersion("win2k"); - this.removeMono(); + const setupFile32 = new Resource() + .wizard(wizard) + .url("https://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe") + .checksum("a3625c59d7a2995fb60877b5f5324892a1693b2a") + .name("dotnetfx.exe") + .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0")); - this.run(setupFile32, ["/q:a", "/c:install.exe /q"], null, false, true); + new RemoveMono(this.wine).go(); - this.windowsVersion(osVersion); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0")); - remove(this.system32directory() + "/msvcr80.dll"); - remove(this.system32directory() + "/msvcm80.dll"); - remove(this.system32directory() + "/msvcp80.dll"); - } - else { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe") - .checksum("e59cca309463a5d98daeaada83d1b05fed5126c5") - .name("NetFx64.exe") - .get(); - - this.removeMono(); - - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0")); - this.run(setupFile64, ["/q:a", "/c:install.exe /q"], null, false, true) + this.wine.run(setupFile32, ["/q:a", "/c:install.exe /q"], null, false, true); + + this.wine.windowsVersion(windowsVersion); + + remove(`${system32directory}/msvcr80.dll`); + remove(`${system32directory}/msvcm80.dll`); + remove(`${system32directory}/msvcp80.dll`); + } else { + const setupFile64 = new Resource() + .wizard(wizard) + .url("https://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe") + .checksum("e59cca309463a5d98daeaada83d1b05fed5126c5") + .name("NetFx64.exe") + .get(); + + new RemoveMono(this.wine).go(); + + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0")); + + this.wine.run(setupFile64, ["/q:a", "/c:install.exe /q"], null, false, true); + } + + //This is in winetricks source, but does not seem to work + //this.wizard().wait(tr("Please wait while executing ngen...")); + //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v2.0.50727/ngen.exe", "executequeueditems", null, false, true); } - //This is in winetricks source, but does not seem to work - //this.wizard().wait(tr("Please wait while executing ngen...")); - //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v2.0.50727/ngen.exe", "executequeueditems", null, false, true); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet20", Optional.empty()); + + wine.prefix(container); + wine.wizard(wizard); + + new DotNET20(wine).go(); + + wizard.close(); + } +} - return this; -}; +module.default = DotNET20; diff --git a/Engines/Wine/Verbs/dotnet20sp2/script.js b/Engines/Wine/Verbs/dotnet20sp2/script.js index 1a0540799b..05bf86947b 100644 --- a/Engines/Wine/Verbs/dotnet20sp2/script.js +++ b/Engines/Wine/Verbs/dotnet20sp2/script.js @@ -1,81 +1,86 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {remove} = include("utils.functions.filesystem.files"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); +const RemoveMono = include("engines.wine.verbs.remove_mono"); /** - * Verb to install .NET 2.0 SP2 - * - * @returns {Wine} Wine object + * Verb to install dotnet20sp2 */ -Wine.prototype.dotnet20sp2 = function () { - var osVersion = this.windowsVersion(); - this.windowsVersion("winxp"); - var dlls = [ - "ngen.exe", - "regsvcs.exe", - "mscorsvw.exe"]; - this.overrideDLL() - .set("builtin", dlls) - .do(); - this.removeMono(); - - if (this.architecture() == "x86") { - - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe") - .checksum("22d776d4d204863105a5db99e8b8888be23c61a7") - .name("NetFx20SP2_x86.exe") - .get(); - - - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2")); - this.run(setupFile32, [setupFile32, "/q", "/c:\"install.exe /q\""], null, false, true); - - remove(this.system32directory() + "/msvcr80.dll"); - remove(this.system32directory() + "/msvcm80.dll"); - remove(this.system32directory() + "/msvcp80.dll"); +class DotNET20SP2 { + constructor(wine) { + this.wine = wine; } - else { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x64.exe") - .checksum("a7cc6c6e5a4ad9cdf3df16a7d277eb09fec429b7") - .name("NetFx20SP2_x64.exe") - .get(); + go() { + const wizard = this.wine.wizard(); + const osVersion = this.wine.windowsVersion(); + const system32directory = this.wine.system32directory(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2")); - this.run(setupFile64, [setupFile64, "/q", "/c:\"install.exe /q\""], null, false, true); - } - this.windowsVersion(osVersion); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*ngen.exe"); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*regsvcs.exe"); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*mscorsvw.exe"); + this.wine.windowsVersion("winxp"); - return this; -}; + this.wine + .overrideDLL() + .set("builtin", ["ngen.exe", "regsvcs.exe", "mscorsvw.exe"]) + .do(); -/** - * Verb to install dotnet20sp2 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet20SP2Verb { - constructor() { - // do nothing + new RemoveMono(this.wine).go(); + + if (this.wine.architecture() == "x86") { + const setupFile32 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe" + ) + .checksum("22d776d4d204863105a5db99e8b8888be23c61a7") + .name("NetFx20SP2_x86.exe") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2")); + + this.wine.run(setupFile32, [setupFile32, "/q", '/c:"install.exe /q"'], null, false, true); + + remove(`${system32directory}/msvcr80.dll`); + remove(`${system32directory}/msvcm80.dll`); + remove(`${system32directory}/msvcp80.dll`); + } else { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x64.exe" + ) + .checksum("a7cc6c6e5a4ad9cdf3df16a7d277eb09fec429b7") + .name("NetFx20SP2_x64.exe") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2")); + + this.wine.run(setupFile64, [setupFile64, "/q", '/c:"install.exe /q"'], null, false, true); + } + + this.wine.windowsVersion(osVersion); + + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*ngen.exe"); + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*regsvcs.exe"); + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*mscorsvw.exe"); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet20sp2", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet20sp2", java.util.Optional.empty()); wine.wizard(wizard); - wine.dotnet20sp2(); + + new DotNET20SP2(wine).go(); + wizard.close(); } } + +module.default = DotNET20SP2; diff --git a/Engines/Wine/Verbs/dotnet40/script.js b/Engines/Wine/Verbs/dotnet40/script.js index 91f39e594d..4ddb4b86ee 100755 --- a/Engines/Wine/Verbs/dotnet40/script.js +++ b/Engines/Wine/Verbs/dotnet40/script.js @@ -1,85 +1,103 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); - +const RemoveMono = include("engines.wine.verbs.remove_mono"); /** * Verb to install .NET 4.0 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet40 = function () { - if (this.architecture() == "amd64") { - print(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet40")); +class DotNET40 { + constructor(wine) { + this.wine = wine; } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); + + if (this.wine.architecture() == "amd64") { + print( + tr( + "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", + "dotnet40" + ) + ); + } - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe") - .checksum("58da3d74db353aad03588cbb5cea8234166d8b99") - .name("dotNetFx40_Full_x86_x64.exe") - .get(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe" + ) + .checksum("58da3d74db353aad03588cbb5cea8234166d8b99") + .name("dotNetFx40_Full_x86_x64.exe") + .get(); - this.removeMono(); + new RemoveMono(this.wine).go(); - this.windowsVersion("winxp"); + this.wine.windowsVersion("winxp"); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.0")); - this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.0")); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait...")); - this.wizard().wait(tr("Please wait...")); - var regeditFileContent = "REGEDIT4\n" + - "\n" + - "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full]\n" + - "\"Install\"=dword:0001\n" + - "\"Version\"=\"4.0.30319\""; + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); - this.regedit().patch(regeditFileContent); + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); - //This is in winetricks source, but does not seem to work - //this.wizard().wait(tr("Please wait while executing ngen...")); - //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe", "executequeueditems", null, false, true); + wizard.wait(tr("Please wait...")); - this.windowsVersion(osVersion); + const regeditFileContent = + "REGEDIT4\n" + + "\n" + + "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full]\n" + + '"Install"=dword:0001\n' + + '"Version"="4.0.30319"'; - return this; -}; + this.wine.regedit().patch(regeditFileContent); -/** - * Verb to install .NET 4.0 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet40Verb { - constructor() { - // do nothing + //This is in winetricks source, but does not seem to work + //this.wizard().wait(tr("Please wait while executing ngen...")); + //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe", "executequeueditems", null, false, true); + + this.wine.windowsVersion(windowsVersion); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet40", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet40", java.util.Optional.empty()); + wine.wizard(wizard); + if (wine.architecture() == "amd64") { - wizard.message(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet40")); + wizard.message( + tr( + "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", + "dotnet40" + ) + ); } - wine.wizard(wizard); - wine.dotnet40(); + + new DotNET40(wine).go(); + wizard.close(); } } + +module.default = DotNET40; diff --git a/Engines/Wine/Verbs/dotnet45/script.js b/Engines/Wine/Verbs/dotnet45/script.js index bc8738209f..677af49130 100755 --- a/Engines/Wine/Verbs/dotnet45/script.js +++ b/Engines/Wine/Verbs/dotnet45/script.js @@ -1,76 +1,96 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); -include("engines.wine.verbs.dotnet40"); +const RemoveMono = include("engines.wine.verbs.remove_mono"); +const DotNET40 = include("engines.wine.verbs.dotnet40"); /** * Verb to install .NET 4.5 - * @returns {Wine} Wine object */ -Wine.prototype.dotnet45 = function () { - if (this.architecture() == "amd64") { - print(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet45")); +class DotNET45 { + constructor(wine) { + this.wine = wine; } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); + const architecture = this.wine.architecture(); - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe") - .checksum("b2ff712ca0947040ca0b8e9bd7436a3c3524bb5d") - .name("dotnetfx45_full_x86_x64.exe") - .get(); + if (architecture == "amd64") { + print( + tr( + "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", + "dotnet45" + ) + ); + } - this.removeMono(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe" + ) + .checksum("b2ff712ca0947040ca0b8e9bd7436a3c3524bb5d") + .name("dotnetfx45_full_x86_x64.exe") + .get(); - this.dotnet40(); - this.windowsVersion("win7"); + new RemoveMono(this.wine).go(); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + new DotNET40(this.wine).go(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5")); - this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true); + this.wine.windowsVersion("win7"); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5")); - this.windowsVersion(osVersion); + this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true); - if (osVersion != "win2003") { - print(tr("{0} applications can have issues when windows version is not set to \"win2003\"", ".NET 4.5")); - } + wizard.wait(tr("Please wait...")); - return this; -}; + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); -/** - * Verb to install .NET 4.5 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet45Verb { - constructor() { - // do nothing + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); + + this.wine.windowsVersion(windowsVersion); + + if (windowsVersion != "win2003") { + print(tr('{0} applications can have issues when windows version is not set to "win2003"', ".NET 4.5")); + } } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet45", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet45", java.util.Optional.empty()); + wine.wizard(wizard); + if (wine.architecture() == "amd64") { - wizard.message(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet45")); + wizard.message( + tr( + "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", + "dotnet45" + ) + ); } - wine.wizard(wizard); - wine.dotnet45(); + + new DotNET45(wine).go(); + wizard.close(); } } + +module.default = DotNET45; diff --git a/Engines/Wine/Verbs/dotnet452/script.js b/Engines/Wine/Verbs/dotnet452/script.js index 5969adbcbd..f60c73cb9a 100755 --- a/Engines/Wine/Verbs/dotnet452/script.js +++ b/Engines/Wine/Verbs/dotnet452/script.js @@ -1,74 +1,81 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); -include("engines.wine.verbs.dotnet40"); - +const RemoveMono = include("engines.wine.verbs.remove_mono"); +const DotNET40 = include("engines.wine.verbs.dotnet40"); /** * Verb to install .NET 4.5.2 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet452 = function () { - print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452")); +class DotNET452 { + constructor(wine) { + this.wine = wine; + } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe") - .checksum("89f86f9522dc7a8a965facce839abb790a285a63") - .name("NDP452-KB2901907-x86-x64-AllOS-ENU.exe") - .get(); + print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452")); - this.removeMono(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe" + ) + .checksum("89f86f9522dc7a8a965facce839abb790a285a63") + .name("NDP452-KB2901907-x86-x64-AllOS-ENU.exe") + .get(); - this.dotnet40(); - this.windowsVersion("win7"); + new RemoveMono(this.wine).go(); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + new DotNET40(this.wine).go(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5.2")); - this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true); + this.wine.windowsVersion("win7"); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5.2")); - this.windowsVersion(osVersion); + this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true); - if (osVersion != "win2003") { - print(tr("{0} applications can have issues when windows version is not set to \"win2003\"", ".NET 4.5.2")); - } + wizard.wait(tr("Please wait...")); - return this; -}; + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); -/** - * Verb to install .NET 4.5.2 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet452Verb { - constructor() { - // do nothing + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); + + this.wine.windowsVersion(windowsVersion); + + if (windowsVersion != "win2003") { + print(tr('{0} applications can have issues when windows version is not set to "win2003"', ".NET 4.5.2")); + } } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet452", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet452", java.util.Optional.empty()); - wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452")); wine.wizard(wizard); - wine.dotnet452(); + + wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452")); + + new DotNET452(wine).go(); + wizard.close(); } } + +module.default = DotNET452; diff --git a/Engines/Wine/Verbs/dotnet46/script.js b/Engines/Wine/Verbs/dotnet46/script.js index f5621ba435..9e564fb389 100755 --- a/Engines/Wine/Verbs/dotnet46/script.js +++ b/Engines/Wine/Verbs/dotnet46/script.js @@ -1,69 +1,77 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); -include("engines.wine.verbs.dotnet45"); +const RemoveMono = include("engines.wine.verbs.remove_mono"); +const DotNET45 = include("engines.wine.verbs.dotnet45"); /** * Verb to install .NET 4.6 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet46 = function () { - print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46")); +class DotNET46 { + constructor(wine) { + this.wine = wine; + } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); - var setupFile = new Resource() - .wizard(this._wizard) - .url("https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe") - .checksum("3049a85843eaf65e89e2336d5fe6e85e416797be") - .name("NDP46-KB3045557-x86-x64-AllOS-ENU.exe") - .get(); + print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46")); - this.removeMono(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe" + ) + .checksum("3049a85843eaf65e89e2336d5fe6e85e416797be") + .name("NDP46-KB3045557-x86-x64-AllOS-ENU.exe") + .get(); - this.dotnet45(); - this.windowsVersion("win7"); + new RemoveMono(this.wine).go(); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + new DotNET45(this.wine).go(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6")); - this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true); + this.wine.windowsVersion("win7"); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6")); - this.windowsVersion(osVersion); + this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true); - return this; -}; + wizard.wait(tr("Please wait...")); -/** - * Verb to install .NET 4.6 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet46Verb { - constructor() { - // do nothing + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); + + this.wine.windowsVersion(windowsVersion); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet46", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet46", java.util.Optional.empty()); - wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46")); wine.wizard(wizard); - wine.dotnet46(); + + wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46")); + + new DotNET46(wine).go(); + wizard.close(); } } + +module.default = DotNET46; diff --git a/Engines/Wine/Verbs/dotnet461/script.js b/Engines/Wine/Verbs/dotnet461/script.js index 20351ebfd1..f665b5fa54 100755 --- a/Engines/Wine/Verbs/dotnet461/script.js +++ b/Engines/Wine/Verbs/dotnet461/script.js @@ -1,70 +1,77 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); -include("engines.wine.verbs.dotnet46"); - +const RemoveMono = include("engines.wine.verbs.remove_mono"); +const DotNET46 = include("engines.wine.verbs.dotnet46"); /** * Verb to install .NET 4.6.1 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet461 = function () { - print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461")); +class DotNET461 { + constructor(wine) { + this.wine = wine; + } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); - var setupFile = new Resource() - .wizard(this._wizard) - .url("https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe") - .checksum("83d048d171ff44a3cad9b422137656f585295866") - .name("NDP461-KB3102436-x86-x64-AllOS-ENU.exe") - .get(); + print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461")); - this.removeMono(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe" + ) + .checksum("83d048d171ff44a3cad9b422137656f585295866") + .name("NDP461-KB3102436-x86-x64-AllOS-ENU.exe") + .get(); - this.dotnet46(); - this.windowsVersion("win7"); + new RemoveMono(this.wine).go(); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + new DotNET46(this.wine).go(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.1")); - this.run(setupFile, [setupFile, "/q", "/norestart"], null, false, true); + this.wine.windowsVersion("win7"); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.1")); - this.windowsVersion(osVersion); + this.wine.run(setupFile, [setupFile, "/q", "/norestart"], null, false, true); - return this; -}; + wizard.wait(tr("Please wait...")); -/** - * Verb to install .NET 4.6.1 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet461Verb { - constructor() { - // do nothing + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); + + this.wine.windowsVersion(windowsVersion); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet461", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet461", java.util.Optional.empty()); - wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461")); wine.wizard(wizard); - wine.dotnet461(); + + wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461")); + + new DotNET461(wine).go(); + wizard.close(); } } + +module.default = DotNET461; diff --git a/Engines/Wine/Verbs/dotnet462/script.js b/Engines/Wine/Verbs/dotnet462/script.js index 1772c4f823..df93f0a2a1 100755 --- a/Engines/Wine/Verbs/dotnet462/script.js +++ b/Engines/Wine/Verbs/dotnet462/script.js @@ -1,70 +1,77 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); -include("engines.wine.verbs.dotnet461"); - +const RemoveMono = include("engines.wine.verbs.remove_mono"); +const DotNET461 = include("engines.wine.verbs.dotnet461"); /** * Verb to install .NET 4.6.2 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet462 = function () { - print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462")); +class DotNET462 { + constructor(wine) { + this.wine = wine; + } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); - var setupFile = new Resource() - .wizard(this._wizard) - .url("https://download.microsoft.com/download/F/9/4/F942F07D-F26F-4F30-B4E3-EBD54FABA377/NDP462-KB3151800-x86-x64-AllOS-ENU.exe") - .checksum("a70f856bda33d45ad0a8ad035f73092441715431") - .name("NDP462-KB3151800-x86-x64-AllOS-ENU.exe") - .get(); + print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462")); - this.removeMono(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/F/9/4/F942F07D-F26F-4F30-B4E3-EBD54FABA377/NDP462-KB3151800-x86-x64-AllOS-ENU.exe" + ) + .checksum("a70f856bda33d45ad0a8ad035f73092441715431") + .name("NDP462-KB3151800-x86-x64-AllOS-ENU.exe") + .get(); - this.dotnet461(); - this.windowsVersion("win7"); + new RemoveMono(this.wine).go(); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + new DotNET461(this.wine).go(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.2")); - this.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true); + this.wine.windowsVersion("win7"); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.2")); - this.windowsVersion(osVersion); + this.wine.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true); - return this; -}; + wizard.wait(tr("Please wait...")); -/** - * Verb to install .NET 4.6.2 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet462Verb { - constructor() { - // do nothing + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); + + this.wine.windowsVersion(windowsVersion); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet462", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet462", java.util.Optional.empty()); - wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462")); wine.wizard(wizard); - wine.dotnet462(); + + wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462")); + + new DotNET462(wine).go(); + wizard.close(); } } + +module.default = DotNET462; diff --git a/Engines/Wine/Verbs/dotnet472/script.js b/Engines/Wine/Verbs/dotnet472/script.js index d1fb6af5e7..22f1fb72ad 100755 --- a/Engines/Wine/Verbs/dotnet472/script.js +++ b/Engines/Wine/Verbs/dotnet472/script.js @@ -1,70 +1,77 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.windows_version"); include("engines.wine.plugins.regedit"); -include("engines.wine.verbs.remove_mono"); -include("engines.wine.verbs.dotnet462"); - +const RemoveMono = include("engines.wine.verbs.remove_mono"); +const DotNET462 = include("engines.wine.verbs.dotnet462"); /** * Verb to install .NET 4.7.2 - * - * @returns {Wine} Wine object */ -Wine.prototype.dotnet472 = function () { - print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472")); +class DotNET472 { + constructor(wine) { + this.wine = wine; + } - var osVersion = this.windowsVersion(); + go() { + const wizard = this.wine.wizard(); + const windowsVersion = this.wine.windowsVersion(); - var setupFile = new Resource() - .wizard(this._wizard) - .url("https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe") - .checksum("31fc0d305a6f651c9e892c98eb10997ae885eb1e") - .name("NDP472-KB4054530-x86-x64-AllOS-ENU.exe") - .get(); + print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472")); - this.removeMono(); + const setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe" + ) + .checksum("31fc0d305a6f651c9e892c98eb10997ae885eb1e") + .name("NDP472-KB4054530-x86-x64-AllOS-ENU.exe") + .get(); - this.dotnet462(); - this.windowsVersion("win7"); + new RemoveMono(this.wine).go(); - this.overrideDLL() - .set("builtin", ["fusion"]) - .do(); + new DotNET462(this.wine).go(); - this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.7.2")); - this.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true); + this.wine.windowsVersion("win7"); - this.wizard().wait(tr("Please wait...")); - this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + this.wine + .overrideDLL() + .set("builtin", ["fusion"]) + .do(); - this.overrideDLL() - .set("native", ["mscoree"]) - .do(); + wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.7.2")); - this.windowsVersion(osVersion); + this.wine.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true); - return this; -}; + wizard.wait(tr("Please wait...")); -/** - * Verb to install .NET 4.7.2 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Dotnet472Verb { - constructor() { - // do nothing + this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion"); + + this.wine + .overrideDLL() + .set("native", ["mscoree"]) + .do(); + + this.wine.windowsVersion(windowsVersion); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "dotnet472", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "dotnet472", java.util.Optional.empty()); - wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472")); wine.wizard(wizard); - wine.dotnet472(); + + wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472")); + + new DotNET472(wine).go(); + wizard.close(); } } + +module.default = DotNET472; diff --git a/Engines/Wine/Verbs/gallium9/script.js b/Engines/Wine/Verbs/gallium9/script.js index e2c2e7f546..efb30e5a25 100644 --- a/Engines/Wine/Verbs/gallium9/script.js +++ b/Engines/Wine/Verbs/gallium9/script.js @@ -1,102 +1,113 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {Extractor} = include("utils.functions.filesystem.extract"); -const {remove, lns} = include("utils.functions.filesystem.files"); +const { Extractor } = include("utils.functions.filesystem.extract"); +const { remove, lns } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install Gallium 9 Standalone * see: https://github.com/iXit/wine-nine-standalone/ - * - * @param {String} gallium9Version Gallium 9 Standalone version to download - * @returns {Wine} Wine object */ -Wine.prototype.gallium9 = function (gallium9Version) { - if (typeof gallium9Version !== "string") { - gallium9Version = "0.4"; +class Gallium9 { + constructor(wine) { + this.wine = wine; } - this.wizard().message( - tr( - "Using Gallium 9 requires to have a driver supporting the Gallium 9 state tracker, as well as d3dapater9.so installed (ex: libd3d9adapter-mesa package). Please be sure it is installed (both 32 and 64 bits)." - ) - ); - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "https://github.com/iXit/wine-nine-standalone/releases/download/v" + - gallium9Version + - "/gallium-nine-standalone-v" + - gallium9Version + - ".tar.gz" - ) - .name("gallium-nine-standalone-v" + gallium9Version + ".tar.gz") - .get(); - - new Extractor() - .wizard(this.wizard()) - .archive(setupFile) - .to(this.prefixDirectory()) - .extract(); - - remove(this.system32directory() + "/d3d9.dll"); - lns( - this.prefixDirectory() + "/gallium-nine-standalone/lib32/d3d9-nine.dll.so", - this.system32directory() + "/d3d9-nine.dll" - ); - lns( - this.prefixDirectory() + "/gallium-nine-standalone/bin32/ninewinecfg.exe.so", - this.system32directory() + "/ninewinecfg.exe" - ); - lns(this.system32directory() + "/d3d9-nine.dll", this.system32directory() + "/d3d9.dll"); - - if (this.architecture() == "amd64") { - remove(this.system64directory() + "/d3d9.dll"); - lns( - this.prefixDirectory() + "/gallium-nine-standalone/lib64/d3d9-nine.dll.so", - this.system64directory() + "/d3d9-nine.dll" + /** + * Sets the used gallium9 version + * + * @param {string} gallium9Version The Gallium 9 Standalone version to download + * @returns {Gallium9} The Gallium9 object + */ + withVersion(gallium9Version) { + this.gallium9Version = gallium9Version; + + return this; + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + + if (typeof this.gallium9Version !== "string") { + this.gallium9Version = "0.4"; + } + + wizard.message( + tr( + "Using Gallium 9 requires to have a driver supporting the Gallium 9 state tracker, as well as d3dapater9.so installed (ex: libd3d9adapter-mesa package). Please be sure it is installed (both 32 and 64 bits)." + ) ); + + const setupFile = new Resource() + .wizard(wizard) + .url( + `https://github.com/iXit/wine-nine-standalone/releases/download/v${this.gallium9Version}/gallium-nine-standalone-v${this.gallium9Version}.tar.gz` + ) + .name(`gallium-nine-standalone-v${this.gallium9Version}.tar.gz`) + .get(); + + new Extractor() + .wizard(wizard) + .archive(setupFile) + .to(prefixDirectory) + .extract(); + + remove(`${system32directory}/d3d9.dll`); + + lns(`${prefixDirectory}/gallium-nine-standalone/lib32/d3d9-nine.dll.so`, `${system32directory}/d3d9-nine.dll`); lns( - this.prefixDirectory() + "/gallium-nine-standalone/bin64/ninewinecfg.exe.so", - this.system64directory() + "/ninewinecfg.exe" + `${prefixDirectory}/gallium-nine-standalone/bin32/ninewinecfg.exe.so`, + `${system32directory}/ninewinecfg.exe` ); - lns(this.system64directory() + "/d3d9-nine.dll", this.system64directory() + "/d3d9.dll"); + lns(`${system32directory}/d3d9-nine.dll`, `${system32directory}/d3d9.dll`); - this.run(this.system64directory() + "ninewinecfg.exe", ["-e"], null, false, true); - } else { - this.run(this.system32directory() + "ninewinecfg.exe", ["-e"], null, false, true); - } + if (this.wine.architecture() == "amd64") { + const system64directory = this.wine.system64directory(); - this.overrideDLL() - .set("native", ["d3d9"]) - .do(); + remove(`${system64directory}/d3d9.dll`); - return this; -}; + lns( + `${prefixDirectory}/gallium-nine-standalone/lib64/d3d9-nine.dll.so`, + `${system64directory}/d3d9-nine.dll` + ); + lns( + `${prefixDirectory}/gallium-nine-standalone/bin64/ninewinecfg.exe.so`, + `${system64directory}/ninewinecfg.exe` + ); + lns(`${system64directory}/d3d9-nine.dll`, `${system64directory}/d3d9.dll`); -/** - * Verb to install Gallium 9 Standalone - */ -// eslint-disable-next-line no-unused-vars -module.default = class Gallium9Verb { - constructor() { - // do nothing + this.wine.run(`${system64directory}ninewinecfg.exe`, ["-e"], null, false, true); + } else { + this.wine.run(`${system32directory}ninewinecfg.exe`, ["-e"], null, false, true); + } + + this.wine + .overrideDLL() + .set("native", ["d3d9"]) + .do(); } - install(container) { - const wizard = SetupWizard(InstallationType.VERBS, "gallium9", java.util.Optional.empty()); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "gallium9", Optional.empty()); + const versions = ["0.4", "0.3", "0.2"]; const selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.4"); - const wine = new Wine(); wine.prefix(container); wine.wizard(wizard); + // install selected version - wine.gallium9(selectedVersion.text); + new Gallium9(wine).withVersion(selectedVersion.text).go(); wizard.close(); } } + +module.default = Gallium9; diff --git a/Engines/Wine/Verbs/gdiplus/script.js b/Engines/Wine/Verbs/gdiplus/script.js index 4a1b2ce0fa..73832d13dc 100644 --- a/Engines/Wine/Verbs/gdiplus/script.js +++ b/Engines/Wine/Verbs/gdiplus/script.js @@ -1,49 +1,81 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {cp} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { cp, remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install gdiplus - * - * @returns {Wine} Wine object */ -Wine.prototype.gdiplus = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe") - .checksum("b9a84bc3de92863bba1f5eb1d598446567fbc646") - .name("WindowsXP-KB975337-x86-ENU.exe") - .get(); +class GDIPlus { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait while {0} is installed...", "GDI+")); - this.run(setupFile, ["/extract:C:\\Tmp", "/q"], null, true, true); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); - this.overrideDLL() - .set("native", ["gdiplus"]) - .do(); + const setupFile = new Resource() + .wizard(wizard) + .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe") + .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa") + .name("windows6.1-KB976932-X86.exe") + .get(); + + new CabExtract() + .archive(setupFile) + .wizard(wizard) + .to(`${prefixDirectory}/drive_c/gdiplus/`) + .extract(["-L", "-F", "x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll"]); + + cp(`${prefixDirectory}/drive_c/gdiplus/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll`, system32directory); + + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); - cp(this.prefixDirectory() + "/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll", this.system32directory()); + const setupFile64 = new Resource() + .wizard(wizard) + .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe") + .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab") + .name("windows6.1-KB976932-X64.exe") + .get(); + + new CabExtract() + .archive(setupFile64) + .wizard(wizard) + .to(`${prefixDirectory}/drive_c/gdiplus/`) + .extract(["-L", "-F", "amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a/gdiplus.dll"]); + + cp(`${prefixDirectory}/drive_c/gdiplus/amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a/gdiplus.dll`, system64directory); + } - return this; -}; + remove(`${prefixDirectory}/drive_c/gdiplus/`); -/** - * Verb to install gdiplus - */ -// eslint-disable-next-line no-unused-vars -module.default = class GdiplusVerb { - constructor() { - // do nothing + this.wine + .overrideDLL() + .set("native", ["gdiplus"]) + .do(); + + cp(`${prefixDirectory}/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll`, system32directory); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "gdiplus", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "gdiplus", java.util.Optional.empty()); wine.wizard(wizard); - wine.gdiplus(); + + new GDIPlus(wine).go(); + wizard.close(); } } + +module.default = GDIPlus; diff --git a/Engines/Wine/Verbs/gdiplus_winxp/script.js b/Engines/Wine/Verbs/gdiplus_winxp/script.js new file mode 100644 index 0000000000..e1c16a787b --- /dev/null +++ b/Engines/Wine/Verbs/gdiplus_winxp/script.js @@ -0,0 +1,68 @@ +const Wine = include("engines.wine.engine.object"); +const Resource = include("utils.functions.net.resource"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove, cat, writeToFile } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); + +include("engines.wine.plugins.override_dll"); + +/** + * Verb to install gdiplus (windows xp) + * + * @returns {Wine} Wine object + */ +class GDIPlusWinXP { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + + const setupFile = new Resource() + .wizard(wizard) + .url("https://download.microsoft.com/download/1/4/6/1467c2ba-4d1f-43ad-8d9b-3e8bc1c6ac3d/NDP1.0sp2-KB830348-X86-Enu.exe") + .checksum("6113cd89d77525958295ccbd73b5fb8b89abd0aa") + .name("NDP1.0sp2-KB830348-X86-Enu.exe") + .get(); + + new CabExtract() + .archive(setupFile) + .wizard(wizard) + .to(`${prefixDirectory}/drive_c/gdiplus/`) + .extract(["-F", "FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"]); + + new CabExtract() + .archive(setupFile) + .wizard(wizard) + .to(`${prefixDirectory}/drive_c/gdiplus/`) + .extract(["-L", "-F", "x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll"]); + + const content = cat(`${prefixDirectory}/drive_c/gdiplus/drive_c/gdiplus/FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8`); + writeToFile(`${system32directory}/gdiplus.dll`, content); + + remove(`${prefixDirectory}/drive_c/gdiplus/`); + + this.wine + .overrideDLL() + .set("native", ["gdiplus"]) + .do(); + } + + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "gdiplus (windows xp)", Optional.empty()); + + wine.prefix(container); + wine.wizard(wizard); + + new GDIPlusWinXP(wine).go(); + + wizard.close(); + } +} + +module.default = GDIPlusWindowsXP; diff --git a/Engines/Wine/Verbs/gdiplus_winxp/script.json b/Engines/Wine/Verbs/gdiplus_winxp/script.json new file mode 100644 index 0000000000..5abc77a611 --- /dev/null +++ b/Engines/Wine/Verbs/gdiplus_winxp/script.json @@ -0,0 +1,11 @@ +{ + "scriptName" : "gdiplus_winxp", + "id" : "engines.wine.verbs.gdiplus_winxp", + "compatibleOperatingSystems" : [ + "MACOSX", + "LINUX" + ], + "testingOperatingSystems" : [], + "free" : true, + "requiresPatch" : false +} diff --git a/Engines/Wine/Verbs/luna/script.js b/Engines/Wine/Verbs/luna/script.js index f521e58338..91ad54f72e 100644 --- a/Engines/Wine/Verbs/luna/script.js +++ b/Engines/Wine/Verbs/luna/script.js @@ -1,53 +1,55 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {mkdir, cp} = include("utils.functions.filesystem.files"); +const { mkdir, cp } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.regedit"); /** * Verb to install luna - * - * @returns {Wine} Wine object */ -Wine.prototype.luna = function () { - var lunaStyle = new Resource() - .wizard(this.wizard()) - .url("https://repository.playonlinux.com/divers/luna.msstyles") - .checksum("50a71767f90c1d3d86ca188a84393f2d39664311") - .name("luna.msstyles") - .get(); +class Luna { + constructor(wine) { + this.wine = wine; + } - var lunaReg = new Resource() - .wizard(this.wizard()) - .url("https://repository.playonlinux.com/divers/luna.reg") - .checksum("074e655d391ae87527f4cc50ba822a8aad83a09f") - .name("luna.reg") - .get(); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const lunaStyle = new Resource() + .wizard(wizard) + .url("https://repository.playonlinux.com/divers/luna.msstyles") + .checksum("50a71767f90c1d3d86ca188a84393f2d39664311") + .name("luna.msstyles") + .get(); - mkdir(this.prefixDirectory() + "/drive_c/windows/Resources/Themes/luna/"); - cp(lunaStyle, this.prefixDirectory() + "/drive_c/windows/Resources/Themes/luna/"); + const lunaReg = new Resource() + .wizard(wizard) + .url("https://repository.playonlinux.com/divers/luna.reg") + .checksum("074e655d391ae87527f4cc50ba822a8aad83a09f") + .name("luna.reg") + .get(); - this.regedit().open(lunaReg); + mkdir(`${prefixDirectory}/drive_c/windows/Resources/Themes/luna/`); - return this; -}; + cp(lunaStyle, `${prefixDirectory}/drive_c/windows/Resources/Themes/luna/`); -/** - * Verb to install luna - */ -// eslint-disable-next-line no-unused-vars -module.default = class LunaVerb { - constructor() { - // do nothing + this.wine.regedit().open(lunaReg); } - install(container) { + static install(container) { var wine = new Wine(); + var wizard = SetupWizard(InstallationType.VERBS, "luna", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "luna", java.util.Optional.empty()); wine.wizard(wizard); - wine.luna(); + + new Luna(wine).go(); + wizard.close(); } } + +module.default = Luna; diff --git a/Engines/Wine/Verbs/mfc42/script.js b/Engines/Wine/Verbs/mfc42/script.js index 920cde2776..ade268ae13 100644 --- a/Engines/Wine/Verbs/mfc42/script.js +++ b/Engines/Wine/Verbs/mfc42/script.js @@ -1,60 +1,63 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install mfc42.dll and mfc42u.dll - * - * @returns {Wine} Wine object */ -Wine.prototype.mfc42 = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe") - .checksum("a8c4dd33e281c166488846a10edf97ff0ce37044") - .name("VC6RedistSetup_deu.exe") - .get(); - - remove(this.system32directory() + "/mfc42.dll"); - remove(this.system32directory() + "/mfc42u.dll"); - - new CabExtract() - .archive(setupFile) - .wizard(this.wizard()) - .to(this.system32directory()) - .extract(); - - new CabExtract() - .archive(this.system32directory() + "/vcredist.exe") - .wizard(this.wizard()) - .to(this.system32directory()) - .extract(['-F', 'mfc42*.dll']); - - this.overrideDLL() - .set("native, builtin", ["mfc42", "mfc42u"]) - .do(); - - return this; -}; +class Mfc42 { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install mfc42.dll and mfc42u.dll - */ -// eslint-disable-next-line no-unused-vars -module.default = class Mfc42Verb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); + + const setupFile = new Resource() + .wizard(wizard) + .url("http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe") + .checksum("a8c4dd33e281c166488846a10edf97ff0ce37044") + .name("VC6RedistSetup_deu.exe") + .get(); + + remove(`${system32directory}/mfc42.dll`); + remove(`${system32directory}/mfc42u.dll`); + + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(system32directory) + .extract(); + + new CabExtract() + .wizard(wizard) + .archive(`${system32directory}/vcredist.exe`) + .to(system32directory) + .extract(["-F", "mfc42*.dll"]); + + this.wine + .overrideDLL() + .set("native, builtin", ["mfc42", "mfc42u"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "mfc42", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "mfc42", java.util.Optional.empty()); wine.wizard(wizard); - wine.mfc42(); + + new Mfc42(wine).go(); + wizard.close(); } } + +module.default = Mfc42; diff --git a/Engines/Wine/Verbs/msls31/script.js b/Engines/Wine/Verbs/msls31/script.js index b8ee2f7ec6..7d2a20372e 100644 --- a/Engines/Wine/Verbs/msls31/script.js +++ b/Engines/Wine/Verbs/msls31/script.js @@ -1,47 +1,49 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); /** * Verb to install msls31.dll - * - * @returns {Wine} Wine object */ -Wine.prototype.msls31 = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("ftp://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe") - .checksum("4fc3bf0dc96b5cf5ab26430fac1c33c5c50bd142") - .name("InstMsiW.exe") - .get(); +class Msls31 { + constructor(wine) { + this.wine = wine; + } - remove(this.system32directory() + "/msls31.dll"); + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); - new CabExtract() - .archive(setupFile) - .wizard(this.wizard()) - .to(this.system32directory()) - .extract(["-F", "msls31.dll"]); + const setupFile = new Resource() + .wizard(wizard) + .url("ftp://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe") + .checksum("4fc3bf0dc96b5cf5ab26430fac1c33c5c50bd142") + .name("InstMsiW.exe") + .get(); - return this; -}; + remove(`${system32directory}/msls31.dll`); -/** - * Verb to install msls31.dll - */ -// eslint-disable-next-line no-unused-vars -module.default = class Msls31Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(system32directory) + .extract(["-F", "msls31.dll"]); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "msls31", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "msls31", java.util.Optional.empty()); wine.wizard(wizard); - wine.msls31(); + + new Msls31(wine).go(); + wizard.close(); } } + +module.default = Msls31; diff --git a/Engines/Wine/Verbs/mspatcha/script.js b/Engines/Wine/Verbs/mspatcha/script.js index 2f0b56389b..3bbcc45946 100644 --- a/Engines/Wine/Verbs/mspatcha/script.js +++ b/Engines/Wine/Verbs/mspatcha/script.js @@ -1,62 +1,67 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install mspatcha - * - * @returns {Wine} Wine object */ -Wine.prototype.mspatcha = function () { - //Inspired from winetricks mspatcha, but with a link Phoenicis can understand - 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(); - - remove(this.system32directory() + "/mspatcha.dll"); - - new CabExtract() - .archive(setupFile) - .wizard(this.wizard()) - .to(this.system32directory()) - .extract(); - - new CabExtract() - .archive(this.system32directory() + "/i386/mspatcha.dl_") - .wizard(this.wizard()) - .to(this.system32directory()) - .extract(); - - remove(this.system32directory() + "/i386/"); - - this.overrideDLL() - .set("native, builtin", ["mspatcha"]) - .do(); - - return this; -}; +class Mspatcha { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install mspatcha - */ -// eslint-disable-next-line no-unused-vars -module.default = class MspatchaVerb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); + + //Inspired from winetricks mspatcha, but with a link Phoenicis can understand + const setupFile = new Resource() + .wizard(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(); + + remove(`${system32directory}/mspatcha.dll`); + + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(system32directory) + .extract(); + + new CabExtract() + .wizard(wizard) + .archive(`${system32directory}/i386/mspatcha.dl_`) + .to(system32directory) + .extract(); + + remove(`${system32directory}/i386/`); + + this.wine + .overrideDLL() + .set("native, builtin", ["mspatcha"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "mspatcha", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "mspatcha", java.util.Optional.empty()); wine.wizard(wizard); - wine.mspatcha(); + + new Mspatcha(wine).go(); + wizard.close(); } } + +module.default = Mspatcha; diff --git a/Engines/Wine/Verbs/msxml3/script.js b/Engines/Wine/Verbs/msxml3/script.js index 03bc2c1d5e..25c2f2c91c 100644 --- a/Engines/Wine/Verbs/msxml3/script.js +++ b/Engines/Wine/Verbs/msxml3/script.js @@ -1,49 +1,53 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {remove} = include("utils.functions.filesystem.files"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install msxml3 - * - * @returns {Wine} Wine object */ -Wine.prototype.msxml3 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://media.codeweavers.com/pub/other/msxml3.msi") - .checksum("d4c2178dfb807e1a0267fce0fd06b8d51106d913") - .name("msxml3.msi") - .get(); +class Msxml3 { + constructor(wine) { + this.wine = wine; + } - remove(this.system32directory() + "/msxml3.dll"); + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); - this.overrideDLL() - .set("native", ["msxml3"]) - .do(); + const setupFile32 = new Resource() + .wizard(wizard) + .url("https://media.codeweavers.com/pub/other/msxml3.msi") + .checksum("d4c2178dfb807e1a0267fce0fd06b8d51106d913") + .name("msxml3.msi") + .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "msxml3")); - this.run(setupFile32, ["/q:a", "/c:msxml3.msi /q"], null, false, true); + remove(`${system32directory}/msxml3.dll`); - return this; -}; + this.wine + .overrideDLL() + .set("native", ["msxml3"]) + .do(); -/** - * Verb to install msxml3 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Msxml3Verb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "msxml3")); + + this.wine.run(setupFile32, ["/q:a", "/c:msxml3.msi /q"], null, false, true); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "msxml3", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "msxml3", java.util.Optional.empty()); wine.wizard(wizard); - wine.msxml3(); + + new Msxml3(wine).go(); + wizard.close(); } } + +module.default = Msxml3; diff --git a/Engines/Wine/Verbs/msxml6/script.js b/Engines/Wine/Verbs/msxml6/script.js index c5610ff10c..9ff0c4abaa 100644 --- a/Engines/Wine/Verbs/msxml6/script.js +++ b/Engines/Wine/Verbs/msxml6/script.js @@ -1,64 +1,73 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {remove} = include("utils.functions.filesystem.files"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install msxml6 - * - * @returns {Wine} Wine object */ -Wine.prototype.msxml6 = function () { - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi") - .checksum("ca0c0814a9c7024583edb997296aad7cb0a3cbf7") - .name("msxml6_x64.msi") - .get(); - } else { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi") - .checksum("5125220e985b33c946bbf9f60e2b222c7570bfa2") - .name("msxml6_x86.msi") - .get(); +class Msxml6 { + constructor(wine) { + this.wine = wine; } - remove(this.system32directory() + "/msxml6.dll"); + go() { + const wizard = this.wine.wizard(); + const system32directory = this.wine.system32directory(); + const system64directory = this.wine.system64directory(); - this.overrideDLL() - .set("native,builtin", ["msxml6"]) - .do(); + remove(`${system32directory}/msxml6.dll`); - if (this.architecture() == "amd64") { - remove(this.system64directory() + "/msxml6.dll") - this.wizard().wait(tr("Please wait while {0} is installed...", "msxml6")); - this.run(setupFile64, ["/q:a", "/c:msxml6_x64.msi /q"], null, false, true); - } else { - this.wizard().wait(tr("Please wait while {0} is installed...", "msxml6")); - this.run(setupFile32, ["/q:a", "/c:msxml6_x86.msi /q"], null, false, true); - } + this.wine + .overrideDLL() + .set("native,builtin", ["msxml6"]) + .do(); - return this; -}; + if (this.wine.architecture() == "amd64") { + remove(`${system64directory}/msxml6.dll`); -/** - * Verb to install msxml6 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Msxml6Verb { - constructor() { - // do nothing + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi" + ) + .checksum("ca0c0814a9c7024583edb997296aad7cb0a3cbf7") + .name("msxml6_x64.msi") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "msxml6")); + + this.run(setupFile64, ["/q:a", "/c:msxml6_x64.msi /q"], null, false, true); + } else { + const setupFile32 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi" + ) + .checksum("5125220e985b33c946bbf9f60e2b222c7570bfa2") + .name("msxml6_x86.msi") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "msxml6")); + + this.run(setupFile32, ["/q:a", "/c:msxml6_x86.msi /q"], null, false, true); + } } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "msxml6", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "msxml6", java.util.Optional.empty()); wine.wizard(wizard); - wine.msxml6(); + + new Msxml6(wine).go(); + wizard.close(); } } + +module.default = Msxml6; diff --git a/Engines/Wine/Verbs/quartz/script.js b/Engines/Wine/Verbs/quartz/script.js index bfee727169..cd66d10ffd 100644 --- a/Engines/Wine/Verbs/quartz/script.js +++ b/Engines/Wine/Verbs/quartz/script.js @@ -1,62 +1,68 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); include("engines.wine.plugins.regsvr32"); /** * Verb to install quartz - * - * @returns {Wine} Wine object */ -Wine.prototype.quartz = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe") - .checksum("a97c820915dc20929e84b49646ec275760012a42") - .name("directx_feb2010_redist.exe") - .get(); - - new CabExtract() - .archive(setupFile) - .wizard(this.wizard()) - .to(this.prefixDirectory() + "/TMP/") - .extract(["-L", "-F", "dxnt.cab"]); - - new CabExtract() - .archive(this.prefixDirectory() + "/TMP/dxnt.cab") - .wizard(this.wizard()) - .to(this.system32directory()) - .extract(["-L", "-F", "quartz.dll"]); - - remove(this.prefixDirectory() + "/TMP/"); - - this.regsvr32().install("quartz.dll"); - - this.overrideDLL() - .set("native, builtin", ["quartz"]) - .do() - - return this; -} +class Quartz { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install quartz - */ -// eslint-disable-next-line no-unused-vars -module.default = class QuartzVerb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + + var setupFile = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" + ) + .checksum("a97c820915dc20929e84b49646ec275760012a42") + .name("directx_feb2010_redist.exe") + .get(); + + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/TMP/`) + .extract(["-L", "-F", "dxnt.cab"]); + + new CabExtract() + .wizard(wizard) + .archive(`${prefixDirectory}/TMP/dxnt.cab`) + .to(system32directory) + .extract(["-L", "-F", "quartz.dll"]); + + remove(`${prefixDirectory}/TMP/`); + + this.wine.regsvr32().install("quartz.dll"); + + this.wine + .overrideDLL() + .set("native, builtin", ["quartz"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "quartz", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "quartz", java.util.Optional.empty()); wine.wizard(wizard); + wine.quartz(); + wizard.close(); } } + +module.default = Quartz; diff --git a/Engines/Wine/Verbs/sandbox/script.js b/Engines/Wine/Verbs/sandbox/script.js index d5a5decae0..fd889a68d0 100644 --- a/Engines/Wine/Verbs/sandbox/script.js +++ b/Engines/Wine/Verbs/sandbox/script.js @@ -1,39 +1,42 @@ const Wine = include("engines.wine.engine.object"); -const {remove, lns} = include("utils.functions.filesystem.files"); +const { remove, lns } = include("utils.functions.filesystem.files"); + +const propertyReader = Bean("propertyReader"); + +const Optional = Java.type("java.util.Optional"); /** * Verb to install a sandbox - * - * @returns {Wine} Wine object */ -Wine.prototype.sandbox = function () { - var tmp = Bean("propertyReader").getProperty("application.user.tmp"); - var resources = Bean("propertyReader").getProperty("application.user.resources"); +class Sandbox { + constructor(wine) { + this.wine = wine; + } - remove(this.prefixDirectory() + "/dosdevices/z:"); - remove(this.prefixDirectory() + "/dosdevices/y:"); + go() { + const prefixDirectory = this.wine.prefixDirectory(); - lns(tmp, this.prefixDirectory() + "/dosdevices/z:"); - lns(resources, this.prefixDirectory() + "/dosdevices/y:"); + const tmp = propertyReader.getProperty("application.user.tmp"); + const resources = propertyReader.getProperty("application.user.resources"); - return this; -}; + remove(`${prefixDirectory}/dosdevices/z:`); + remove(`${prefixDirectory}/dosdevices/y:`); -/** - * Verb to install a sandbox - */ -// eslint-disable-next-line no-unused-vars -module.default = class SandboxVerb { - constructor() { - // do nothing + lns(tmp, `${prefixDirectory}/dosdevices/z:`); + lns(resources, `${prefixDirectory}/dosdevices/y:`); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "sandbox", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "sandbox", java.util.Optional.empty()); wine.wizard(wizard); - wine.sandbox(); + + new Sandbox(wine).go(); + wizard.close(); } } + +module.default = Sandbox; diff --git a/Engines/Wine/Verbs/secur32/script.js b/Engines/Wine/Verbs/secur32/script.js index 6ec67d39ce..cf4f58ce02 100644 --- a/Engines/Wine/Verbs/secur32/script.js +++ b/Engines/Wine/Verbs/secur32/script.js @@ -1,74 +1,99 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {cp, remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { cp, remove } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.override_dll"); /** * Verb to install secur32 - * - * @returns {Wine} Wine object */ -Wine.prototype.secur32 = function () { - var setupFilex86 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe") - .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa") - .name("windows6.1-KB976932-X86.exe") - .get(); - - new CabExtract() - .archive(setupFilex86) - .wizard(this.wizard()) - .to(this.prefixDirectory() + "/TMP/") - .extract(["-L", "-F", "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll"]); - - cp(this.prefixDirectory() + "/TMP/" + "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll", this.system32directory()); - - remove(this.prefixDirectory() + "/TMP/"); - - if (this.architecture() == "amd64") { - var setupFilex64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe") - .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab") - .name("windows6.1-KB976932-X64.exe") +class Secur32 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFilex86 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe" + ) + .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa") + .name("windows6.1-KB976932-X86.exe") .get(); new CabExtract() - .archive(setupFilex64) - .wizard(this.wizard()) - .to(this.prefixDirectory() + "/TMP/") - .extract(["-L", "-F", "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll"]); + .wizard(wizard) + .archive(setupFilex86) + .to(`${prefixDirectory}/TMP/`) + .extract([ + "-L", + "-F", + "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll" + ]); - cp(this.prefixDirectory() + "/TMP/" + "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll", this.system64directory()); + cp( + `${prefixDirectory}/TMP/x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll`, + system32directory + ); - remove(this.prefixDirectory() + "/TMP/"); - } + remove(`${prefixDirectory}/TMP/`); - this.overrideDLL() - .set("native, builtin", ["secur32"]) - .do() + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); - return this; -} + const setupFilex64 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe" + ) + .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab") + .name("windows6.1-KB976932-X64.exe") + .get(); -/** - * Verb to install secur32 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Secur32Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFilex64) + .to(`${prefixDirectory}/TMP/`) + .extract([ + "-L", + "-F", + "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll" + ]); + + cp( + `${prefixDirectory}/TMP/amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll`, + system64directory + ); + + remove(`${prefixDirectory}/TMP/`); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["secur32"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "secur32", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "secur32", java.util.Optional.empty()); wine.wizard(wizard); - wine.secur32(); + + new Secur32(wine).go(); + wizard.close(); } } + +module.default = Secur32; diff --git a/Engines/Wine/Verbs/vcrun2003/script.js b/Engines/Wine/Verbs/vcrun2003/script.js index a1b75af41d..5129ba9bea 100644 --- a/Engines/Wine/Verbs/vcrun2003/script.js +++ b/Engines/Wine/Verbs/vcrun2003/script.js @@ -2,51 +2,48 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); const { cp } = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); /** * Verb to install vcrun2003 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2003 = function () { - const setupFile = new Resource() - .wizard(this.wizard()) - .url("https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe") - .checksum("bdd1b32c4202fd77e6513fd507c8236888b09121") - .name("BZEditW32_1.6.5.exe") - .get(); +class Vcrun2003 { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2003 Redistributable (x86)")); - this.run(setupFile, "/S", null, false, true); + go() { + const wizard = this.wine.wizard(); + const programFiles = this.wine.programFiles(); + const system32directory = this.wine.system32directory(); - const dlls = ["msvcp71", "mfc71"]; + const setupFile = new Resource() + .wizard(wizard) + .url("https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe") + .checksum("bdd1b32c4202fd77e6513fd507c8236888b09121") + .name("BZEditW32_1.6.5.exe") + .get(); - dlls.forEach(dll => { - cp(this.programFiles() + "/BZEdit1.6.5/" + dll, this.system32directory()); - }); + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2003 Redistributable (x86)")); - return this; -}; + this.wine.run(setupFile, "/S", null, false, true); -/** - * Verb to install vcrun2003 - */ -module.default = class Vcrun2003Verb { - constructor() { - // do nothing + ["msvcp71", "mfc71"].forEach(dll => { + cp(`${programFiles}/BZEdit1.6.5/${dll}`, system32directory); + }); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2003", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "vcrun2003", java.util.Optional.empty()); - wine.wizard(wizard); - wine.vcrun2003(); + + new Vcrun2003(wine).go(); wizard.close(); } -}; +} + +module.default = Vcrun2003; diff --git a/Engines/Wine/Verbs/vcrun2005/script.js b/Engines/Wine/Verbs/vcrun2005/script.js index 12c8982243..09f296ff93 100644 --- a/Engines/Wine/Verbs/vcrun2005/script.js +++ b/Engines/Wine/Verbs/vcrun2005/script.js @@ -1,53 +1,49 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2005 - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2005 = function () { - var setupFile = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE") - .checksum("b8fab0bb7f62a24ddfe77b19cd9a1451abd7b847") - .name("vcredist_x86.EXE") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2005 Redistributable (x86)")); - this.run(setupFile, "/q", null, false, true); - - var dlls = [ - "atl80", - "msvcm80", - "msvcp80", - "msvcr80", - "vcomp" - ]; - this.overrideDLL() - .set("native, builtin", dlls) - .do(); - - return this; -}; +class Vcrun2005 { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install vcrun2005 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2005Verb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + + const setupFile = new Resource() + .wizard(wizard) + .url("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE") + .checksum("b8fab0bb7f62a24ddfe77b19cd9a1451abd7b847") + .name("vcredist_x86.EXE") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2005 Redistributable (x86)")); + + this.wine.run(setupFile, "/q", null, false, true); + + this.wine + .overrideDLL() + .set("native, builtin", ["atl80", "msvcm80", "msvcp80", "msvcr80", "vcomp"]) + .do(); } install(container) { - var wine = new Wine(); + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2005", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2005", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2005(); + + new Vcrun2005(wine).go(); + wizard.close(); } } + +module.default = Vcrun2005; diff --git a/Engines/Wine/Verbs/vcrun2008/script.js b/Engines/Wine/Verbs/vcrun2008/script.js index d51d96f26f..c7f7931bec 100644 --- a/Engines/Wine/Verbs/vcrun2008/script.js +++ b/Engines/Wine/Verbs/vcrun2008/script.js @@ -1,66 +1,64 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2008 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2008 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe") - .checksum("470640aa4bb7db8e69196b5edb0010933569e98d") - .name("vcredist_x86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x86)")); - this.run(setupFile32, "/q", null, false, true); - - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe") - .checksum("a7c83077b8a28d409e36316d2d7321fa0ccdb7e8") - .name("vcredist_x64.exe") +class Vcrun2008 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + + const setupFile32 = new Resource() + .wizard(wizard) + .url("http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe") + .checksum("470640aa4bb7db8e69196b5edb0010933569e98d") + .name("vcredist_x86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x64)")); - this.run(setupFile64, "/q", null, false, true); - } + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x86)")); - var dlls = [ - "atl90", - "msvcm90", - "msvcp90", - "msvcr90", - "vcomp90", - ]; - this.overrideDLL() - .set("native, builtin", dlls) - .do(); + this.wine.run(setupFile32, "/q", null, false, true); - return this; -}; + if (this.wine.architecture() == "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe" + ) + .checksum("a7c83077b8a28d409e36316d2d7321fa0ccdb7e8") + .name("vcredist_x64.exe") + .get(); -/** - * Verb to install vcrun2008 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2008Verb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x64)")); + + this.wine.run(setupFile64, "/q", null, false, true); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["atl90", "msvcm90", "msvcp90", "msvcr90", "vcomp90"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2008", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2008", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2008(); + + new Vcrun2008(wine).go(); + wizard.close(); } } + +module.default = Vcrun2008; diff --git a/Engines/Wine/Verbs/vcrun2010/script.js b/Engines/Wine/Verbs/vcrun2010/script.js index 0f2bbe649d..404485dce7 100644 --- a/Engines/Wine/Verbs/vcrun2010/script.js +++ b/Engines/Wine/Verbs/vcrun2010/script.js @@ -1,65 +1,64 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2010 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2010 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe") - .checksum("372d9c1670343d3fb252209ba210d4dc4d67d358") - .name("vcredist_x86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x86)")); - this.run(setupFile32, "/q", null, false, true); - - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe") - .checksum("027d0c2749ec5eb21b031f46aee14c905206f482") - .name("vcredist_x64.exe") +class Vcrun2010 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + + const setupFile32 = new Resource() + .wizard(wizard) + .url("http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe") + .checksum("372d9c1670343d3fb252209ba210d4dc4d67d358") + .name("vcredist_x86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x64)")); - this.run(setupFile64, "/q", null, false, true); - } + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x86)")); - var dlls = [ - "atl100", - "msvcp100", - "msvcr100", - "vcomp100", - ]; - this.overrideDLL() - .set("native, builtin", dlls) - .do(); + this.wine.run(setupFile32, "/q", null, false, true); - return this; -}; + if (this.wine.architecture() == "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe" + ) + .checksum("027d0c2749ec5eb21b031f46aee14c905206f482") + .name("vcredist_x64.exe") + .get(); -/** - * Verb to install vcrun2010 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2010Verb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x64)")); + + this.wine.run(setupFile64, "/q", null, false, true); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["atl100", "msvcp100", "msvcr100", "vcomp100"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2010", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2010", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2010(); + + new Vcrun2010(wine).go(); + wizard.close(); } } + +module.default = Vcrun2010; diff --git a/Engines/Wine/Verbs/vcrun2012/script.js b/Engines/Wine/Verbs/vcrun2012/script.js index 8c5f990d09..2254a8a11e 100644 --- a/Engines/Wine/Verbs/vcrun2012/script.js +++ b/Engines/Wine/Verbs/vcrun2012/script.js @@ -1,65 +1,66 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2012 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2012 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe") - .checksum("96b377a27ac5445328cbaae210fc4f0aaa750d3f") - .name("vcredist_x86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x86)")); - this.run(setupFile32, "/q", null, false, true); - - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe") - .checksum("1a5d93dddbc431ab27b1da711cd3370891542797") - .name("vcredist_x64") +class Vcrun2012 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + + const setupFile32 = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe" + ) + .checksum("96b377a27ac5445328cbaae210fc4f0aaa750d3f") + .name("vcredist_x86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x64)")); - this.run(setupFile64, "/q", null, false, true); - } + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x86)")); - var dlls = [ - "atl110", - "msvcp110", - "msvcr110", - "vcomp110" - ]; - this.overrideDLL() - .set("native, builtin", dlls) - .do(); + this.wine.run(setupFile32, "/q", null, false, true); - return this; -}; + if (this.wine.architecture() == "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe" + ) + .checksum("1a5d93dddbc431ab27b1da711cd3370891542797") + .name("vcredist_x64") + .get(); -/** - * Verb to install vcrun2012 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2012Verb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x64)")); + + this.wine.run(setupFile64, "/q", null, false, true); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["atl110", "msvcp110", "msvcr110", "vcomp110"]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2012", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2012", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2012(); + + new Vcrun2012(wine).go(); + wizard.close(); } } + +module.default = Vcrun2012; diff --git a/Engines/Wine/Verbs/vcrun2013/script.js b/Engines/Wine/Verbs/vcrun2013/script.js index 7822e75c71..0e37806682 100644 --- a/Engines/Wine/Verbs/vcrun2013/script.js +++ b/Engines/Wine/Verbs/vcrun2013/script.js @@ -1,59 +1,64 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2013 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2013 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe") - .checksum("df7f0a73bfa077e483e51bfb97f5e2eceedfb6a3") - .name("vcredist_x86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x86)")); - this.run(setupFile32, "/q", null, false, true); - - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe") - .checksum("8bf41ba9eef02d30635a10433817dbb6886da5a2") - .name("vcredist_x64.exe") +class Vcrun2013 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + + const setupFile32 = new Resource() + .wizard(wizard) + .url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe") + .checksum("df7f0a73bfa077e483e51bfb97f5e2eceedfb6a3") + .name("vcredist_x86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x64)")); - this.run(setupFile64, "/q", null, false, true); - } + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x86)")); - this.overrideDLL() - .set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120"]) - .do(); + this.wine.run(setupFile32, "/q", null, false, true); - return this; -}; + if (this.wine.architecture() == "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" + ) + .checksum("8bf41ba9eef02d30635a10433817dbb6886da5a2") + .name("vcredist_x64.exe") + .get(); -/** - * Verb to install vcrun2013 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2013Verb { - constructor() { - // do nothing + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x64)")); + + this.wine.run(setupFile64, "/q", null, false, true); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120"]) + .do(); } install(container) { - var wine = new Wine(); + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2013", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2013", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2013(); + + new Vcrun2013(wine).go(); + wizard.close(); } } + +module.default = Vcrun2013; diff --git a/Engines/Wine/Verbs/vcrun2015/script.js b/Engines/Wine/Verbs/vcrun2015/script.js index 3af7edef3a..25d0326026 100644 --- a/Engines/Wine/Verbs/vcrun2015/script.js +++ b/Engines/Wine/Verbs/vcrun2015/script.js @@ -1,75 +1,79 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2015 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2015 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe") - .checksum("bfb74e498c44d3a103ca3aa2831763fb417134d1") - .name("vc_redist.x86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x86)")); - this.run(setupFile32, "/q", null, false, true); - - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe") - .checksum("3155cb0f146b927fcc30647c1a904cd162548c8c") - .name("vc_redist.x64.exe") +class Vcrun2015 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + + const setupFile32 = new Resource() + .wizard(wizard) + .url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe") + .checksum("bfb74e498c44d3a103ca3aa2831763fb417134d1") + .name("vc_redist.x86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x64)")); - this.run(setupFile64, "/q", null, false, true); - } + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x86)")); - var dlls = [ - "api-ms-win-crt-conio-l1-1-0", - "api-ms-win-crt-heap-l1-1-0", - "api-ms-win-crt-locale-l1-1-0", - "api-ms-win-crt-math-l1-1-0", - "api-ms-win-crt-runtime-l1-1-0", - "api-ms-win-crt-stdio-l1-1-0", - "api-ms-win-crt-time-l1-1-0", - "atl140", - "concrt140", - "msvcp140", - "msvcr140", - "ucrtbase", - "vcomp140", - "vcruntime140" - ]; - this.overrideDLL() - .set("native, builtin", dlls) - .do(); - - return this; -}; + this.wine.run(setupFile32, "/q", null, false, true); -/** - * Verb to install vcrun2015 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2015Verb { - constructor() { - // do nothing + if (this.wine.architecture() == "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe" + ) + .checksum("3155cb0f146b927fcc30647c1a904cd162548c8c") + .name("vc_redist.x64.exe") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x64)")); + + this.wine.run(setupFile64, "/q", null, false, true); + } + + this.wine + .overrideDLL() + .set("native, builtin", [ + "api-ms-win-crt-conio-l1-1-0", + "api-ms-win-crt-heap-l1-1-0", + "api-ms-win-crt-locale-l1-1-0", + "api-ms-win-crt-math-l1-1-0", + "api-ms-win-crt-runtime-l1-1-0", + "api-ms-win-crt-stdio-l1-1-0", + "api-ms-win-crt-time-l1-1-0", + "atl140", + "concrt140", + "msvcp140", + "msvcr140", + "ucrtbase", + "vcomp140", + "vcruntime140" + ]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2015", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2015", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2015(); + + new Vcrun2015(wine).go(); + wizard.close(); } } + +module.default = Vcrun2015; diff --git a/Engines/Wine/Verbs/vcrun2017/script.js b/Engines/Wine/Verbs/vcrun2017/script.js index 924cc63395..c1e5cfb6f1 100644 --- a/Engines/Wine/Verbs/vcrun2017/script.js +++ b/Engines/Wine/Verbs/vcrun2017/script.js @@ -1,75 +1,81 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install vcrun2017 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2017 = function () { - var setupFile32 = new Resource() - .wizard(this.wizard()) - .url("https://download.visualstudio.microsoft.com/download/pr/11100229/78c1e864d806e36f6035d80a0e80399e/VC_redist.x86.exe") - .checksum("370583c380c26064885289037380af7d8d5f4e81") - .name("vc_redist.x86.exe") - .get(); - - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x86)")); - this.run(setupFile32, "/q", null, false, true); - - if (this.architecture() == "amd64") { - var setupFile64 = new Resource() - .wizard(this.wizard()) - .url("https://download.visualstudio.microsoft.com/download/pr/11100230/15ccb3f02745c7b206ad10373cbca89b/VC_redist.x64.exe") - .checksum("bdb645ebaf3c91eceb1a143be6793ca57e6435c3") - .name("vc_redist.x64.exe") +class Vcrun2017 { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + + const setupFile32 = new Resource() + .wizard(wizard) + .url( + "https://download.visualstudio.microsoft.com/download/pr/11100229/78c1e864d806e36f6035d80a0e80399e/VC_redist.x86.exe" + ) + .checksum("370583c380c26064885289037380af7d8d5f4e81") + .name("vc_redist.x86.exe") .get(); - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x64)")); - this.run(setupFile64, "/q", null, false, true); - } + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x86)")); - var dlls = [ - "api-ms-win-crt-conio-l1-1-0", - "api-ms-win-crt-heap-l1-1-0", - "api-ms-win-crt-locale-l1-1-0", - "api-ms-win-crt-math-l1-1-0", - "api-ms-win-crt-runtime-l1-1-0", - "api-ms-win-crt-stdio-l1-1-0", - "api-ms-win-crt-time-l1-1-0", - "atl140", - "concrt140", - "msvcp140", - "msvcr140", - "ucrtbase", - "vcomp140", - "vcruntime140" - ]; - this.overrideDLL() - .set("native, builtin", dlls) - .do(); - - return this; -}; + this.wine.run(setupFile32, "/q", null, false, true); -/** - * Verb to install vcrun2017 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun2017Verb { - constructor() { - // do nothing + if (this.wine.architecture() == "amd64") { + const setupFile64 = new Resource() + .wizard(wizard) + .url( + "https://download.visualstudio.microsoft.com/download/pr/11100230/15ccb3f02745c7b206ad10373cbca89b/VC_redist.x64.exe" + ) + .checksum("bdb645ebaf3c91eceb1a143be6793ca57e6435c3") + .name("vc_redist.x64.exe") + .get(); + + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x64)")); + + this.wine.run(setupFile64, "/q", null, false, true); + } + + this.wine + .overrideDLL() + .set("native, builtin", [ + "api-ms-win-crt-conio-l1-1-0", + "api-ms-win-crt-heap-l1-1-0", + "api-ms-win-crt-locale-l1-1-0", + "api-ms-win-crt-math-l1-1-0", + "api-ms-win-crt-runtime-l1-1-0", + "api-ms-win-crt-stdio-l1-1-0", + "api-ms-win-crt-time-l1-1-0", + "atl140", + "concrt140", + "msvcp140", + "msvcr140", + "ucrtbase", + "vcomp140", + "vcruntime140" + ]) + .do(); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2017", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun2017", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun2017(); + + new Vcrun2017(wine).go(); + wizard.close(); } } + +module.default = Vcrun2017; diff --git a/Engines/Wine/Verbs/vcrun6sp6/script.js b/Engines/Wine/Verbs/vcrun6sp6/script.js index 8fa265598d..2022b79ab3 100644 --- a/Engines/Wine/Verbs/vcrun6sp6/script.js +++ b/Engines/Wine/Verbs/vcrun6sp6/script.js @@ -1,55 +1,58 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {CabExtract} = include("utils.functions.filesystem.extract"); -const {remove} = include("utils.functions.filesystem.files"); +const { CabExtract } = include("utils.functions.filesystem.extract"); +const { remove } = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); /** * Verb to install vcrun6sp6 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun6sp6 = function () { - var toBeCabExtracted = new Resource() - .wizard(this.wizard()) - .url("https://download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe") - .checksum("2292437a8967349261c810ae8b456592eeb76620") - .name("Vs6sp6.exe") - .get(); - - var setupFile = new CabExtract() - .archive(toBeCabExtracted) - .to(this.prefixDirectory() + "/drive_c/vcrun6sp6/") - .extract(["-L", "-F", "vcredist.exe"]); - - remove(this.system32directory() + "comcat.dll"); - remove(this.system32directory() + "msvcrt.dll"); - remove(this.system32directory() + "oleaut32.dll"); - remove(this.system32directory() + "olepro32.dll"); - remove(this.system32directory() + "stdole2.dll"); - - this.wizard().wait(tr("Please wait while {0} is installed...", "vcrun6sp6")); - this.run(setupFile, "/q", null, false, true); - - return this; -}; +class Vcrun6SP6 { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install vcrun6sp6 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Vcrun6SP6Verb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + + const toBeCabExtracted = new Resource() + .wizard(wizard) + .url("https://download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe") + .checksum("2292437a8967349261c810ae8b456592eeb76620") + .name("Vs6sp6.exe") + .get(); + + const setupFile = new CabExtract() + .wizard(wizard) + .archive(toBeCabExtracted) + .to(`${prefixDirectory}/drive_c/vcrun6sp6/`) + .extract(["-L", "-F", "vcredist.exe"]); + + remove(`${system32directory}/comcat.dll`); + remove(`${system32directory}/msvcrt.dll`); + remove(`${system32directory}/oleaut32.dll`); + remove(`${system32directory}/olepro32.dll`); + remove(`${system32directory}/stdole2.dll`); + + wizard.wait(tr("Please wait while {0} is installed...", "vcrun6sp6")); + + this.wine.run(setupFile, "/q", null, false, true); } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun6sp6", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vcrun6sp6", java.util.Optional.empty()); wine.wizard(wizard); - wine.vcrun6sp6(); + + new Vcrun6SP6(wine).go(); + wizard.close(); } } + +module.default = Vcrun6SP6; diff --git a/Engines/Wine/Verbs/vulkanSDK/script.js b/Engines/Wine/Verbs/vulkanSDK/script.js index e0bb3fcde9..c114b394e3 100644 --- a/Engines/Wine/Verbs/vulkanSDK/script.js +++ b/Engines/Wine/Verbs/vulkanSDK/script.js @@ -1,79 +1,87 @@ - const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {touch, writeToFile} = include("utils.functions.filesystem.files"); +const { touch, writeToFile } = include("utils.functions.filesystem.files"); + +const Optional = Java.type("java.util.Optional"); include("engines.wine.plugins.regedit"); /** - * All the necessary things to run winevulkan (even inside wine mainline or newest wine-staging) + * Verb to install all the necessary things to run winevulkan (even inside wine mainline or newest wine-staging) * see: https://github.com/roderickc/wine-vulkan - * - * @returns {Wine} Wine object */ -Wine.prototype.vulkanSDK = function () { - print("NOTE: you need a graphic driver that supports Vulkan to run winevulkan"); - print("NOTE: Vulkan works in wine from version 3.3 (if compiled with vulkan support)"); - - var sdkVersion = "1.1.97.0"; - - var setupFile = new Resource() - .wizard(this.wizard()) - .url("https://sdk.lunarg.com/sdk/download/" + sdkVersion + "/windows/VulkanSDK-" + sdkVersion + "-Installer.exe") - .checksum("6bab01f98473bfd550544bbe9773a6d05872a61a") - .name("VulkanSDK-" + sdkVersion + "-Installer.exe") - .get(); - - this.run(setupFile, "/S"); - this.wait(); - - var pathVulkanJSON = this.prefixDirectory() + "drive_c/windows/winevulkan.json"; - touch(pathVulkanJSON); - var contentVulkanJSON = JSON.stringify({ - "file_format_version": "1.0.0", "ICD": { - "library_path": "c:\\windows\\system32\\winevulkan.dll", - "api_version": sdkVersion - } - }, null, 4); +class VulkanSDK { + constructor(wine) { + this.wine = wine; + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + + print("NOTE: you need a graphic driver that supports Vulkan to run winevulkan"); + print("NOTE: Vulkan works in wine from version 3.3 (if compiled with vulkan support)"); + + const sdkVersion = "1.1.97.0"; + + const setupFile = new Resource() + .wizard(wizard) + .url(`https://sdk.lunarg.com/sdk/download/${sdkVersion}/windows/VulkanSDK-${sdkVersion}-Installer.exe`) + .checksum("6bab01f98473bfd550544bbe9773a6d05872a61a") + .name(`VulkanSDK-${sdkVersion}-Installer.exe`) + .get(); + + this.wine.run(setupFile, "/S"); + this.wine.wait(); + + const pathVulkanJSON = `${prefixDirectory}/drive_c/windows/winevulkan.json`; - writeToFile(pathVulkanJSON, contentVulkanJSON); + touch(pathVulkanJSON); - var regeditFileContent32 = - "REGEDIT4\n" + - "\n" + - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Khronos\\Vulkan\\Drivers]\n" + - "\"C:\\\\Windows\\\\winevulkan.json\"=dword:00000000"; + const contentVulkanJSON = JSON.stringify( + { + "file_format_version": "1.0.0", + "ICD": { + "library_path": "c:\\windows\\system32\\winevulkan.dll", + "api_version": sdkVersion + } + }, + null, + 4 + ); - this.regedit().patch(regeditFileContent32); + writeToFile(pathVulkanJSON, contentVulkanJSON); - if (this.architecture() == "amd64") { - var regeditFileContent64 = + const regeditFileContent32 = "REGEDIT4\n" + "\n" + - "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Khronos\\Vulkan\\Drivers\\]\n" + - "\"C:\\\\Windows\\\\winevulkan.json\"=dword:00000000"; + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Khronos\\Vulkan\\Drivers]\n" + + '"C:\\\\Windows\\\\winevulkan.json"=dword:00000000'; - this.regedit().patch(regeditFileContent64); - } + this.wine.regedit().patch(regeditFileContent32); - return this; -} + if (this.wine.architecture() == "amd64") { + const regeditFileContent64 = + "REGEDIT4\n" + + "\n" + + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Khronos\\Vulkan\\Drivers\\]\n" + + '"C:\\\\Windows\\\\winevulkan.json"=dword:00000000'; -/** - * Verb to install all the necessary things to run winevulkan (even inside wine mainline or newest wine-staging) - */ -// eslint-disable-next-line no-unused-vars -module.default = class VulkanSDKVerb { - constructor() { - // do nothing + this.wine.regedit().patch(regeditFileContent64); + } } - install(container) { - var wine = new Wine(); + static install(container) { + const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vulkanSDK", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "vulkanSDK", java.util.Optional.empty()); wine.wizard(wizard); - wine.vulkanSDK(); + + new VulkanSDK(wine).go(); + wizard.close(); } } + +module.default = VulkanSDK; diff --git a/Engines/Wine/Verbs/xact/script.js b/Engines/Wine/Verbs/xact/script.js index 3b834c6b03..61c9bf7dec 100644 --- a/Engines/Wine/Verbs/xact/script.js +++ b/Engines/Wine/Verbs/xact/script.js @@ -3,252 +3,288 @@ const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); const { remove } = include("utils.functions.filesystem.files"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.regsvr32"); /** * Verb to install xact - * - * @returns {Wine} Wine object */ -Wine.prototype.xact = function () { - const extractFiles = (progressBar, filesToExtract, destination, pattern, directory) => { +class Xact { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts a given list of files + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to extract + * @param {*} destination The destination directory + * @param {*} pattern The file pattern + * @param {*} directory The directory where the files are located + * @returns {void} + */ + extractFiles(progressBar, filesToExtract, destination, pattern, directory) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + // extract the cab files filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); - progressBar.setText(tr("Extracting {0}...", "Xact")); + progressBar.setText(tr("Extracting {0}...", cabFile)); progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/" + directory + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/${directory}/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; + } - //This function executes regsvr32 on the dlls present in dllToRegsvr - const regsvr32Xact = (progressBar, dllToRegsvr) => { + /** + * Executes regsvr32 on the dlls present in dllToRegsvr + * + * @param {*} progressBar The progressbar + * @param {*} dllToRegsvr The dll files + * @returns {void} + */ + regsvr32Xact(progressBar, dllToRegsvr) { dllToRegsvr.reduce((numberOfExtractedFiles, dll) => { print(tr("Registering {0}...", dll)); progressBar.setText(tr("Registering {0}...", "Xact")); - progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); + progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / dllToRegsvr.length); - this.regsvr32().install(dll); + this.wine.regsvr32().install(dll); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "Xact")); - progressBar.setProgressPercentage(0); - - let filesToExtract = []; - - //---------------------------------------------------------Extract xactengine*.dll-------------------------------------------- - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xact_x86/") - .extract(["-L", "-F", "*_xact_*x86*"]); - - filesToExtract = [ - "apr2006_xact_x86.cab", - "apr2007_xact_x86.cab", - "aug2006_xact_x86.cab", - "aug2007_xact_x86.cab", - "aug2008_xact_x86.cab", - "aug2009_xact_x86.cab", - "dec2006_xact_x86.cab", - "fev2006_xact_x86.cab", - "fev2007_xact_x86.cab", - "fev2010_xact_x86.cab", - "jun2006_xact_x86.cab", - "jun2007_xact_x86.cab", - "jun2008_xact_x86.cab", - "jun2010_xact_x86.cab", - "mar2008_xact_x86.cab", - "mar2009_xact_x86.cab", - "nov2007_xact_x86.cab", - "nov2008_xact_x86.cab", - "oct2006_xact_x86.cab" - ]; - extractFiles(progressBar, filesToExtract, this.system32directory(), "xactengine*.dll", "xact_x86/"); - - //---------------------------------------------------------Extract X3Daudio*.dll---------------------------------------------- - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/x3daudio_x86/") - .extract(["-L", "-F", "*_x3daudio_*x86*"]); - - filesToExtract = [ - "feb2010_x3daudio_x86.cab", - "jun2008_x3daudio_x86.cab", - "mar2008_x3daudio_x86.cab", - "mar2009_x3daudio_x86.cab", - "nov2007_x3daudio_x86.cab", - "nov2008_x3daudio_x86.cab" - ]; - extractFiles(progressBar, filesToExtract, this.system32directory(), "X3Daudio*.dll", "x3daudio_x86/"); - - //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll--------------------------------- - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xaudio_x86/") - .extract(["-L", "-F", "*_xaudio_*x86*"]); - - filesToExtract = [ - "aug2008_xaudio_x86.cab", - "aug2009_xaudio_x86.cab", - "feb2010_xaudio_x86.cab", - "jun2008_xaudio_x86.cab", - "jun2010_xaudio_x86.cab", - "mar2008_xaudio_x86.cab", - "mar2009_xaudio_x86.cab", - "nov2008_xaudio_x86.cab" - ]; - extractFiles(progressBar, filesToExtract, this.system32directory(), "XAudio*.dll", "xaudio_x86/"); - extractFiles(progressBar, filesToExtract, this.system32directory(), "XAPOFX*.dll", "xaudio_x86/"); - - const xactToRegserv = [ - "xactengine2_1.dll", - "xactengine2_2.dll", - "xactengine2_3.dll", - "xactengine2_4.dll", - "xactengine2_5.dll", - "xactengine2_7.dll", - "xactengine2_8.dll", - "xactengine2_9.dll", - "xactengine2_10.dll", - "xactengine3_0.dll", - "xactengine3_1.dll", - "xactengine3_2.dll", - "xactengine3_3.dll", - "xactengine3_4.dll", - "xactengine3_5.dll", - "xactengine3_7.dll" - ]; - - const xaudioToRegserv = [ - "xaudio2_0.dll", - "xaudio2_1.dll", - "xaudio2_2.dll", - "xaudio2_3.dll", - "xaudio2_4.dll", - "xaudio2_5.dll", - "xaudio2_6.dll", - "xaudio2_7.dll", - "xaudio2_9.dll" - ]; - - regsvr32Xact(progressBar, xactToRegserv); - regsvr32Xact(progressBar, xaudioToRegserv); - - remove(this.prefixDirectory() + "/drive_c/xact_x86/"); - remove(this.prefixDirectory() + "/drive_c/x3daudio_x86/"); - remove(this.prefixDirectory() + "/drive_c/xaudio_x86/"); - - if (this.architecture() == "amd64") { - //---------------------------------------------------------Extract xactengine*.dll (x64)-------------------------------------------- + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "Xact")); + progressBar.setProgressPercentage(0); + + let filesToExtract = []; + + //---------------------------------------------------------Extract xactengine*.dll-------------------------------------------- new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xact_x64/") - .extract(["-L", "-F", "*_xact_*x64*"]); + .to(`${prefixDirectory}/drive_c/xact_x86/`) + .extract(["-L", "-F", "*_xact_*x86*"]); filesToExtract = [ - "apr2006_xact_x64.cab", - "apr2007_xact_x64.cab", - "aug2006_xact_x64.cab", - "aug2007_xact_x64.cab", - "aug2008_xact_x64.cab", - "aug2009_xact_x64.cab", - "dec2006_xact_x64.cab", - "fev2006_xact_x64.cab", - "fev2007_xact_x64.cab", - "fev2010_xact_x64.cab", - "jun2006_xact_x64.cab", - "jun2007_xact_x64.cab", - "jun2008_xact_x64.cab", - "jun2010_xact_x64.cab", - "mar2008_xact_x64.cab", - "mar2009_xact_x64.cab", - "nov2007_xact_x64.cab", - "nov2008_xact_x64.cab", - "oct2006_xact_x64.cab" + "apr2006_xact_x86.cab", + "apr2007_xact_x86.cab", + "aug2006_xact_x86.cab", + "aug2007_xact_x86.cab", + "aug2008_xact_x86.cab", + "aug2009_xact_x86.cab", + "dec2006_xact_x86.cab", + "fev2006_xact_x86.cab", + "fev2007_xact_x86.cab", + "fev2010_xact_x86.cab", + "jun2006_xact_x86.cab", + "jun2007_xact_x86.cab", + "jun2008_xact_x86.cab", + "jun2010_xact_x86.cab", + "mar2008_xact_x86.cab", + "mar2009_xact_x86.cab", + "nov2007_xact_x86.cab", + "nov2008_xact_x86.cab", + "oct2006_xact_x86.cab" ]; - extractFiles(progressBar, filesToExtract, this.system64directory(), "xactengine*.dll", "xact_x64/"); - //---------------------------------------------------------Extract X3Daudio*.dll (x64)---------------------------------------------- + this.extractFiles(progressBar, filesToExtract, system32directory, "xactengine*.dll", "xact_x86"); + + //---------------------------------------------------------Extract X3Daudio*.dll---------------------------------------------- new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/x3daudio_x64/") - .extract(["-L", "-F", "*_x3daudio_*x64*"]); + .to(`${prefixDirectory}/drive_c/x3daudio_x86/`) + .extract(["-L", "-F", "*_x3daudio_*x86*"]); filesToExtract = [ - "feb2010_x3daudio_x64.cab", - "jun2008_x3daudio_x64.cab", - "mar2008_x3daudio_x64.cab", - "mar2009_x3daudio_x64.cab", - "nov2007_x3daudio_x64.cab", - "nov2008_x3daudio_x64.cab" + "feb2010_x3daudio_x86.cab", + "jun2008_x3daudio_x86.cab", + "mar2008_x3daudio_x86.cab", + "mar2009_x3daudio_x86.cab", + "nov2007_x3daudio_x86.cab", + "nov2008_x3daudio_x86.cab" ]; - extractFiles(progressBar, filesToExtract, this.system64directory(), "X3Daudio*.dll", "x3daudio_x64/"); - //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll (x64)--------------------------------- + this.extractFiles(progressBar, filesToExtract, system32directory, "X3Daudio*.dll", "x3daudio_x86"); + + //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll--------------------------------- new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xaudio_x64/") - .extract(["-L", "-F", "*_xaudio_*64*"]); + .to(`${prefixDirectory}/drive_c/xaudio_x86/`) + .extract(["-L", "-F", "*_xaudio_*x86*"]); filesToExtract = [ - "aug2008_xaudio_x64.cab", - "aug2009_xaudio_x64.cab", - "feb2010_xaudio_x64.cab", - "jun2008_xaudio_x64.cab", - "jun2010_xaudio_x64.cab", - "mar2008_xaudio_x64.cab", - "mar2009_xaudio_x64.cab", - "nov2008_xaudio_x64.cab" + "aug2008_xaudio_x86.cab", + "aug2009_xaudio_x86.cab", + "feb2010_xaudio_x86.cab", + "jun2008_xaudio_x86.cab", + "jun2010_xaudio_x86.cab", + "mar2008_xaudio_x86.cab", + "mar2009_xaudio_x86.cab", + "nov2008_xaudio_x86.cab" ]; - extractFiles(progressBar, filesToExtract, this.system64directory(), "XAudio*.dll", "xaudio_x64/"); - extractFiles(progressBar, filesToExtract, this.system64directory(), "XAPOFX*.dll", "xaudio_x64/"); - remove(this.prefixDirectory() + "/drive_c/xact_x64/"); - remove(this.prefixDirectory() + "/drive_c/x3daudio_x64/"); - remove(this.prefixDirectory() + "/drive_c/xaudio_x64/"); - } + this.extractFiles(progressBar, filesToExtract, system32directory, "XAudio*.dll", "xaudio_x86"); + this.extractFiles(progressBar, filesToExtract, system32directory, "XAPOFX*.dll", "xaudio_x86"); + + const xactToRegserv = [ + "xactengine2_1.dll", + "xactengine2_2.dll", + "xactengine2_3.dll", + "xactengine2_4.dll", + "xactengine2_5.dll", + "xactengine2_7.dll", + "xactengine2_8.dll", + "xactengine2_9.dll", + "xactengine2_10.dll", + "xactengine3_0.dll", + "xactengine3_1.dll", + "xactengine3_2.dll", + "xactengine3_3.dll", + "xactengine3_4.dll", + "xactengine3_5.dll", + "xactengine3_7.dll" + ]; - return this; -}; + const xaudioToRegserv = [ + "xaudio2_0.dll", + "xaudio2_1.dll", + "xaudio2_2.dll", + "xaudio2_3.dll", + "xaudio2_4.dll", + "xaudio2_5.dll", + "xaudio2_6.dll", + "xaudio2_7.dll", + "xaudio2_9.dll" + ]; -/** - * Verb to install xact - */ -module.default = class XactVerb { - constructor() { - // do nothing + this.regsvr32Xact(progressBar, xactToRegserv); + this.regsvr32Xact(progressBar, xaudioToRegserv); + + remove(`${prefixDirectory}/drive_c/xact_x86/`); + remove(`${prefixDirectory}/drive_c/x3daudio_x86/`); + remove(`${prefixDirectory}/drive_c/xaudio_x86/`); + + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + + //---------------------------------------------------------Extract xactengine*.dll (x64)-------------------------------------------- + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/xact_x64/`) + .extract(["-L", "-F", "*_xact_*x64*"]); + + filesToExtract = [ + "apr2006_xact_x64.cab", + "apr2007_xact_x64.cab", + "aug2006_xact_x64.cab", + "aug2007_xact_x64.cab", + "aug2008_xact_x64.cab", + "aug2009_xact_x64.cab", + "dec2006_xact_x64.cab", + "fev2006_xact_x64.cab", + "fev2007_xact_x64.cab", + "fev2010_xact_x64.cab", + "jun2006_xact_x64.cab", + "jun2007_xact_x64.cab", + "jun2008_xact_x64.cab", + "jun2010_xact_x64.cab", + "mar2008_xact_x64.cab", + "mar2009_xact_x64.cab", + "nov2007_xact_x64.cab", + "nov2008_xact_x64.cab", + "oct2006_xact_x64.cab" + ]; + + this.extractFiles(progressBar, filesToExtract, system64directory, "xactengine*.dll", "xact_x64"); + + //---------------------------------------------------------Extract X3Daudio*.dll (x64)---------------------------------------------- + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/x3daudio_x64/`) + .extract(["-L", "-F", "*_x3daudio_*x64*"]); + + filesToExtract = [ + "feb2010_x3daudio_x64.cab", + "jun2008_x3daudio_x64.cab", + "mar2008_x3daudio_x64.cab", + "mar2009_x3daudio_x64.cab", + "nov2007_x3daudio_x64.cab", + "nov2008_x3daudio_x64.cab" + ]; + + this.extractFiles(progressBar, filesToExtract, system64directory, "X3Daudio*.dll", "x3daudio_x64"); + + //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll (x64)--------------------------------- + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/xaudio_x64/`) + .extract(["-L", "-F", "*_xaudio_*64*"]); + + filesToExtract = [ + "aug2008_xaudio_x64.cab", + "aug2009_xaudio_x64.cab", + "feb2010_xaudio_x64.cab", + "jun2008_xaudio_x64.cab", + "jun2010_xaudio_x64.cab", + "mar2008_xaudio_x64.cab", + "mar2009_xaudio_x64.cab", + "nov2008_xaudio_x64.cab" + ]; + + this.extractFiles(progressBar, filesToExtract, system64directory, "XAudio*.dll", "xaudio_x64"); + this.extractFiles(progressBar, filesToExtract, system64directory, "XAPOFX*.dll", "xaudio_x64"); + + remove(`${prefixDirectory}/drive_c/xact_x64/`); + remove(`${prefixDirectory}/drive_c/x3daudio_x64/`); + remove(`${prefixDirectory}/drive_c/xaudio_x64/`); + } } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "xact", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "xact", java.util.Optional.empty()); wine.wizard(wizard); - wine.xact(); + + new Xact(wine).go(); wizard.close(); } -}; +} + +module.default = Xact; diff --git a/docs/_docs/Develop/script-js.md b/docs/_docs/Develop/script-js.md index b19be1ddfd..8c8015533d 100644 --- a/docs/_docs/Develop/script-js.md +++ b/docs/_docs/Develop/script-js.md @@ -191,22 +191,30 @@ For example, for a steam game: ``` #### Pre/Post install hooks -With the pre/post install hooks, you can specify a function which is executed before/after the installation. The function receives a wine object and the [SetupWizard]({{ site.baseurl }}{% link _docs/Develop/setup-wizard.md %}). By default, the pre/post install hooks do nothing. +With the pre- and post- install hooks, you can specify a function which is executed before or after the installation. +The given function receives a wine object and the [SetupWizard]({{ site.baseurl }}{% link _docs/Develop/setup-wizard.md %}). +By default, the pre- and post- install hooks do nothing. -These hooks are especially useful to set DLL overrides. -You can find the complete list of available verbs [here](https://github.com/PhoenicisOrg/scripts/tree/master/Engines/Wine/Verbs). +One common usecase for the pre- and post- install hooks is to set DLL overrides. +DLL overrides are commonly performed using socalled `verb`s. +You can find the complete list of available `verb`s [here](https://github.com/PhoenicisOrg/scripts/tree/master/Engines/Wine/Verbs). -For example, in the script for "Assassin’s Creed: Brotherhood": +To use a `verb` you first need to include it. +You can include a verb by using the `include()` command which returns the class of the included `verb`. + +For example, in the script for "Assassin’s Creed: Brotherhood" two verbs are included: ```javascript -include("engines.wine.verbs.d3dx9"); -include("engines.wine.verbs.crypt32"); +const SteamScript = include("engines.wine.quick_script.steam_script"); + +const Crypt32 = include("engines.wine.verbs.crypt32"); +const D3DX9 = include("engines.wine.verbs.d3dx9"); new SteamScript() ... .preInstall(function(wine, wizard) { - wine.crypt32(); - wine.d3dx9(); + new Crypt32(wine).go(); + new D3DX9(wine).go(); }) ``` @@ -225,17 +233,19 @@ Specific wine version: .wineVersion("1.9.23") ``` -You can also use variables for the wine version: -* LATEST_DEVELOPMENT_VERSION -* LATEST_STAGING_VERSION +You can also use variables for the latest wine version: +* `LATEST_STABLE_VERSION` via `const { LATEST_STABLE_VERSION } = include("engines.wine.engine.versions");` +* `LATEST_DEVELOPMENT_VERSION` via `const { LATEST_DEVELOPMENT_VERSION } = include("engines.wine.engine.versions");` +* `LATEST_STAGING_VERSION` via `const { LATEST_STAGING_VERSION } = include("engines.wine.engine.versions");` +* `LATEST_DOS_SUPPORT_VERSION` via `const { LATEST_DOS_SUPPORT_VERSION } = include("engines.wine.engine.versions");` -Specific wine architecture ("x86" or "amd64"): +For the specific wine architecture ("x86" or "amd64"): ```javascript .wineArchitecture("x86") ``` -Specific windows version: +And for the specific windows version: ```javascript include("engines.wine.plugins.windows_version"); @@ -254,7 +264,7 @@ If the script requires a special registry setting, there are 2 options: const AppResource = include("utils.functions.apps.resources"); include("engines.wine.plugins.regedit"); ... - var registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("registry.reg"); + const registrySettings = new AppResource().application([TYPE_ID, CATEGORY_ID, APPLICATION_ID]).get("registry.reg"); wine.regedit().patch(registrySettings); ``` @@ -266,18 +276,22 @@ The frame for a custom script looks like this: ```javascript const Wine = include("engines.wine.engine.object"); const WineShortcut = include("engines.wine.shortcuts.wine"); +const Luna = include("engines.wine.verbs.luna"); +const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions"); -var application = "application name" +const application = "application name" -var setupWizard = SetupWizard(application); +const setupWizard = SetupWizard(application); setupWizard.presentation(application, "Editor", "http://applicationhomepage.com", "script author"); -var wine = new Wine() +const wine = new Wine() .wizard(setupWizard) - .prefix(application, "upstream", "x86", LATEST_STABLE_VERSION) - .luna() - .run("your command", ["arg1", "arg2"], null, false, true); + .prefix(application, "upstream", "x86", LATEST_STABLE_VERSION); + +new Luna(wine).go(); + +wine.run("your command", ["arg1", "arg2"], null, false, true); new WineShortcut() .name(application) diff --git a/docs/_docs/Develop/verbs.md b/docs/_docs/Develop/verbs.md index 44ead83471..f923fc7bbe 100644 --- a/docs/_docs/Develop/verbs.md +++ b/docs/_docs/Develop/verbs.md @@ -8,52 +8,62 @@ toc: true The following text describes Verbs for the example of the Wine engine. ## Writing a new verb -Probably, the verb you want to add has already been implemented somewhere else. Take that as an example: +Probably, the functionality of the verb you want to add has already been implemented somewhere else. +To find out whether someone else has already implemented the functionality you can for example look at: * [winetricks](https://github.com/Winetricks/winetricks/blob/master/src/winetricks) * [playonlinux.com search](https://www.playonlinux.com/en/forums.html) -Create a new folder in `Engines/Wine/Verbs` and add a `script.js`. The `script.js` must follow this template: +To create a new verb create a new folder in `Engines/Wine/Verbs` and add a `script.js`. +The `script.js` must follow this template: ```javascript const Wine = include("engines.wine.engine.object"); -/** - * Verb to install verb - * - * @returns {Wine} Wine object - */ -Wine.prototype.verb = function() { - ... - return this; -} +const Optional = Java.type("java.util.Optional"); /** - * Verb to install verb + * Verb to install */ -module.default = class VerbVerb { - constructor() { +// TODO: replace Verb by your own class name +class Verb { + constructor(wine) { + this.wine = wine; + // do some optional initialisation work } - install(container) { - var wine = new Wine(); + go() { + // TODO: add implementation of your verb here + ... + } + + static install(container) { + const wine = new Wine(); + // TODO: change to the target verb name + const wizard = SetupWizard(InstallationType.VERBS, "", Optional.empty()); + wine.prefix(container); - var wizard = SetupWizard(InstallationType.VERBS, "verb", java.util.Optional.empty()); wine.wizard(wizard); - wine.verb(); + + // TODO: replace Verb by your own class name + new Verb(wine).go(); + wizard.close(); } -} +}; + +// TODO: replace Verb by your own class name +module.default = Verb; ``` -The verb extends `Wine`. You can therefore access `Wine` methods via `this`. +The main implementation of your verb needs to be contained in the `go` method. ### Resource To download a file, use `Resource`: ```javascript -var setupFile = new Resource() - .wizard(this._wizard) +const setupFile = new Resource() + .wizard(this.wine.wizard()) .url("http://url/file.exe") .checksum("sha1sum") .algorithm("SHA" / "MD5") // optional: default is "SHA" @@ -64,7 +74,8 @@ var setupFile = new Resource() To install the downloaded `Resource`: ```javascript -this.run(setupFile, ["arg1", "arg2"]) +this.wine + .run(setupFile, ["arg1", "arg2"]) .wait("Please wait while {0} is installed ...".format("Verb")); ``` @@ -76,8 +87,8 @@ Sometimes, it is necessary to extract files from the download instead of install ```javascript new CabExtract() .archive(setupFile) // the Resource - .wizard(null) - .to("path/to/directory") // often: this.system32directory() + .wizard(this.wine.wizard()) + .to("path/to/directory") // often: this.wine.system32directory() .extract(); ``` @@ -93,12 +104,12 @@ If you extract many files, don't forget to add a progress bar like it is done fo On Windows 32 bits, 32 bits dll's go to `C:\windows\system32`. On Windows 64 bits, 32 bits dll's go to `C:\windows\syswow64` and 64 bits dll's go to system32. -This is already handled inside the engine implementation if you use the functions `wine.system64directory()` for 64 bits dll's and bits and `wine.system32directory` for 32 bits dll's inside your scripts. +This is already handled inside the engine implementation if you use the functions `wine.system64directory()` for 64 bits dll's and bits and `wine.system32directory()` for 32 bits dll's inside your scripts. ### DLL Overrides ```javascript -this.overrideDLL() +this.wine.overrideDLL() .set("native, builtin", ["dll1.dll", "dll2.dll"]) .do(); ``` diff --git a/docs/_docs/General/best-practices.md b/docs/_docs/General/best-practices.md index bb1e31cd48..db182656da 100644 --- a/docs/_docs/General/best-practices.md +++ b/docs/_docs/General/best-practices.md @@ -1,7 +1,7 @@ --- title: "Best practices" category: General -order: 4 +order: 5 toc: false --- diff --git a/docs/_docs/General/classes.md b/docs/_docs/General/classes.md index d44982b38a..85426c34ef 100644 --- a/docs/_docs/General/classes.md +++ b/docs/_docs/General/classes.md @@ -1,7 +1,7 @@ --- title: "Classes" category: General -order: 3 +order: 4 toc: true --- diff --git a/docs/_docs/General/module-system.md b/docs/_docs/General/module-system.md new file mode 100644 index 0000000000..dea219ee85 --- /dev/null +++ b/docs/_docs/General/module-system.md @@ -0,0 +1,88 @@ +--- +title: "Module System" +category: General +order: 1 +toc: true +--- + +The scripts requires its scripts to be written as **modules**. +The idea behind modules is to specify which information inside a script should be made available to other scripts. +In addition the module systems helps making it apparent which information inside a script is taken from other scripts. + +A module basically consists of two types of operations: **module includes** and **module exports**. + +## Module Includes + +A module include is required to use code defined in another module. +There are two types of module includes: the **default include** and the **named include**. + +### Default Include + +Whenever an included module should be used as a single object, like a `class` object, it should be included using a **default include**. +A default include assigns an included module to a variable: + +```javascript +const Module = include("module.id"); + +// do something with module +``` + +The assigned variable will contain the value that has been assigned to the **default export** of the included module. + +### Named Include + +In other cases a single module exports multiple values, which can be used independently from each other. +In such situations the different values can be included using a **named include**. +A named include allows the selection of only a subset of the exported values to be included: + +```javascript +const { foo, bar, x, y } = include("module.id"); + +// do something with foo, bar, x and y +``` + +The included values can be any kind of object like functions, classes or constants. + +## Module Exports + +To allow other modules to include values from another module, the module needs to first export it. +An export statement specifies as a form of contract that a value should be _exported_ to other modules and therefore be used by the other modules. +Values are exported by assigning them to the `module` variable which is made available when executing the module script. +A module can contain two types export statements: a single **default export** or multiple **named exports**. + +### Named Exports + +In some cases a module will need to export multiple values. +In such situations **named exports** can be used. +A named export assigns each exported value to its own variable of the `module` variable: + +```javascript +module.foo = function() { + ... +}; + +module.bar = function(input) { + ... +}; + +module.x = // exported value +module.y = // other exported value +``` + +The previous example module exports four values: `foo`, `bar`, `x` and `y`, which can be included using the code shown in the **Named Include** section. + +### Default Export + +Often a module will only export a single value. +In such situations a **default export** can be used to make the value accessible by other modules. +A single value can be exported by using: + +```javascript +module.default = // value to export +``` + +The single exported default value needs to be assigned to the `default` value of the `module` variable. +This defines the value as the default export of the module. + +A module can either use a single default export **or** multiple named exports. +When a module uses both export types the default export is applied. diff --git a/docs/_docs/General/tools.md b/docs/_docs/General/tools.md index ffdf8ade61..1d3f718457 100644 --- a/docs/_docs/General/tools.md +++ b/docs/_docs/General/tools.md @@ -1,7 +1,7 @@ --- title: "Tools" category: General -order: 1 +order: 2 toc: true --- diff --git a/docs/_docs/General/translation.md b/docs/_docs/General/translation.md index ae60306c80..5b86157e61 100644 --- a/docs/_docs/General/translation.md +++ b/docs/_docs/General/translation.md @@ -1,7 +1,7 @@ --- title: "Translation" category: General -order: 2 +order: 3 toc: false --- diff --git a/docs/jsdoc/AdobeAir.html b/docs/jsdoc/AdobeAir.html new file mode 100644 index 0000000000..59b37333b3 --- /dev/null +++ b/docs/jsdoc/AdobeAir.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: AdobeAir + + + + + + + + + + +
+ +

Class: AdobeAir

+ + + + + + +
+ +
+ +

AdobeAir()

+ +
Verb to install adobeair
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new AdobeAir()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Amstream.html b/docs/jsdoc/Amstream.html new file mode 100644 index 0000000000..7bd5acdf71 --- /dev/null +++ b/docs/jsdoc/Amstream.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Amstream + + + + + + + + + + +
+ +

Class: Amstream

+ + + + + + +
+ +
+ +

Amstream()

+ +
Verb to install amstream
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Amstream()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Atmlib.html b/docs/jsdoc/Atmlib.html new file mode 100644 index 0000000000..fcc56f112c --- /dev/null +++ b/docs/jsdoc/Atmlib.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Atmlib + + + + + + + + + + +
+ +

Class: Atmlib

+ + + + + + +
+ +
+ +

Atmlib()

+ +
Verb to install atmlib
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Atmlib()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Corefonts.html b/docs/jsdoc/Corefonts.html new file mode 100644 index 0000000000..19f7333070 --- /dev/null +++ b/docs/jsdoc/Corefonts.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Corefonts + + + + + + + + + + +
+ +

Class: Corefonts

+ + + + + + +
+ +
+ +

Corefonts()

+ +
Verb to install corefonts
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Corefonts()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Crypt32.html b/docs/jsdoc/Crypt32.html new file mode 100644 index 0000000000..5c34676de6 --- /dev/null +++ b/docs/jsdoc/Crypt32.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Crypt32 + + + + + + + + + + +
+ +

Class: Crypt32

+ + + + + + +
+ +
+ +

Crypt32()

+ +
Verb to install crypt32
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Crypt32()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/D3DX10.html b/docs/jsdoc/D3DX10.html new file mode 100644 index 0000000000..7ec9b4af32 --- /dev/null +++ b/docs/jsdoc/D3DX10.html @@ -0,0 +1,398 @@ + + + + + JSDoc: Class: D3DX10 + + + + + + + + + + +
+ +

Class: D3DX10

+ + + + + + +
+ +
+ +

D3DX10()

+ +
Verb to install D3DX10
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new D3DX10()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) → {void}

+ + + + + + +
+ Extracts DirectX10 to the system directory +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
progressBar + + +* + + + + The progress bar
filesToExtract + + +* + + + + A list of files to be extracted
destination + + +* + + + + The destination folder
pattern + + +* + + + + The file pattern used during extraction
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/D3DX11.html b/docs/jsdoc/D3DX11.html new file mode 100644 index 0000000000..2c8424daff --- /dev/null +++ b/docs/jsdoc/D3DX11.html @@ -0,0 +1,398 @@ + + + + + JSDoc: Class: D3DX11 + + + + + + + + + + +
+ +

Class: D3DX11

+ + + + + + +
+ +
+ +

D3DX11()

+ +
Verb to install D3DX11
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new D3DX11()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) → {void}

+ + + + + + +
+ Extracts DirectX11 to the system directory +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
progressBar + + +* + + + + The progress bar
filesToExtract + + +* + + + + A list of files to extract
destination + + +* + + + + The destination folder
pattern + + +* + + + + The file pattern used during extraction
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/D3DX9.html b/docs/jsdoc/D3DX9.html new file mode 100644 index 0000000000..7b33fa3ddc --- /dev/null +++ b/docs/jsdoc/D3DX9.html @@ -0,0 +1,398 @@ + + + + + JSDoc: Class: D3DX9 + + + + + + + + + + +
+ +

Class: D3DX9

+ + + + + + +
+ +
+ +

D3DX9()

+ +
Verb to install D3DX9
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new D3DX9()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) → {void}

+ + + + + + +
+ Extracts DirectX9 to the system directory +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
progressBar + + +* + + + + The progress bar
filesToExtract + + +* + + + + A list of files to extract
destination + + +* + + + + The destination folder
pattern + + +* + + + + The file pattern used during extraction
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/D3drm.html b/docs/jsdoc/D3drm.html new file mode 100644 index 0000000000..d3943f6233 --- /dev/null +++ b/docs/jsdoc/D3drm.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: D3drm + + + + + + + + + + +
+ +

Class: D3drm

+ + + + + + +
+ +
+ +

D3drm()

+ +
Verb to install d3drm
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new D3drm()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/D9VK.html b/docs/jsdoc/D9VK.html new file mode 100644 index 0000000000..da1da90c94 --- /dev/null +++ b/docs/jsdoc/D9VK.html @@ -0,0 +1,334 @@ + + + + + JSDoc: Class: D9VK + + + + + + + + + + +
+ +

Class: D9VK

+ + + + + + +
+ +
+ +

D9VK()

+ +
Verb to install D9VK +see: https://github.com/Joshua-Ashton/d9vk/
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new D9VK()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

withVersion(d9vkVersion) → {D9VK}

+ + + + + + +
+ Specifies the D9VK version to download +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
d9vkVersion + + +string + + + + The D9VK version to download
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The D9VK object +
+ + + +
+
+ Type +
+
+ +D9VK + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DXVK.html b/docs/jsdoc/DXVK.html new file mode 100644 index 0000000000..3da172ee0d --- /dev/null +++ b/docs/jsdoc/DXVK.html @@ -0,0 +1,335 @@ + + + + + JSDoc: Class: DXVK + + + + + + + + + + +
+ +

Class: DXVK

+ + + + + + +
+ +
+ +

DXVK()

+ +
Verb to install DXVK + +see: https://github.com/doitsujin/dxvk/
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DXVK()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

withVersion(dxvkVersion) → {DXVK}

+ + + + + + +
+ Sets the DXVK version to download +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
dxvkVersion + + +string + + + + The DXVK version to download
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The DXVK object +
+ + + +
+
+ Type +
+
+ +DXVK + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Devenum.html b/docs/jsdoc/Devenum.html new file mode 100644 index 0000000000..43c54a751e --- /dev/null +++ b/docs/jsdoc/Devenum.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Devenum + + + + + + + + + + +
+ +

Class: Devenum

+ + + + + + +
+ +
+ +

Devenum()

+ +
Verb to install devenum
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Devenum()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET20.html b/docs/jsdoc/DotNET20.html new file mode 100644 index 0000000000..0f0da8571f --- /dev/null +++ b/docs/jsdoc/DotNET20.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET20 + + + + + + + + + + +
+ +

Class: DotNET20

+ + + + + + +
+ +
+ +

DotNET20()

+ +
Verb to install .NET 2.0
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET20()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET20SP2.html b/docs/jsdoc/DotNET20SP2.html new file mode 100644 index 0000000000..2795ce73ed --- /dev/null +++ b/docs/jsdoc/DotNET20SP2.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET20SP2 + + + + + + + + + + +
+ +

Class: DotNET20SP2

+ + + + + + +
+ +
+ +

DotNET20SP2()

+ +
Verb to install dotnet20sp2
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET20SP2()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET40.html b/docs/jsdoc/DotNET40.html new file mode 100644 index 0000000000..26ad8b7061 --- /dev/null +++ b/docs/jsdoc/DotNET40.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET40 + + + + + + + + + + +
+ +

Class: DotNET40

+ + + + + + +
+ +
+ +

DotNET40()

+ +
Verb to install .NET 4.0
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET40()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET45.html b/docs/jsdoc/DotNET45.html new file mode 100644 index 0000000000..eb2b739d26 --- /dev/null +++ b/docs/jsdoc/DotNET45.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET45 + + + + + + + + + + +
+ +

Class: DotNET45

+ + + + + + +
+ +
+ +

DotNET45()

+ +
Verb to install .NET 4.5
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET45()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET452.html b/docs/jsdoc/DotNET452.html new file mode 100644 index 0000000000..18ac4cb0ef --- /dev/null +++ b/docs/jsdoc/DotNET452.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET452 + + + + + + + + + + +
+ +

Class: DotNET452

+ + + + + + +
+ +
+ +

DotNET452()

+ +
Verb to install .NET 4.5.2
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET452()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET46.html b/docs/jsdoc/DotNET46.html new file mode 100644 index 0000000000..7b69f8b912 --- /dev/null +++ b/docs/jsdoc/DotNET46.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET46 + + + + + + + + + + +
+ +

Class: DotNET46

+ + + + + + +
+ +
+ +

DotNET46()

+ +
Verb to install .NET 4.6
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET46()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET461.html b/docs/jsdoc/DotNET461.html new file mode 100644 index 0000000000..a71429dfde --- /dev/null +++ b/docs/jsdoc/DotNET461.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET461 + + + + + + + + + + +
+ +

Class: DotNET461

+ + + + + + +
+ +
+ +

DotNET461()

+ +
Verb to install .NET 4.6.1
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET461()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET462.html b/docs/jsdoc/DotNET462.html new file mode 100644 index 0000000000..bfb0531632 --- /dev/null +++ b/docs/jsdoc/DotNET462.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET462 + + + + + + + + + + +
+ +

Class: DotNET462

+ + + + + + +
+ +
+ +

DotNET462()

+ +
Verb to install .NET 4.6.2
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET462()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/DotNET472.html b/docs/jsdoc/DotNET472.html new file mode 100644 index 0000000000..959200ba76 --- /dev/null +++ b/docs/jsdoc/DotNET472.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: DotNET472 + + + + + + + + + + +
+ +

Class: DotNET472

+ + + + + + +
+ +
+ +

DotNET472()

+ +
Verb to install .NET 4.7.2
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new DotNET472()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html b/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html index 433cf88785..356fd49101 100644 --- a/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html +++ b/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html @@ -54,6 +54,7 @@

Source: Engines/Wine/Engine/Implementation/script.js

this._wineWebServiceUrl = propertyReader.getProperty("webservice.wine.url"); this._wizard = null; this._workingContainer = ""; + this._fetchedRuntimeJson = false; } getLocalDirectory(subCategory, version) { @@ -137,6 +138,11 @@

Source: Engines/Wine/Engine/Implementation/script.js

} } _installRuntime(setupWizard) { + // avoid that runtime is installed multiple times during one installation + if (this._fetchedRuntimeJson) { + return; + } + const runtimeJsonPath = this._wineEnginesDirectory + "/runtime.json"; let runtimeJson; let runtimeJsonFile; @@ -289,6 +295,8 @@

Source: Engines/Wine/Engine/Implementation/script.js

remove(this._wineEnginesDirectory + "/TMP"); } + + this._fetchedRuntimeJson = true; } _installGecko(setupWizard, winePackage, localDirectory) { @@ -572,7 +580,7 @@

Source: Engines/Wine/Engine/Implementation/script.js


diff --git a/docs/jsdoc/Engines_Wine_Engine_Object_script.js.html b/docs/jsdoc/Engines_Wine_Engine_Object_script.js.html index af0cc9d51a..c4e6c8bc5b 100644 --- a/docs/jsdoc/Engines_Wine_Engine_Object_script.js.html +++ b/docs/jsdoc/Engines_Wine_Engine_Object_script.js.html @@ -386,7 +386,7 @@

Source: Engines/Wine/Engine/Object/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_DOS support_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_DOS support_script.js.html index 7787ded128..d8bc25dac8 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_DOS support_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_DOS support_script.js.html @@ -176,7 +176,7 @@

Source: Engines/Wine/Plugins/DOS support/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_DirectDraw renderer_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_DirectDraw renderer_script.js.html index c99bb29eaa..73ebc77628 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_DirectDraw renderer_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_DirectDraw renderer_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Plugins/DirectDraw renderer/script.j
diff --git a/docs/jsdoc/Engines_Wine_Plugins_Font smoothing_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_Font smoothing_script.js.html index 0be3de3dca..b46e08b4b4 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_Font smoothing_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_Font smoothing_script.js.html @@ -80,7 +80,7 @@

Source: Engines/Wine/Plugins/Font smoothing/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_GLSL_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_GLSL_script.js.html index c91f5a8ef4..c20751f06a 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_GLSL_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_GLSL_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Plugins/GLSL/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_OpenGL version_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_OpenGL version_script.js.html index 278fbd1ed9..1e95e0f03d 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_OpenGL version_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_OpenGL version_script.js.html @@ -54,7 +54,7 @@

Source: Engines/Wine/Plugins/OpenGL version/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_UseTakeFocus_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_UseTakeFocus_script.js.html index 1f8d2d452b..1cd89161e7 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_UseTakeFocus_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_UseTakeFocus_script.js.html @@ -54,7 +54,7 @@

Source: Engines/Wine/Plugins/UseTakeFocus/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_Windows version_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_Windows version_script.js.html index c3266ce1e2..724599cf9b 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_Windows version_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_Windows version_script.js.html @@ -108,7 +108,7 @@

Source: Engines/Wine/Plugins/Windows version/script.js
diff --git a/docs/jsdoc/Engines_Wine_Plugins_csmt_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_csmt_script.js.html index 382d45e60b..47d64b4193 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_csmt_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_csmt_script.js.html @@ -52,7 +52,7 @@

Source: Engines/Wine/Plugins/csmt/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_hdpi_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_hdpi_script.js.html index 89e193546e..697b2898bc 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_hdpi_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_hdpi_script.js.html @@ -66,7 +66,7 @@

Source: Engines/Wine/Plugins/hdpi/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_managed_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_managed_script.js.html index 3a6ecac5da..badafe739a 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_managed_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_managed_script.js.html @@ -92,7 +92,7 @@

Source: Engines/Wine/Plugins/managed/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_native application_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_native application_script.js.html index 4e7eb8c051..589207f7f8 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_native application_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_native application_script.js.html @@ -76,7 +76,7 @@

Source: Engines/Wine/Plugins/native application/script.js
diff --git a/docs/jsdoc/Engines_Wine_Plugins_nocrashdialog_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_nocrashdialog_script.js.html index ffa155ba66..c7d832d67c 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_nocrashdialog_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_nocrashdialog_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Plugins/nocrashdialog/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_regedit_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_regedit_script.js.html index 18924a2696..9995b28d50 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_regedit_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_regedit_script.js.html @@ -113,7 +113,7 @@

Source: Engines/Wine/Plugins/regedit/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_regsvr32_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_regsvr32_script.js.html index 2bd752eb26..cbb07c7a9b 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_regsvr32_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_regsvr32_script.js.html @@ -51,7 +51,7 @@

Source: Engines/Wine/Plugins/regsvr32/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_sound driver_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_sound driver_script.js.html index a3292854e6..53ecbf9304 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_sound driver_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_sound driver_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Plugins/sound driver/script.js


diff --git a/docs/jsdoc/Engines_Wine_Plugins_virtual desktop_script.js.html b/docs/jsdoc/Engines_Wine_Plugins_virtual desktop_script.js.html index c1b448da91..24cc1894e2 100644 --- a/docs/jsdoc/Engines_Wine_Plugins_virtual desktop_script.js.html +++ b/docs/jsdoc/Engines_Wine_Plugins_virtual desktop_script.js.html @@ -67,7 +67,7 @@

Source: Engines/Wine/Plugins/virtual desktop/script.js
diff --git a/docs/jsdoc/Engines_Wine_QuickScript_GoG Script_script.js.html b/docs/jsdoc/Engines_Wine_QuickScript_GoG Script_script.js.html index c5fc0d2f27..e330df5efa 100644 --- a/docs/jsdoc/Engines_Wine_QuickScript_GoG Script_script.js.html +++ b/docs/jsdoc/Engines_Wine_QuickScript_GoG Script_script.js.html @@ -29,9 +29,9 @@

Source: Engines/Wine/QuickScript/GoG Script/script.js

const Wine = include("engines.wine.engine.object"); const QuickScript = include("engines.wine.quick_script.quick_script"); const Downloader = include("utils.functions.net.download"); -const {createTempDir} = include("utils.functions.filesystem.files"); +const { createTempDir } = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.gdiplus"); +const GDIPlus = include("engines.wine.verbs.gdiplus"); module.default = class GogScript extends QuickScript { constructor() { @@ -104,7 +104,7 @@

Source: Engines/Wine/QuickScript/GoG Script/script.js

Source: Engines/Wine/QuickScript/GoG Script/script.jsSource: Engines/Wine/QuickScript/GoG Script/script.js @@ -160,7 +161,7 @@

Source: Engines/Wine/QuickScript/GoG Script/script.js


diff --git a/docs/jsdoc/Engines_Wine_QuickScript_Quick Script_script.js.html b/docs/jsdoc/Engines_Wine_QuickScript_Quick Script_script.js.html index 38b95b8395..d11efb8644 100644 --- a/docs/jsdoc/Engines_Wine_QuickScript_Quick Script_script.js.html +++ b/docs/jsdoc/Engines_Wine_QuickScript_Quick Script_script.js.html @@ -195,7 +195,7 @@

Source: Engines/Wine/QuickScript/Quick Script/script.js
diff --git a/docs/jsdoc/Engines_Wine_Settings_DirectDraw renderer_script.js.html b/docs/jsdoc/Engines_Wine_Settings_DirectDraw renderer_script.js.html index 42801eee4f..18770cfb35 100644 --- a/docs/jsdoc/Engines_Wine_Settings_DirectDraw renderer_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_DirectDraw renderer_script.js.html @@ -89,7 +89,7 @@

Source: Engines/Wine/Settings/DirectDraw renderer/script.
diff --git a/docs/jsdoc/Engines_Wine_Settings_Font smoothing_script.js.html b/docs/jsdoc/Engines_Wine_Settings_Font smoothing_script.js.html index 1ef94b926b..593d73490b 100644 --- a/docs/jsdoc/Engines_Wine_Settings_Font smoothing_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_Font smoothing_script.js.html @@ -113,7 +113,7 @@

Source: Engines/Wine/Settings/Font smoothing/script.js
diff --git a/docs/jsdoc/Engines_Wine_Settings_GLSL_script.js.html b/docs/jsdoc/Engines_Wine_Settings_GLSL_script.js.html index 6acabf1431..012ea4732f 100644 --- a/docs/jsdoc/Engines_Wine_Settings_GLSL_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_GLSL_script.js.html @@ -88,7 +88,7 @@

Source: Engines/Wine/Settings/GLSL/script.js


diff --git a/docs/jsdoc/Engines_Wine_Settings_UseTakeFocus_script.js.html b/docs/jsdoc/Engines_Wine_Settings_UseTakeFocus_script.js.html index 40746cb155..6af0d713a5 100644 --- a/docs/jsdoc/Engines_Wine_Settings_UseTakeFocus_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_UseTakeFocus_script.js.html @@ -84,7 +84,7 @@

Source: Engines/Wine/Settings/UseTakeFocus/script.js


diff --git a/docs/jsdoc/Engines_Wine_Settings_always offscreen_script.js.html b/docs/jsdoc/Engines_Wine_Settings_always offscreen_script.js.html index 4e18198ccb..1f44510b1d 100644 --- a/docs/jsdoc/Engines_Wine_Settings_always offscreen_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_always offscreen_script.js.html @@ -90,7 +90,7 @@

Source: Engines/Wine/Settings/always offscreen/script.js<
diff --git a/docs/jsdoc/Engines_Wine_Settings_hdpi_script.js.html b/docs/jsdoc/Engines_Wine_Settings_hdpi_script.js.html index 0023151fe6..a485e4eeba 100644 --- a/docs/jsdoc/Engines_Wine_Settings_hdpi_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_hdpi_script.js.html @@ -71,7 +71,7 @@

Source: Engines/Wine/Settings/hdpi/script.js


diff --git a/docs/jsdoc/Engines_Wine_Settings_mouse warp override_script.js.html b/docs/jsdoc/Engines_Wine_Settings_mouse warp override_script.js.html index 57e31cc445..2211e0b766 100644 --- a/docs/jsdoc/Engines_Wine_Settings_mouse warp override_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_mouse warp override_script.js.html @@ -89,7 +89,7 @@

Source: Engines/Wine/Settings/mouse warp override/script.
diff --git a/docs/jsdoc/Engines_Wine_Settings_multisampling_script.js.html b/docs/jsdoc/Engines_Wine_Settings_multisampling_script.js.html index d8dd31a63e..e65b7d286b 100644 --- a/docs/jsdoc/Engines_Wine_Settings_multisampling_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_multisampling_script.js.html @@ -88,7 +88,7 @@

Source: Engines/Wine/Settings/multisampling/script.js


diff --git a/docs/jsdoc/Engines_Wine_Settings_offscreen rendering mode_script.js.html b/docs/jsdoc/Engines_Wine_Settings_offscreen rendering mode_script.js.html index 8103c9c03f..76698b99c8 100644 --- a/docs/jsdoc/Engines_Wine_Settings_offscreen rendering mode_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_offscreen rendering mode_script.js.html @@ -88,7 +88,7 @@

Source: Engines/Wine/Settings/offscreen rendering mode/sc
diff --git a/docs/jsdoc/Engines_Wine_Settings_render target lock mode_script.js.html b/docs/jsdoc/Engines_Wine_Settings_render target lock mode_script.js.html index 870c445368..3de44bf334 100644 --- a/docs/jsdoc/Engines_Wine_Settings_render target lock mode_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_render target lock mode_script.js.html @@ -88,7 +88,7 @@

Source: Engines/Wine/Settings/render target lock mode/scr
diff --git a/docs/jsdoc/Engines_Wine_Settings_strict draw ordering_script.js.html b/docs/jsdoc/Engines_Wine_Settings_strict draw ordering_script.js.html index dd890540d8..9e58187050 100644 --- a/docs/jsdoc/Engines_Wine_Settings_strict draw ordering_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_strict draw ordering_script.js.html @@ -88,7 +88,7 @@

Source: Engines/Wine/Settings/strict draw ordering/script
diff --git a/docs/jsdoc/Engines_Wine_Settings_video memory size_script.js.html b/docs/jsdoc/Engines_Wine_Settings_video memory size_script.js.html index 243e51adf9..0c71a4570b 100644 --- a/docs/jsdoc/Engines_Wine_Settings_video memory size_script.js.html +++ b/docs/jsdoc/Engines_Wine_Settings_video memory size_script.js.html @@ -88,7 +88,7 @@

Source: Engines/Wine/Settings/video memory size/script.js
diff --git a/docs/jsdoc/Engines_Wine_Shortcuts_Reader_script.js.html b/docs/jsdoc/Engines_Wine_Shortcuts_Reader_script.js.html index bfc92465ae..963ffca2ec 100644 --- a/docs/jsdoc/Engines_Wine_Shortcuts_Reader_script.js.html +++ b/docs/jsdoc/Engines_Wine_Shortcuts_Reader_script.js.html @@ -163,7 +163,7 @@

Source: Engines/Wine/Shortcuts/Reader/script.js


diff --git a/docs/jsdoc/Engines_Wine_Shortcuts_Wine_script.js.html b/docs/jsdoc/Engines_Wine_Shortcuts_Wine_script.js.html index 33eef9b1da..abce44eab3 100644 --- a/docs/jsdoc/Engines_Wine_Shortcuts_Wine_script.js.html +++ b/docs/jsdoc/Engines_Wine_Shortcuts_Wine_script.js.html @@ -234,7 +234,7 @@

Source: Engines/Wine/Shortcuts/Wine/script.js


diff --git a/docs/jsdoc/Engines_Wine_Tools_Configure Wine_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Configure Wine_script.js.html index ec69fbd57b..daf71a074e 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Configure Wine_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Configure Wine_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/Configure Wine/script.js


diff --git a/docs/jsdoc/Engines_Wine_Tools_Kill Wine Processes_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Kill Wine Processes_script.js.html index b1352f8cd3..bfaf427341 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Kill Wine Processes_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Kill Wine Processes_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/Kill Wine Processes/script.js<
diff --git a/docs/jsdoc/Engines_Wine_Tools_Reboot Wine_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Reboot Wine_script.js.html index fad3396125..826443014f 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Reboot Wine_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Reboot Wine_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/Reboot Wine/script.js


diff --git a/docs/jsdoc/Engines_Wine_Tools_Repair Wine Prefix_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Repair Wine Prefix_script.js.html index 18e9839437..1acec1e5d6 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Repair Wine Prefix_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Repair Wine Prefix_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/Repair Wine Prefix/script.js
diff --git a/docs/jsdoc/Engines_Wine_Tools_Wine Registry Editor_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Wine Registry Editor_script.js.html index 345dde7769..ecb5971955 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Wine Registry Editor_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Wine Registry Editor_script.js.html @@ -55,7 +55,7 @@

Source: Engines/Wine/Tools/Wine Registry Editor/script.js
diff --git a/docs/jsdoc/Engines_Wine_Tools_Wine Task Manager_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Wine Task Manager_script.js.html index 0460d542da..edbbd2a6c3 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Wine Task Manager_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Wine Task Manager_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/Wine Task Manager/script.js
diff --git a/docs/jsdoc/Engines_Wine_Tools_Wine Terminal Opener_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Wine Terminal Opener_script.js.html index b588bf497b..a8e991008e 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Wine Terminal Opener_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Wine Terminal Opener_script.js.html @@ -78,7 +78,7 @@

Source: Engines/Wine/Tools/Wine Terminal Opener/script.js
diff --git a/docs/jsdoc/Engines_Wine_Tools_Wine Uninstaller_script.js.html b/docs/jsdoc/Engines_Wine_Tools_Wine Uninstaller_script.js.html index f82c8659c3..ae96a668c8 100644 --- a/docs/jsdoc/Engines_Wine_Tools_Wine Uninstaller_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_Wine Uninstaller_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/Wine Uninstaller/script.js


diff --git a/docs/jsdoc/Engines_Wine_Tools_WineConsole_script.js.html b/docs/jsdoc/Engines_Wine_Tools_WineConsole_script.js.html index d10085056f..b88e5f5421 100644 --- a/docs/jsdoc/Engines_Wine_Tools_WineConsole_script.js.html +++ b/docs/jsdoc/Engines_Wine_Tools_WineConsole_script.js.html @@ -53,7 +53,7 @@

Source: Engines/Wine/Tools/WineConsole/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_D9VK_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_D9VK_script.js.html index 598ca12d2b..87f03c6be6 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_D9VK_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_D9VK_script.js.html @@ -28,97 +28,121 @@

Source: Engines/Wine/Verbs/D9VK/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {Extractor} = include("utils.functions.filesystem.extract");
-const {ls, cp, remove} = include("utils.functions.filesystem.files");
+const { Extractor } = include("utils.functions.filesystem.extract");
+const { ls, cp, remove } = include("utils.functions.filesystem.files");
+
+const operatingSystemFetcher = Bean("operatingSystemFetcher");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install D9VK
  * see: https://github.com/Joshua-Ashton/d9vk/
- *
- * @param {String} d9vkVersion D9VK version to download
- * @returns {Wine} Wine object
  */
-Wine.prototype.D9VK = function (d9vkVersion) {
-    var operatingSystemFetcher = Bean("operatingSystemFetcher");
+class D9VK {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    print("NOTE: Wine version should be greater or equal to 3.10");
+    /**
+     * Specifies the D9VK version to download
+     *
+     * @param {string} d9vkVersion The D9VK version to download
+     * @returns {D9VK} The D9VK object
+     */
+    withVersion(d9vkVersion) {
+        this.d9vkVersion = d9vkVersion;
 
-    if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") {
-        this.wizard().message(tr("D9VK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement"));
-    }
-    else {
-        this.wizard().message(tr("Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else D9VK might not work correctly."));
+        return this;
     }
 
-    if (typeof d9vkVersion !== 'string') {
-        d9vkVersion = "0.12";
-    }
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+
+        print("NOTE: Wine version should be greater or equal to 3.10");
+
+        if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") {
+            wizard.message(
+                tr(
+                    "D9VK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement"
+                )
+            );
+        } else {
+            wizard.message(
+                tr(
+                    "Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else D9VK might not work correctly."
+                )
+            );
+        }
 
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://github.com/Joshua-Ashton/d9vk/releases/download/" + d9vkVersion + "/d9vk-" + d9vkVersion + ".tar.gz")
-        .name("d9vk-" + d9vkVersion + ".tar.gz")
-        .get();
-
-    new Extractor()
-        .wizard(this.wizard())
-        .archive(setupFile)
-        .to(this.prefixDirectory() + "/TMP/")
-        .extract();
-
-    var forEach = Array.prototype.forEach;
-    var sys32dir = this.system32directory();
-    var d9vkTmpDir = this.prefixDirectory() + "/TMP/d9vk-" + d9vkVersion;
-    var self = this;
-
-    //Copy 32 bits dll to system* and apply override
-    forEach.call(ls(d9vkTmpDir + "/x32"), function (file) {
-        if (file.endsWith(".dll")) {
-            cp(d9vkTmpDir + "/x32/" + file, sys32dir);
-            self.overrideDLL()
-                .set("native", [file])
-                .do();
+        if (typeof this.d9vkVersion !== "string") {
+            this.d9vkVersion = "0.12";
         }
-    });
 
-    if (this.architecture() == "amd64") {
-        var sys64dir = this.system64directory();
-        //Copy 64 bits dll to system*
-        forEach.call(ls(d9vkTmpDir + "/x64"), function (file) {
+        var setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                `https://github.com/Joshua-Ashton/d9vk/releases/download/${this.d9vkVersion}/d9vk-${this.d9vkVersion}.tar.gz`
+            )
+            .name(`d9vk-${this.d9vkVersion}.tar.gz`)
+            .get();
+
+        new Extractor()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(`${prefixDirectory}/TMP/`)
+            .extract();
+
+        const d9vkTmpDir = `${prefixDirectory}/TMP/d9vk-${this.d9vkVersion}`;
+
+        // copy 32 bits dll to system* and apply override
+        ls(`${d9vkTmpDir}/x32`).forEach(file => {
             if (file.endsWith(".dll")) {
-                cp(d9vkTmpDir + "/x64/" + file, sys64dir);
+                cp(`${d9vkTmpDir}/x32/${file}`, system32directory);
+
+                this.wine
+                    .overrideDLL()
+                    .set("native", [file])
+                    .do();
             }
         });
-    }
 
-    remove(this.prefixDirectory() + "/TMP/");
+        if (this.architecture() == "amd64") {
+            const system64directory = this.wine.system64directory();
 
-    return this;
-}
+            // copy 64 bits dll to system*
+            ls(d9vkTmpDir + "/x64").forEach(file => {
+                if (file.endsWith(".dll")) {
+                    cp(`${d9vkTmpDir}/x64/${file}`, system64directory);
+                }
+            });
+        }
 
-/**
- * Verb to install D9VK
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class D9VKVerb {
-    constructor() {
-        // do nothing
+        remove(`${prefixDirectory}/TMP/`);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "D9VK", Optional.empty());
+
+        const versions = ["0.12", "0.11", "0.10"];
+        const selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.12");
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "D9VK", java.util.Optional.empty());
-        var versions = ["0.12", "0.11", "0.10"];
-        var selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.12");
         wine.wizard(wizard);
+
         // install selected version
-        wine.D9VK(selectedVersion.text);
+        new D9VK(wine).withVersion(selectedVersion.text).go();
+
         wizard.close();
     }
 }
+
+module.default = D9VK;
 
@@ -129,7 +153,7 @@

Source: Engines/Wine/Verbs/D9VK/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html index f26601394d..a0482407f5 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html @@ -28,125 +28,179 @@

Source: Engines/Wine/Verbs/DXVK/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {Extractor} = include("utils.functions.filesystem.extract");
-const {ls, cp, cat, remove} = include("utils.functions.filesystem.files");
+const { Extractor } = include("utils.functions.filesystem.extract");
+const { ls, cp, cat, remove } = include("utils.functions.filesystem.files");
+
+const operatingSystemFetcher = Bean("operatingSystemFetcher");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install DXVK
- * see: https://github.com/doitsujin/dxvk/
  *
- * @param {String} dxvkVersion DXVK version to download
- * @returns {Wine} Wine object
+ * see: https://github.com/doitsujin/dxvk/
  */
-Wine.prototype.DXVK = function (dxvkVersion) {
-    var operatingSystemFetcher = Bean("operatingSystemFetcher");
+class DXVK {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    print("NOTE: wine version should be greater or equal to 3.10");
+    /**
+     * Sets the DXVK version to download
+     *
+     * @param {string} dxvkVersion The DXVK version to download
+     * @returns {DXVK} The DXVK object
+     */
+    withVersion(dxvkVersion) {
+        this.dxvkVersion = dxvkVersion;
 
-    if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") {
-        this.wizard().message(tr("DXVK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement"));
-    }
-    else {
-        this.wizard().message(tr("Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else DXVK might not work correctly."));
+        return this;
     }
 
-    if (typeof dxvkVersion !== 'string') {
-        var releaseFile = new Resource()
-            .wizard(this.wizard())
-            .url("https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE")
-            .name("RELEASE.txt")
-            .get();
-        dxvkVersion = cat(releaseFile).replaceAll("\\n", "");
-    }
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const sys32dir = this.wine.system32directory();
+        const architecture = this.wine.architecture();
+
+        print("NOTE: wine version should be greater or equal to 3.10");
+
+        if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") {
+            wizard.message(
+                tr(
+                    "DXVK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement"
+                )
+            );
+        } else {
+            wizard.message(
+                tr(
+                    "Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else DXVK might not work correctly."
+                )
+            );
+        }
+
+        if (typeof this.dxvkVersion !== "string") {
+            const releaseFile = new Resource()
+                .wizard(wizard)
+                .url("https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE")
+                .name("RELEASE.txt")
+                .get();
 
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://github.com/doitsujin/dxvk/releases/download/v" + dxvkVersion + "/dxvk-" + dxvkVersion + ".tar.gz")
-        .name("dxvk-" + dxvkVersion + ".tar.gz")
-        .get();
-
-    new Extractor()
-        .wizard(this.wizard())
-        .archive(setupFile)
-        .to(this.prefixDirectory() + "/TMP/")
-        .extract();
-
-    var forEach = Array.prototype.forEach;
-    var sys32dir = this.system32directory();
-    var dxvkTmpDir = this.prefixDirectory() + "/TMP/dxvk-" + dxvkVersion;
-    var self = this;
-
-    //Copy 32 bits dll to system* and apply override
-    forEach.call(ls(dxvkTmpDir + "/x32"), function (file) {
-        if (file.endsWith(".dll")) {
-            cp(dxvkTmpDir + "/x32/" + file, sys32dir);
-            self.overrideDLL()
-                .set("native", [file])
-                .do();
+            this.dxvkVersion = cat(releaseFile).replaceAll("\\n", "");
         }
-    });
 
-    if (this.architecture() == "amd64") {
-        var sys64dir = this.system64directory();
-        //Copy 64 bits dll to system*
-        forEach.call(ls(dxvkTmpDir + "/x64"), function (file) {
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                `https://github.com/doitsujin/dxvk/releases/download/v${this.dxvkVersion}/dxvk-${this.dxvkVersion}.tar.gz`
+            )
+            .name(`dxvk-${this.dxvkVersion}.tar.gz`)
+            .get();
+
+        new Extractor()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(`${prefixDirectory}/TMP/`)
+            .extract();
+
+        const dxvkTmpDir = `${prefixDirectory}/TMP/dxvk-${this.dxvkVersion}`;
+
+        //Copy 32 bits dll to system* and apply override
+        ls(`${dxvkTmpDir}/x32`).forEach(file => {
             if (file.endsWith(".dll")) {
-                cp(dxvkTmpDir + "/x64/" + file, sys64dir);
+                cp(`${dxvkTmpDir}/x32/${file}`, sys32dir);
+
+                this.wine
+                    .overrideDLL()
+                    .set("native", [file])
+                    .do();
             }
         });
-    }
 
-    remove(this.prefixDirectory() + "/TMP/");
+        if (architecture == "amd64") {
+            const sys64dir = this.wine.system64directory();
 
-    return this;
-}
+            //Copy 64 bits dll to system*
+            ls(`${dxvkTmpDir}/x64`).forEach(file => {
+                if (file.endsWith(".dll")) {
+                    cp(`${dxvkTmpDir}/x64/${file}`, sys64dir);
+                }
+            });
+        }
 
-/**
- * Verb to install DXVK
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class DXVKVerb {
-    constructor() {
-        // do nothing
+        remove(`${prefixDirectory}/TMP/`);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "DXVK", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "DXVK", java.util.Optional.empty());
+        wine.wizard(wizard);
 
         // get latest release version
-        var releaseFile = new Resource()
+        const releaseFile = new Resource()
             .wizard(wizard)
             .url("https://raw.githubusercontent.com/doitsujin/dxvk/master/RELEASE")
             .name("RELEASE.txt")
             .get();
 
-        var latestVersion = cat(releaseFile).replaceAll("\\n", "");
+        const latestVersion = cat(releaseFile).replaceAll("\\n", "");
+
         // query desired version (default: latest release version)
-        var versions = [
-            "1.2.2", "1.2.1", "1.2",
+        const versions = [
+            "1.2.2",
+            "1.2.1",
+            "1.2",
             "1.1.1",
-            "1.0.3", "1.0.2", "1.0.1", "1.0",
-            "0.96", "0.95", "0.94", "0.93", "0.92", "0.91", "0.90",
-            "0.81", "0.80", "0.72", "0.71", "0.70",
-            "0.65", "0.64", "0.63", "0.62", "0.61", "0.60",
-            "0.54", "0.53", "0.52", "0.51", "0.50",
-            "0.42", "0.41", "0.40",
-            "0.31", "0.30",
-            "0.21", "0.20"
+            "1.0.3",
+            "1.0.2",
+            "1.0.1",
+            "1.0",
+            "0.96",
+            "0.95",
+            "0.94",
+            "0.93",
+            "0.92",
+            "0.91",
+            "0.90",
+            "0.81",
+            "0.80",
+            "0.72",
+            "0.71",
+            "0.70",
+            "0.65",
+            "0.64",
+            "0.63",
+            "0.62",
+            "0.61",
+            "0.60",
+            "0.54",
+            "0.53",
+            "0.52",
+            "0.51",
+            "0.50",
+            "0.42",
+            "0.41",
+            "0.40",
+            "0.31",
+            "0.30",
+            "0.21",
+            "0.20"
         ];
 
-        var selectedVersion = wizard.menu(tr("Please select the version."), versions, latestVersion);
-        wine.wizard(wizard);
+        const selectedVersion = wizard.menu(tr("Please select the version."), versions, latestVersion);
+
         // install selected version
-        wine.DXVK(selectedVersion.text);
+        new DXVK(wine).withVersion(selectedVersion.text).go();
 
         wizard.close();
     }
 }
+
+module.default = DXVK;
 
@@ -157,7 +211,7 @@

Source: Engines/Wine/Verbs/DXVK/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html index c63d3ab572..138b724cc3 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html @@ -28,85 +28,94 @@

Source: Engines/Wine/Verbs/FAudio/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {Extractor} = include("utils.functions.filesystem.extract");
-const {ls, cp} = include("utils.functions.filesystem.files");
+const { Extractor } = include("utils.functions.filesystem.extract");
+const { ls, cp } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install FAudio
  * see: https://github.com/Kron4ek/FAudio-Builds
- *
- * @param {String} faudioVersion version of FAudio to downlaod
- * @returns {Wine} Wine object
  */
-Wine.prototype.faudio = function (faudioVersion) {
-    if (this.architecture() != "amd64") {
-        throw "FAudio does not support 32bit architecture.";
+class FAudio {
+    constructor(wine) {
+        this.wine = wine;
     }
-    if (typeof faudioVersion !== "string") {
-        faudioVersion = "19.06.07";
+
+    /**
+     * Sets the used FAudio version
+     *
+     * @param {string} faudioVersion The version of FAudio to downlaod
+     * @returns {FAudio} The FAudio object
+     */
+    withVersion(faudioVersion) {
+        this.faudioVersion = faudioVersion;
+
+        return this;
     }
 
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url(
-            "https://github.com/Kron4ek/FAudio-Builds/releases/download/" +
-                faudioVersion +
-                "/faudio-" +
-                faudioVersion +
-                ".tar.xz"
-        )
-        .name("faudio-" + faudioVersion + ".tar.xz")
-        .get();
-
-    new Extractor()
-        .wizard(this.wizard())
-        .archive(setupFile)
-        .to(this.prefixDirectory() + "/FAudio/")
-        .extract();
-
-    var forEach = Array.prototype.forEach;
-    var sys64dir = this.system64directory();
-    var faudioDir = this.prefixDirectory() + "/FAudio/faudio-" + faudioVersion;
-    var self = this;
-
-    forEach.call(ls(faudioDir + "/x64"), function (file) {
-        if (file.endsWith(".dll")) {
-            cp(faudioDir + "/x64/" + file, sys64dir);
-            self.overrideDLL()
-                .set("native", [file])
-                .do();
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system64directory = this.wine.system64directory();
+
+        if (this.wine.architecture() != "amd64") {
+            throw "FAudio does not support 32bit architecture.";
         }
-    });
 
-    return this;
-};
+        if (typeof this.faudioVersion !== "string") {
+            this.faudioVersion = "19.08";
+        }
 
-/**
- * Verb to install FAudio
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class FAudioVerb {
-    constructor() {
-        // do nothing
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                `https://github.com/Kron4ek/FAudio-Builds/releases/download/${this.faudioVersion}/faudio-${this.faudioVersion}.tar.xz`
+            )
+            .name(`faudio-${this.faudioVersion}.tar.xz`)
+            .get();
+
+        new Extractor()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(`${prefixDirectory}/FAudio/`)
+            .extract();
+
+        const faudioDir = `${prefixDirectory}/FAudio/faudio-${this.faudioVersion}`;
+
+        ls(`${faudioDir}/x64`).forEach(file => {
+            if (file.endsWith(".dll")) {
+                cp(`${faudioDir}/x64/${file}`, system64directory);
+
+                this.wine
+                    .overrideDLL()
+                    .set("native", [file])
+                    .do();
+            }
+        });
     }
 
-    install(container) {
-        const wizard = SetupWizard(InstallationType.VERBS, "FAudio", java.util.Optional.empty());
-        const versions = ["19.06.07", "19.06", "19.05", "19.04", "19.03", "19.02", "19.01"];
-
-        const selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.06.07");
-
+    static install(container) {
         const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "FAudio", Optional.empty());
+
         wine.prefix(container);
         wine.wizard(wizard);
+
+        const versions = ["19.08", "19.07", "19.06.07", "19.06", "19.05", "19.04", "19.03", "19.02", "19.01"];
+
+        const selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.08");
+
         // install selected version
-        wine.faudio(selectedVersion.text);
+        new FAudio(wine).withVersion(selectedVersion.text).go();
 
         wizard.close();
     }
 }
+
+module.default = FAudio;
 
@@ -117,7 +126,7 @@

Source: Engines/Wine/Verbs/FAudio/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_PhysX_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_PhysX_script.js.html index a4867423d0..f0d7293e7a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_PhysX_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_PhysX_script.js.html @@ -29,45 +29,45 @@

Source: Engines/Wine/Verbs/PhysX/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
 
 /**
  * Verb to install Nvidia PhysX
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.physx = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi")
-        .checksum("81e2d38e2356e807ad80cdf150ed5acfff839c8b")
-        .name("PhysX-9.14.0702-SystemSoftware.msi")
-        .get();
+class PhysX {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", "PhysX"));
-    this.run("msiexec", ["/i", setupFile, "/q"], null, false, true);
+    go() {
+        const wizard = this.wine.wizard();
 
-    return this;
-};
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("http://uk.download.nvidia.com/Windows/9.14.0702/PhysX-9.14.0702-SystemSoftware.msi")
+            .checksum("81e2d38e2356e807ad80cdf150ed5acfff839c8b")
+            .name("PhysX-9.14.0702-SystemSoftware.msi")
+            .get();
 
-/**
- * Verb to install Nvidia PhysX
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class PhysXVerb {
-    constructor() {
-        // do nothing
+        wizard.wait(tr("Please wait while {0} is installed...", "PhysX"));
+
+        this.wine.run("msiexec", ["/i", setupFile, "/q"], null, false, true);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "physx", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "physx", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.physx();
+
+        new PhysX(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = PhysX;
 
@@ -78,7 +78,7 @@

Source: Engines/Wine/Verbs/PhysX/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_QuickTime 7.6_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_QuickTime 7.6_script.js.html index 0edd5cccec..fd81f1a4b0 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_QuickTime 7.6_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_QuickTime 7.6_script.js.html @@ -29,43 +29,58 @@

Source: Engines/Wine/Verbs/QuickTime 7.6/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-/**
- * Verb to install QuickTime 7.6
- *
- * @returns {Wine} Wine object
- */
-Wine.prototype.quicktime76 = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://appldnld.apple.com/QuickTime/041-0025.20101207.Ptrqt/QuickTimeInstaller.exe")
-        .checksum("1eec8904f041d9e0ad3459788bdb690e45dbc38e")
-        .name("QuickTimeInstaller.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "QuickTime"));
-    this.run(setupFile, ["ALLUSERS=1", "DESKTOP_SHORTCUTS=0", "QTTaskRunFlags=0", "QTINFO.BISQTPRO=1", "SCHEDULE_ASUW=0", "REBOOT_REQUIRED=No"], null, false, true);
-
-    return this;
-};
+const Optional = Java.type("java.util.Optional");
 
 /**
  * Verb to install QuickTime 7.6
  */
-// eslint-disable-next-line no-unused-vars
-module.default = class QuickTime76Verb {
-    constructor() {
-        // do nothing
+class QuickTime76 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    install(container) {
-        var wine = new Wine();
+    go() {
+        const wizard = this.wine.wizard();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("http://appldnld.apple.com/QuickTime/041-0025.20101207.Ptrqt/QuickTimeInstaller.exe")
+            .checksum("1eec8904f041d9e0ad3459788bdb690e45dbc38e")
+            .name("QuickTimeInstaller.exe")
+            .get();
+
+        wizard.wait(tr("Please wait while {0} is installed...", "QuickTime"));
+
+        this.wine.run(
+            setupFile,
+            [
+                "ALLUSERS=1",
+                "DESKTOP_SHORTCUTS=0",
+                "QTTaskRunFlags=0",
+                "QTINFO.BISQTPRO=1",
+                "SCHEDULE_ASUW=0",
+                "REBOOT_REQUIRED=No"
+            ],
+            null,
+            false,
+            true
+        );
+    }
+
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "quicktime76", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "quicktime76", java.util.Optional.empty());
         wine.wizard(wizard);
+
         wine.quicktime76();
+
         wizard.close();
     }
 }
+
+module.default = QuickTime76;
 
@@ -76,7 +91,7 @@

Source: Engines/Wine/Verbs/QuickTime 7.6/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_Remove Mono_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_Remove Mono_script.js.html index 83acb04dd5..0eb3191f58 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Remove Mono_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Remove Mono_script.js.html @@ -27,53 +27,60 @@

Source: Engines/Wine/Verbs/Remove Mono/script.js

const Wine = include("engines.wine.engine.object");
-const {remove} = include("utils.functions.filesystem.files");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.regedit");
 
 /**
  * Verb to remove mono
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.removeMono = function () {
-    if (this.uninstall("Mono")) {
-        this.wizard().wait(tr("Please wait..."));
-        this.regedit().deleteKey("HKLM\\Software\\Microsoft\\.NETFramework\\v2.0.50727\\SBSDisabled");
+class RemoveMono {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-        this.wizard().wait(tr("Please wait..."));
-        this.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v3.5");
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
+        const system64directory = this.wine.system64directory();
 
-        this.wizard().wait(tr("Please wait..."));
-        this.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4");
+        if (this.wine.uninstall("Mono")) {
+            wizard.wait(tr("Please wait..."));
 
-        remove(this.system32directory() + "/mscoree.dll");
-        if (this.architecture() == "amd64") {
-            remove(this.system64directory() + "/mscoree.dll");
-        }
-    }
+            this.wine.regedit().deleteKey("HKLM\\Software\\Microsoft\\.NETFramework\\v2.0.50727\\SBSDisabled");
 
-    return this;
-};
+            wizard.wait(tr("Please wait..."));
 
-/**
- * Verb to remove mono
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class RemoveMonoVerb {
-    constructor() {
-        // do nothing
+            this.wine.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v3.5");
+
+            wizard.wait(tr("Please wait..."));
+
+            this.wine.regedit().deleteKey("HKLM\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4");
+
+            remove(`${system32directory}/mscoree.dll`);
+
+            if (this.wine.architecture() == "amd64") {
+                remove(`${system64directory}/mscoree.dll`);
+            }
+        }
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "remove_mono", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "remove_mono", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.removeMono();
+
+        new RemoveMono(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = RemoveMono;
 
@@ -84,7 +91,7 @@

Source: Engines/Wine/Verbs/Remove Mono/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_Tahoma_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_Tahoma_script.js.html index 3094d53b18..81fdded84f 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Tahoma_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Tahoma_script.js.html @@ -28,59 +28,63 @@

Source: Engines/Wine/Verbs/Tahoma/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {cp} = include("utils.functions.filesystem.files");
-const {CabExtract} = include("utils.functions.filesystem.extract");
+const { cp } = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.register_font");
-include("engines.wine.verbs.luna");
 
 /**
  * Verb to install the Tahoma font
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.tahoma = function () {
-    var tahoma = new Resource()
-        .wizard(this.wizard())
-        .url("https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB")
-        .checksum("40c3771ba4ce0811fe18a7a7903e40fcce46422d")
-        .name("IELPKTH.CAB")
-        .get();
-
-    new CabExtract()
-        .archive(tahoma)
-        .to(this.prefixDirectory() + "/drive_c/tahoma/")
-        .extract(["-L", "-F", "tahoma*.tff"]);
-
-    cp(this.prefixDirectory() + "/drive_c/tahoma/tahoma.ttf", this.fontDirectory());
-    cp(this.prefixDirectory() + "/drive_c/tahoma/tahomabd.ttf", this.fontDirectory());
-
-    this.registerFont()
-        .set("Tahoma", "tahoma.ttf")
-        .set("Tahoma Bold", "tahomabd.ttf")
-        .do();
-
-    return this;
-};
+class Tahoma {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install the Tahoma font
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class TahomaVerb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const fontDirectory = this.wine.fontDirectory();
+
+        const tahoma = new Resource()
+            .wizard(wizard)
+            .url("https://master.dl.sourceforge.net/project/corefonts/OldFiles/IELPKTH.CAB")
+            .checksum("40c3771ba4ce0811fe18a7a7903e40fcce46422d")
+            .name("IELPKTH.CAB")
+            .get();
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(tahoma)
+            .to(`${prefixDirectory}/drive_c/tahoma/`)
+            .extract(["-L", "-F", "tahoma*.tff"]);
+
+        cp(`${prefixDirectory}/drive_c/tahoma/tahoma.ttf`, fontDirectory);
+        cp(`${prefixDirectory}/drive_c/tahoma/tahomabd.ttf`, fontDirectory);
+
+        this.wine
+            .registerFont()
+            .set("Tahoma", "tahoma.ttf")
+            .set("Tahoma Bold", "tahomabd.ttf")
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "tahoma", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "tahoma", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.tahoma();
+
+        new Tahoma(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Tahoma;
 
@@ -91,7 +95,7 @@

Source: Engines/Wine/Verbs/Tahoma/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_Uplay_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_Uplay_script.js.html index a1516572ba..494dad1fd0 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Uplay_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Uplay_script.js.html @@ -29,42 +29,48 @@

Source: Engines/Wine/Verbs/Uplay/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 /**
  * Verb to install Uplay
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.uplay = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe")
-        .name("UplayInstaller.exe")
-        .get();
+class Uplay {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    this.wizard().wait(tr("Please follow the steps of the Uplay setup.\n\nUncheck \"Run Uplay\" or close Uplay completely after the setup so that the installation can continue."));
-    this.run(setupFile, [], null, false, true);
+    go() {
+        const wizard = this.wine.wizard();
 
-    return this;
-};
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe")
+            .name("UplayInstaller.exe")
+            .get();
 
-/**
- * Verb to install Uplay
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class UplayVerb {
-    constructor() {
-        // do nothing
+        wizard.wait(
+            tr(
+                'Please follow the steps of the Uplay setup.\n\nUncheck "Run Uplay" or close Uplay completely after the setup so that the installation can continue.'
+            )
+        );
+
+        this.wine.run(setupFile, [], null, false, true);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "uplay", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "uplay", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.uplay();
+
+        new Uplay(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Uplay;
 
@@ -75,7 +81,7 @@

Source: Engines/Wine/Verbs/Uplay/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_VK9_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_VK9_script.js.html index 6b21d2c777..deffd6cfe9 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_VK9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_VK9_script.js.html @@ -28,102 +28,127 @@

Source: Engines/Wine/Verbs/VK9/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {Extractor} = include("utils.functions.filesystem.extract");
-const {cp, remove} = include("utils.functions.filesystem.files");
+const { Extractor } = include("utils.functions.filesystem.extract");
+const { cp, remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
+const operatingSystemFetcher = Bean("operatingSystemFetcher");
+
 /**
  * Verb to install VK9
  * see: https://github.com/disks86/VK9
- *
- * @param {String} vk9Version VK9 version to install
- * @returns {Wine} Wine object
  */
-Wine.prototype.VK9 = function (vk9Version) {
-    var operatingSystemFetcher = Bean("operatingSystemFetcher");
-
-    if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") {
-        this.wizard().message(tr("VK9 might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement"));
-    } else {
-        this.wizard().message(tr("Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else VK9 might not work correctly."));
+class VK9 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    print("NOTE: wine version should be greater or equal to 3.5");
-    print("NOTE: works from 0.28.0");
+    /**
+     * Sets the VK9 version to install
+     *
+     * @param {string} vk9Version The VK9 version to install
+     * @returns {VK9} The VK9 object
+     */
+    withVersion(vk9Version) {
+        this.vk9Version = vk9Version;
 
-    if (typeof vk9Version !== 'string') {
-        vk9Version = "0.29.0";
+        return this;
     }
 
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("https://github.com/disks86/VK9/releases/download/" + vk9Version + "/" + vk9Version + "-bin-x86-Release.zip")
-        .name(vk9Version + "-bin-x86-Realease.zip")
-        .get();
-
-    new Extractor()
-        .wizard(this.wizard())
-        .archive(setupFile32)
-        .to(this.prefixDirectory() + "/TMP32/")
-        .extract();
-
-    cp(this.prefixDirectory() + "/TMP32/" + vk9Version + "-bin-x86-Release/" + "d3d9.dll", this.system32directory());
-
-    remove(this.prefixDirectory() + "/TMP32/");
-
-    if (this.architecture() === "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://github.com/disks86/VK9/releases/download/" + vk9Version + "/" + vk9Version + "-bin-x86_64-Release.zip")
-            .name(vk9Version + "-bin-x86_64-Realease.zip")
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+        const system64directory = this.wine.system64directory();
+
+        if (operatingSystemFetcher.fetchCurrentOperationSystem() != "Linux") {
+            wizard.message(
+                tr(
+                    "VK9 might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement"
+                )
+            );
+        } else {
+            wizard.message(
+                tr(
+                    "Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else VK9 might not work correctly."
+                )
+            );
+        }
+
+        print("NOTE: wine version should be greater or equal to 3.5");
+        print("NOTE: works from 0.28.0");
+
+        if (typeof this.vk9Version !== "string") {
+            this.vk9Version = "0.29.0";
+        }
+
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url(
+                `https://github.com/disks86/VK9/releases/download/${this.vk9Version}/${this.vk9Version}-bin-x86-Release.zip`
+            )
+            .name(`${this.vk9Version}-bin-x86-Realease.zip`)
             .get();
 
         new Extractor()
-            .wizard(this.wizard())
-            .archive(setupFile64)
-            .to(this.prefixDirectory() + "/TMP64/")
+            .wizard(wizard)
+            .archive(setupFile32)
+            .to(`${prefixDirectory}/TMP32/`)
             .extract();
 
-        cp(this.prefixDirectory() + "/TMP64/" + vk9Version + "-bin-x86_64-Release/" + "d3d9.dll", this.system64directory());
+        cp(`${prefixDirectory}/TMP32/${this.vk9Version}-bin-x86-Release/d3d9.dll`, system32directory);
 
-        remove(this.prefixDirectory() + "/TMP64/");
-    }
+        remove(`${prefixDirectory}/TMP32/`);
 
-    this.overrideDLL()
-        .set("native", ["d3d9"])
-        .do();
+        if (this.wine.architecture() === "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    `https://github.com/disks86/VK9/releases/download/${this.vk9Version}/${this.vk9Version}-bin-x86_64-Release.zip`
+                )
+                .name(`${this.vk9Version}-bin-x86_64-Realease.zip`)
+                .get();
 
-    return this;
-}
+            new Extractor()
+                .wizard(wizard)
+                .archive(setupFile64)
+                .to(`${prefixDirectory}/TMP64/`)
+                .extract();
 
-/**
- * Verb to install VK9
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class VK9Verb {
-    constructor() {
-        // do nothing
+            cp(`${prefixDirectory}/TMP64/${this.vk9Version}-bin-x86_64-Release/d3d9.dll`, system64directory);
+
+            remove(`${prefixDirectory}/TMP64/`);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["d3d9"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
-        wine.prefix(container);
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "VK9", Optional.empty());
 
-        var wizard = SetupWizard(InstallationType.VERBS, "VK9", java.util.Optional.empty());
+        wine.prefix(container);
+        wine.wizard(wizard);
 
         // this script is not able to install older versions (VK9.conf mandatory)
-        var versions = ["0.29.0", "0.28.1", "0.28.0"];
+        const versions = ["0.29.0", "0.28.1", "0.28.0"];
         // query desired version (default: 0.28.1)
-        var selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.28.1");
-        wine.wizard(wizard);
+        const selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.28.1");
 
         // install selected version
-        wine.VK9(selectedVersion.text);
+        new VK9(wine).withVersion(selectedVersion.text).go();
 
         wizard.close();
     }
 }
+
+module.default = VK9;
 
@@ -134,7 +159,7 @@

Source: Engines/Wine/Verbs/VK9/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_Windows XP SP 3_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_Windows XP SP 3_script.js.html index 31820c85ed..f2d18159de 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Windows XP SP 3_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Windows XP SP 3_script.js.html @@ -31,54 +31,60 @@

Source: Engines/Wine/Verbs/Windows XP SP 3/script.js

const { CabExtract } = include("utils.functions.filesystem.extract"); const { remove, fileName } = include("utils.functions.filesystem.files"); +const Optional = Java.type("java.util.Optional"); + /** * Verb to install Windows XP Service Pack 3 - * - * @param {string} fileToExtract path to file which shall be extracted - * @returns {Wine} Wine object */ -Wine.prototype.sp3extract = function (fileToExtract) { - const targetDirectory = this.system32directory(); - - const setupFile = new Resource() - .wizard(this.wizard()) - .url("http://freeware.epsc.wustl.edu/Win/XP_SP3/WindowsXP-KB936929-SP3-x86-ENU.exe") - .checksum("c81472f7eeea2eca421e116cd4c03e2300ebfde4") - .name("WindowsXP-KB936929-SP3-x86-ENU.exe") - .get(); - - new CabExtract() - .archive(setupFile) - .wizard(this.wizard()) - .to(this.prefixDirectory() + "/drive_c/sp3/") - .extract(["-F", "i386/" + fileToExtract.slice(0, -1) + "_"]); - - remove(targetDirectory + "/" + fileToExtract); +class WindowsXPSP3 { + constructor(wine) { + this.wine = wine; + } - new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/sp3/i386/" + fileToExtract.slice(0, -1) + "_") - .wizard(this.wizard()) - .to(targetDirectory) - .extract(); + /** + * Sets the path to the file which shall be extracted + * + * @param {string} fileToExtract The path to the file which shall be extracted + * @returns {WindowsXPSP3} The WindowsXPSP3 object + */ + withFileToExtract(fileToExtract) { + this.fileToExtract = fileToExtract; - return this; -}; + return this; + } -/** - * Verb to install Windows XP Service Pack 3 - */ -module.default = class WindowsXPSP3Verb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + + const setupFile = new Resource() + .wizard(wizard) + .url("http://freeware.epsc.wustl.edu/Win/XP_SP3/WindowsXP-KB936929-SP3-x86-ENU.exe") + .checksum("c81472f7eeea2eca421e116cd4c03e2300ebfde4") + .name("WindowsXP-KB936929-SP3-x86-ENU.exe") + .get(); + + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/sp3/`) + .extract(["-F", `i386/${this.fileToExtract.slice(0, -1)}_`]); + + remove(`${system32directory}/${this.fileToExtract}`); + + new CabExtract() + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/sp3/i386/${this.fileToExtract.slice(0, -1)}_`) + .to(system32directory) + .extract(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "sp3extract", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "sp3extract", java.util.Optional.empty()); - wine.wizard(wizard); // query .dll file which shall be extracted @@ -87,11 +93,13 @@

Source: Engines/Wine/Verbs/Windows XP SP 3/script.js

); // extract requested file - wine.sp3extract(fileToExtract); + new WindowsXPSP3(wine).withFileToExtract(fileToExtract).go(); wizard.close(); } -}; +} + +module.default = WindowsXPSP3;
@@ -102,7 +110,7 @@

Source: Engines/Wine/Verbs/Windows XP SP 3/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html index be9a9b4933..9ccdfc0dfc 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html @@ -29,55 +29,52 @@

Source: Engines/Wine/Verbs/adobeair/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.windows_version");
 
 /**
  * Verb to install adobeair
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.adobeair = function () {
-    const adobeair = new Resource()
-        .wizard(this.wizard())
-        .url("https://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe")
-        .name("AdobeAIRInstaller.exe")
-        .get();
-
-    // Using Windows XP to workaround the wine bug 43506
-    // See https://bugs.winehq.org/show_bug.cgi?id=43506
-    const currentWindowsVersion = this.windowsVersion();
+class AdobeAir {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    this.windowsVersion("winxp");
+    go() {
+        const wizard = this.wine.wizard();
+        // Using Windows XP to workaround the wine bug 43506
+        // See https://bugs.winehq.org/show_bug.cgi?id=43506
+        const currentWindowsVersion = this.wine.windowsVersion();
 
-    this.run(adobeair);
-    this.wait();
+        this.wine.windowsVersion("winxp");
 
-    this.windowsVersion(currentWindowsVersion);
+        const adobeair = new Resource()
+            .wizard(wizard)
+            .url("https://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe")
+            .name("AdobeAIRInstaller.exe")
+            .get();
 
-    return this;
-};
+        this.wine.run(adobeair);
+        this.wine.wait();
 
-/**
- * Verb to install adobeair
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class AdobeAirVerb {
-    constructor() {
-        // do nothing
+        this.wine.windowsVersion(currentWindowsVersion);
     }
 
-    install(container) {
+    static install(container) {
         const wine = new Wine();
-        wine.prefix(container);
+        const wizard = SetupWizard(InstallationType.VERBS, "adobeair", Optional.empty());
 
-        const wizard = SetupWizard(InstallationType.VERBS, "adobeair", java.util.Optional.empty());
+        wine.prefix(container);
         wine.wizard(wizard);
 
-        wine.adobeair();
+        new AdobeAir(wine).go();
 
         wizard.close();
     }
 }
+
+module.default = AdobeAir;
 
@@ -88,7 +85,7 @@

Source: Engines/Wine/Verbs/adobeair/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html index 6164bfcfb5..19b290a354 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html @@ -28,80 +28,110 @@

Source: Engines/Wine/Verbs/amstream/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {cp, remove} = include("utils.functions.filesystem.files");
-const {CabExtract} = include("utils.functions.filesystem.extract");
+const { cp, remove } = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.regsvr32");
-include("engines.wine.verbs.luna");
 
 /**
  * Verb to install amstream
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.amstream = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe")
-        .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
-        .name("windows6.1-KB976932-X86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "amstream"));
-
-    remove(this.system32directory() + "/amstream.dll");
-
-    new CabExtract()
-        .archive(setupFile)
-        .to(this.system32directory())
-        .extract(["-L", "-F", "x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll"]);
-
-    cp(this.system32directory() + "/x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll", this.system32directory());
-    this.regsvr32().install("amstream.dll");
-
-    if (this.architecture() == "amd64") {
-        var setupFilex64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe")
-            .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
-            .name("windows6.1-KB976932-X64.exe")
-            .get();
-        this.wizard().wait(tr("Please wait while {0} is installed...", "amstream"));
-        remove(this.system64directory() + "/amstream.dll");
-        new CabExtract()
-            .archive(setupFilex64)
-            .to(this.system64directory())
-            .extract(["-L", "-F", "amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll"]);
-        cp(this.system64directory() + "/amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll", this.system64directory());
-        this.regsvr64().install("amstream.dll");
+class Amstream {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    this.overrideDLL()
-        .set("native,builtin", ["amstream"])
-        .do();
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
+        const architecture = this.wine.architecture();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe"
+            )
+            .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
+            .name("windows6.1-KB976932-X86.exe")
+            .get();
 
-    return this;
-};
+        wizard.wait(tr("Please wait while {0} is installed...", "amstream"));
 
-/**
- * Verb to install amstream
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class AmstreamVerb {
-    constructor() {
-        // do nothing
+        remove(`${system32directory}/amstream.dll`);
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(system32directory)
+            .extract([
+                "-L",
+                "-F",
+                "x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll"
+            ]);
+
+        cp(
+            `${system32directory}/x86_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_0f58f1e53efca91e/amstream.dll`,
+            system32directory
+        );
+
+        this.wine.regsvr32().install("amstream.dll");
+
+        if (architecture == "amd64") {
+            const system64directory = this.wine.system64directory();
+
+            const setupFilex64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe"
+                )
+                .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
+                .name("windows6.1-KB976932-X64.exe")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", "amstream"));
+
+            remove(`${system64directory}/amstream.dll`);
+
+            new CabExtract()
+                .wizard(wizard)
+                .archive(setupFilex64)
+                .to(system64directory)
+                .extract([
+                    "-L",
+                    "-F",
+                    "amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll"
+                ]);
+            cp(
+                `${system64directory}/amd64_microsoft-windows-directshow-other_31bf3856ad364e35_6.1.7601.17514_none_6b778d68f75a1a54/amstream.dll`,
+                system64directory
+            );
+
+            this.wine.regsvr64().install("amstream.dll");
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native,builtin", ["amstream"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "amstream", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "amstream", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.amstream();
+
+        new Amstream(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Amstream;
 
@@ -112,7 +142,7 @@

Source: Engines/Wine/Verbs/amstream/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_atmlib_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_atmlib_script.js.html index 9516ede44c..01c5ebad48 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_atmlib_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_atmlib_script.js.html @@ -28,57 +28,61 @@

Source: Engines/Wine/Verbs/atmlib/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove } = 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;
-};
+const Optional = Java.type("java.util.Optional");
 
 /**
  * Verb to install atmlib
  */
-// eslint-disable-next-line no-unused-vars
-module.default = class AtmlibVerb {
-    constructor() {
-        // do nothing
+class Atmlib {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
+
+        const setupFile = new Resource()
+            .wizard(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(wizard)
+            .to(system32directory)
+            .extract();
+
+        new CabExtract()
+            .archive(`${system32directory}/i386/atmlib.dl_`)
+            .wizard(wizard)
+            .to(system32directory)
+            .extract();
+
+        remove(`${system32directory}/i386/`);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "atmlib", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "atmlib", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.atmlib();
+
+        new Atmlib(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Atmlib;
 
@@ -89,7 +93,7 @@

Source: Engines/Wine/Verbs/atmlib/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_corefonts_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_corefonts_script.js.html index 6f1938c448..96e2333927 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_corefonts_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_corefonts_script.js.html @@ -30,160 +30,159 @@

Source: Engines/Wine/Verbs/corefonts/script.js

const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.register_font"); -include("engines.wine.verbs.luna"); /** * Verb to install corefonts - * - * @returns {Wine} Wine object */ -Wine.prototype.corefonts = function () { - const fontResources = [ - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/arial32.exe") - .checksum("6d75f8436f39ab2da5c31ce651b7443b4ad2916e") - .name("arial32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe") - .checksum("d45cdab84b7f4c1efd6d1b369f50ed0390e3d344") - .name("arialb32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/comic32.exe") - .checksum("2371d0327683dcc5ec1684fe7c275a8de1ef9a51") - .name("comic32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/courie32.exe") - .checksum("06a745023c034f88b4135f5e294fece1a3c1b057") - .name("courie32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe") - .checksum("90e4070cb356f1d811acb943080bf97e419a8f1e") - .name("georgi32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/impact32.exe") - .checksum("86b34d650cfbbe5d3512d49d2545f7509a55aad2") - .name("impact32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/times32.exe") - .checksum("20b79e65cdef4e2d7195f84da202499e3aa83060") - .name("times32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe ") - .checksum("50aab0988423efcc9cf21fac7d64d534d6d0a34a") - .name("trebuc32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe ") - .checksum("f5b93cedf500edc67502f116578123618c64a42a") - .name("verdan32.exe") - .get(), - - new Resource() - .wizard(this.wizard()) - .url("https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe ") - .checksum("2fb4a42c53e50bc70707a7b3c57baf62ba58398f") - .name("webdin32.exe") - .get() - ]; - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Installing {0}...", tr("fonts"))); - progressBar.setProgressPercentage(0); - - fontResources.reduce((numInstalledFonts, fontResource) => { - progressBar.setText(tr("Installing {0}...", tr("fonts"))); - progressBar.setProgressPercentage((numInstalledFonts * 100) / fontResources.length); - - new CabExtract() - .archive(fontResource) - .wizard(this.wizard()) - .to(this.fontDirectory()) - .extract(); - - return numInstalledFonts + 1; - }, 0); - - this.registerFont() - .set("Arial", "Arial.TTF") - .set("Arial Bold", "Arialbd.TTF") - .set("Arial Bold Italic", "Arialbi.TTF") - .set("Arial Italic", "Ariali.TTF") - .set("Arial Black", "AriBlk.TTF") - .set("Comic Sans MS", "Comic.TTF") - .set("Comic Sans MS Bold", "Comicbd.TTF") - .set("Courier New", "Cour.TTF") - .set("Courier New Bold", "CourBD.TTF") - .set("Courier New Bold Italic", "CourBI.TTF") - .set("Courier New Italic", "Couri.TTF") - .set("Georgia", "Georgia.TTF") - .set("Georgia Bold", "Georgiab.TTF") - .set("Georgia Bold Italic", "Georgiaz.TTF") - .set("Georgia Italic", "Georgiai.TTF") - .set("Impact", "Impact.TTF") - .set("Times New Roman", "Times.TTF") - .set("Times New Roman Bold", "Timesbd.TTF") - .set("Times New Roman Bold Italic", "Timesbi.TTF") - .set("Times New Roman Italic", "Timesi.TTF") - .set("Trebucet MS", "Trebuc.TTF") - .set("Trebucet MS Bold", "Trebucbd.TTF") - .set("Trebucet MS Bold Italic", "Trebucbi.TTF") - .set("Trebucet MS Italic", "Trebucit.TTF") - .set("Verdana", "Verdana.TTF") - .set("Verdana Bold", "Verdanab.TTF") - .set("Verdana Bold Italic", "Verdanaz.TTF") - .set("Verdana Italic", "Verdanai.TTF") - .set("Webdings", "Webdings.TTF") - .do(); - - return this; -}; +class Corefonts { + constructor(wine) { + this.wine = wine; + } -/** - * Verb to install corefonts - */ -module.default = class CorefontsVerb { - constructor() { - // do nothing + go() { + const wizard = this.wine.wizard(); + const fontDirectory = this.wine.fontDirectory(); + + const fontResources = [ + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/arial32.exe") + .checksum("6d75f8436f39ab2da5c31ce651b7443b4ad2916e") + .name("arial32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe") + .checksum("d45cdab84b7f4c1efd6d1b369f50ed0390e3d344") + .name("arialb32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/comic32.exe") + .checksum("2371d0327683dcc5ec1684fe7c275a8de1ef9a51") + .name("comic32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/courie32.exe") + .checksum("06a745023c034f88b4135f5e294fece1a3c1b057") + .name("courie32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe") + .checksum("90e4070cb356f1d811acb943080bf97e419a8f1e") + .name("georgi32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/impact32.exe") + .checksum("86b34d650cfbbe5d3512d49d2545f7509a55aad2") + .name("impact32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/times32.exe") + .checksum("20b79e65cdef4e2d7195f84da202499e3aa83060") + .name("times32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe ") + .checksum("50aab0988423efcc9cf21fac7d64d534d6d0a34a") + .name("trebuc32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe ") + .checksum("f5b93cedf500edc67502f116578123618c64a42a") + .name("verdan32.exe") + .get(), + + new Resource() + .wizard(wizard) + .url("https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe ") + .checksum("2fb4a42c53e50bc70707a7b3c57baf62ba58398f") + .name("webdin32.exe") + .get() + ]; + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Installing {0}...", tr("fonts"))); + progressBar.setProgressPercentage(0); + + fontResources.reduce((numInstalledFonts, fontResource) => { + progressBar.setText(tr("Installing {0}...", tr("fonts"))); + progressBar.setProgressPercentage((numInstalledFonts * 100) / fontResources.length); + + new CabExtract() + .wizard(wizard) + .archive(fontResource) + .to(fontDirectory) + .extract(); + + return numInstalledFonts + 1; + }, 0); + + this.wine + .registerFont() + .set("Arial", "Arial.TTF") + .set("Arial Bold", "Arialbd.TTF") + .set("Arial Bold Italic", "Arialbi.TTF") + .set("Arial Italic", "Ariali.TTF") + .set("Arial Black", "AriBlk.TTF") + .set("Comic Sans MS", "Comic.TTF") + .set("Comic Sans MS Bold", "Comicbd.TTF") + .set("Courier New", "Cour.TTF") + .set("Courier New Bold", "CourBD.TTF") + .set("Courier New Bold Italic", "CourBI.TTF") + .set("Courier New Italic", "Couri.TTF") + .set("Georgia", "Georgia.TTF") + .set("Georgia Bold", "Georgiab.TTF") + .set("Georgia Bold Italic", "Georgiaz.TTF") + .set("Georgia Italic", "Georgiai.TTF") + .set("Impact", "Impact.TTF") + .set("Times New Roman", "Times.TTF") + .set("Times New Roman Bold", "Timesbd.TTF") + .set("Times New Roman Bold Italic", "Timesbi.TTF") + .set("Times New Roman Italic", "Timesi.TTF") + .set("Trebucet MS", "Trebuc.TTF") + .set("Trebucet MS Bold", "Trebucbd.TTF") + .set("Trebucet MS Bold Italic", "Trebucbi.TTF") + .set("Trebucet MS Italic", "Trebucit.TTF") + .set("Verdana", "Verdana.TTF") + .set("Verdana Bold", "Verdanab.TTF") + .set("Verdana Bold Italic", "Verdanaz.TTF") + .set("Verdana Italic", "Verdanai.TTF") + .set("Webdings", "Webdings.TTF") + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "corefonts", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "corefonts", java.util.Optional.empty()); - wine.wizard(wizard); - wine.corefonts(); + + new Corefonts(wine).go(); wizard.close(); } -}; +} + +module.default = Corefonts; @@ -194,7 +193,7 @@

Source: Engines/Wine/Verbs/corefonts/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_crypt32_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_crypt32_script.js.html index 0f65b5f552..89f65d974e 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_crypt32_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_crypt32_script.js.html @@ -28,41 +28,43 @@

Source: Engines/Wine/Verbs/crypt32/script.js

const Wine = include("engines.wine.engine.object");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
-include("engines.wine.verbs.sp3extract");
+const WindowsXPSP3 = include("engines.wine.verbs.sp3extract");
 
 /**
  * Verb to install crypt32
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.crypt32 = function () {
-    this.sp3extract("crypt32.dll");
-    this.sp3extract("msasn1.dll");
+class Crypt32 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    this.overrideDLL()
-        .set("native, builtin", ["crypt32"])
-        .do();
-};
+    go() {
+        new WindowsXPSP3(this.wine).withFileToExtract("crypt32.dll").go();
+        new WindowsXPSP3(this.wine).withFileToExtract("msasn1.dll").go();
 
-/**
- * Verb to install crypt32
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Crypt32Verb {
-    constructor() {
-        // do nothing
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["crypt32"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "crypt32", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "crypt32", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.crypt32();
+
+        new Crypt32(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Crypt32;
 
@@ -73,7 +75,7 @@

Source: Engines/Wine/Verbs/crypt32/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_d3drm_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_d3drm_script.js.html index ba21c76222..c876c4cc5d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3drm_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3drm_script.js.html @@ -28,61 +28,68 @@

Source: Engines/Wine/Verbs/d3drm/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
-include("engines.wine.verbs.luna");
 
 /**
  * Verb to install d3drm
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.d3drm = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe")
-        .checksum("a97c820915dc20929e84b49646ec275760012a42")
-        .name("directx_feb2010_redist.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "d3drm"));
-
-    new CabExtract()
-        .archive(setupFile)
-        .to(this.prefixDirectory() + "/drive_c/d3drm/")
-        .extract(["-L", "-F", "dxnt.cab"]);
-
-    new CabExtract()
-        .archive(this.prefixDirectory() + "/drive_c/d3drm/dxnt.cab")
-        .to(this.system32directory())
-        .extract(["-L", "-F", "d3drm.dll"]);
-
-    this.overrideDLL()
-        .set("native", ["d3drm"])
-        .do();
-
-    return this;
-};
+class D3drm {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install d3drm
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class D3drmVerb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe"
+            )
+            .checksum("a97c820915dc20929e84b49646ec275760012a42")
+            .name("directx_feb2010_redist.exe")
+            .get();
+
+        wizard.wait(tr("Please wait while {0} is installed...", "d3drm"));
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(`${prefixDirectory}/drive_c/d3drm/`)
+            .extract(["-L", "-F", "dxnt.cab"]);
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(`${prefixDirectory}/drive_c/d3drm/dxnt.cab`)
+            .to(system32directory)
+            .extract(["-L", "-F", "d3drm.dll"]);
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["d3drm"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "d3drm", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "d3drm", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.d3drm();
+
+        new D3drm(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = D3drm;
 
@@ -93,7 +100,7 @@

Source: Engines/Wine/Verbs/d3drm/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_d3dx10_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_d3dx10_script.js.html index 63d4ca093a..20f13e500d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx10_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx10_script.js.html @@ -30,15 +30,31 @@

Source: Engines/Wine/Verbs/d3dx10/script.js

const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install D3DX10 - * - * @returns {Wine} Wine object */ -Wine.prototype.d3dx10 = function () { - const extractDirectXtoSystemDirectory = (progressBar, filesToExtract, destination, pattern) => { +class D3DX10 { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts DirectX10 to the system directory + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to be extracted + * @param {*} destination The destination folder + * @param {*} pattern The file pattern used during extraction + * @returns {void} + */ + extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); @@ -46,113 +62,116 @@

Source: Engines/Wine/Verbs/d3dx10/script.js

progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3dx10/" + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3dx10/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "DirectX 10")); - progressBar.setProgressPercentage(0); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx10/") - .extract(["-L", "-F", "*d3dx10*x86*"]); - - const filesToExtractx86 = [ - "apr2007_d3dx10_33_x86.cab", - "aug2007_d3dx10_35_x86.cab", - "aug2008_d3dx10_39_x86.cab", - "aug2009_d3dx10_42_x86.cab", - "dec2006_d3dx10_00_x86.cab", - "jun2007_d3dx10_34_x86.cab", - "jun2008_d3dx10_38_x86.cab", - "jun2010_d3dx10_43_x86.cab", - "mar2008_d3dx10_37_x86.cab", - "mar2009_d3dx10_41_x86.cab", - "nov2007_d3dx10_36_x86.cab", - "nov2008_d3dx10_40_x86.cab" - ]; - - extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, this.system32directory(), "d3dx10*.dll"); - - if (this.architecture() == "amd64") { + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "DirectX 10")); + progressBar.setProgressPercentage(0); + new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx10/") - .extract(["-L", "-F", "*d3dx10*x64*"]); - - const filesToExtractx64 = [ - "apr2007_d3dx10_33_x64.cab", - "aug2007_d3dx10_35_x64.cab", - "aug2008_d3dx10_39_x64.cab", - "aug2009_d3dx10_42_x64.cab", - "dec2006_d3dx10_00_x64.cab", - "jun2007_d3dx10_34_x64.cab", - "jun2008_d3dx10_38_x64.cab", - "jun2010_d3dx10_43_x64.cab", - "mar2008_d3dx10_37_x64.cab", - "mar2009_d3dx10_41_x64.cab", - "nov2007_d3dx10_36_x64.cab", - "nov2008_d3dx10_40_x64.cab" + .to(`${prefixDirectory}/drive_c/d3dx10/`) + .extract(["-L", "-F", "*d3dx10*x86*"]); + + const filesToExtractx86 = [ + "apr2007_d3dx10_33_x86.cab", + "aug2007_d3dx10_35_x86.cab", + "aug2008_d3dx10_39_x86.cab", + "aug2009_d3dx10_42_x86.cab", + "dec2006_d3dx10_00_x86.cab", + "jun2007_d3dx10_34_x86.cab", + "jun2008_d3dx10_38_x86.cab", + "jun2010_d3dx10_43_x86.cab", + "mar2008_d3dx10_37_x86.cab", + "mar2009_d3dx10_41_x86.cab", + "nov2007_d3dx10_36_x86.cab", + "nov2008_d3dx10_40_x86.cab" ]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, this.system64directory(), "d3dx10*.dll"); - } + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx10*.dll"); - this.overrideDLL() - .set("native", [ - "d3dx10_33", - "d3dx10_34", - "d3dx10_35", - "d3dx10_36", - "d3dx10_37", - "d3dx10_38", - "d3dx10_39", - "d3dx10_40", - "d3dx10_41", - "d3dx10_42", - "d3dx10_43" - ]) - .do(); - - return this; -}; + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); -/** - * Verb to install D3DX10 - */ -module.default = class D3DX10Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3dx10/`) + .extract(["-L", "-F", "*d3dx10*x64*"]); + + const filesToExtractx64 = [ + "apr2007_d3dx10_33_x64.cab", + "aug2007_d3dx10_35_x64.cab", + "aug2008_d3dx10_39_x64.cab", + "aug2009_d3dx10_42_x64.cab", + "dec2006_d3dx10_00_x64.cab", + "jun2007_d3dx10_34_x64.cab", + "jun2008_d3dx10_38_x64.cab", + "jun2010_d3dx10_43_x64.cab", + "mar2008_d3dx10_37_x64.cab", + "mar2009_d3dx10_41_x64.cab", + "nov2007_d3dx10_36_x64.cab", + "nov2008_d3dx10_40_x64.cab" + ]; + + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx64, system64directory, "d3dx10*.dll"); + } + + this.wine + .overrideDLL() + .set("native", [ + "d3dx10_33", + "d3dx10_34", + "d3dx10_35", + "d3dx10_36", + "d3dx10_37", + "d3dx10_38", + "d3dx10_39", + "d3dx10_40", + "d3dx10_41", + "d3dx10_42", + "d3dx10_43" + ]) + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3dx10", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "d3dx10", java.util.Optional.empty()); - wine.wizard(wizard); - wine.d3dx10(); + + new D3DX10(wine).go(); wizard.close(); } -}; +} + +module.default = D3DX10; @@ -163,7 +182,7 @@

Source: Engines/Wine/Verbs/d3dx10/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_d3dx11_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_d3dx11_script.js.html index 117ccfbd76..9eb845bc84 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx11_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx11_script.js.html @@ -30,15 +30,31 @@

Source: Engines/Wine/Verbs/d3dx11/script.js

const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install D3DX11 - * - * @returns {Wine} Wine object */ -Wine.prototype.d3dx11 = function () { - const extractDirectXtoSystemDirectory = (progressBar, filesToExtract, destination, pattern) => { +class D3DX11 { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts DirectX11 to the system directory + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to extract + * @param {*} destination The destination folder + * @param {*} pattern The file pattern used during extraction + * @returns {void} + */ + extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); @@ -46,81 +62,84 @@

Source: Engines/Wine/Verbs/d3dx11/script.js

progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3dx11/" + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3dx11/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("7c1fc2021cf57fed3c25c9b03cd0c31a") - .algorithm("MD5") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "DirectX 11")); - progressBar.setProgressPercentage(0); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx11/") - .extract(["-L", "-F", "*d3dx11*x86*"]); - - const filesToExtractx86 = ["Aug2009_d3dx11_42_x86.cab", "Jun2010_d3dx11_43_x86.cab"]; + } - extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, this.system32directory(), "*.dll"); + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("7c1fc2021cf57fed3c25c9b03cd0c31a") + .algorithm("MD5") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "DirectX 11")); + progressBar.setProgressPercentage(0); - if (this.architecture() == "amd64") { new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx11/") - .extract(["-L", "-F", "*d3dx11*x64*"]); + .to(`${prefixDirectory}/drive_c/d3dx11/`) + .extract(["-L", "-F", "*d3dx11*x86*"]); - const filesToExtractx64 = [ - "Aug2009_d3dx11_42_x86.cab", - "Jun2010_d3dx11_43_x86.cab", - "Aug2009_d3dx11_42_x64.cab", - "Jun2010_d3dx11_43_x64.cab" - ]; + const filesToExtractx86 = ["Aug2009_d3dx11_42_x86.cab", "Jun2010_d3dx11_43_x86.cab"]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, this.system64directory(), "*.dll"); - } + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "*.dll"); - this.overrideDLL() - .set("native, builtin", ["d3dx11_42", "d3dx11_43"]) - .do(); + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); - return this; -}; - -/** - * Verb to install D3DX11 - */ -module.default = class D3DX11Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3dx11/`) + .extract(["-L", "-F", "*d3dx11*x64*"]); + + const filesToExtractx64 = [ + "Aug2009_d3dx11_42_x86.cab", + "Jun2010_d3dx11_43_x86.cab", + "Aug2009_d3dx11_42_x64.cab", + "Jun2010_d3dx11_43_x64.cab" + ]; + + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx64, system64directory, "*.dll"); + } + + this.wine + .overrideDLL() + .set("native, builtin", ["d3dx11_42", "d3dx11_43"]) + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3dx11", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "d3dx11", java.util.Optional.empty()); - wine.wizard(wizard); - wine.d3dx11(); + + new D3DX11(wine).go(); wizard.close(); } -}; +} + +module.default = D3DX11; @@ -131,7 +150,7 @@

Source: Engines/Wine/Verbs/d3dx11/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html index 08c45d0e9a..82c7bb82c7 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html @@ -30,15 +30,31 @@

Source: Engines/Wine/Verbs/d3dx9/script.js

const Resource = include("utils.functions.net.resource"); const { CabExtract } = include("utils.functions.filesystem.extract"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.override_dll"); /** * Verb to install D3DX9 - * - * @returns {Wine} Wine object */ -Wine.prototype.d3dx9 = function () { - const extractDirectXtoSystemDirectory = (progressBar, filesToExtract, destination, pattern) => { +class D3DX9 { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts DirectX9 to the system directory + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to extract + * @param {*} destination The destination folder + * @param {*} pattern The file pattern used during extraction + * @returns {void} + */ + extractDirectXToSystemDirectory(progressBar, filesToExtract, destination, pattern) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); @@ -46,137 +62,141 @@

Source: Engines/Wine/Verbs/d3dx9/script.js

progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/d3dx9/" + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/d3dx9/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "DirectX 9")); - progressBar.setProgressPercentage(0); - - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx9/") - .extract(["-L", "-F", "*d3dx9*x86*"]); - - const filesToExtractx86 = [ - "apr2007_d3dx9_33_x86.cab", - "aug2007_d3dx9_35_x86.cab", - "apr2005_d3dx9_25_x86.cab", - "apr2006_d3dx9_30_x86.cab", - "aug2005_d3dx9_27_x86.cab", - "aug2008_d3dx9_39_x86.cab", - "aug2009_d3dx9_42_x86.cab", - "dec2006_d3dx9_32_x86.cab", - "dec2005_d3dx9_28_x86.cab", - "feb2005_d3dx9_24_x86.cab", - "feb2006_d3dx9_29_x86.cab", - "jun2007_d3dx9_34_x86.cab", - "jun2008_d3dx9_38_x86.cab", - "jun2005_d3dx9_26_x86.cab", - "jun2010_d3dx9_43_x86.cab", - "mar2008_d3dx9_37_x86.cab", - "mar2009_d3dx9_41_x86.cab", - "nov2007_d3dx9_36_x86.cab", - "nov2008_d3dx9_40_x86.cab", - "oct2006_d3dx9_31_x86.cab" - ]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx86, this.system32directory(), "d3dx9*.dll"); - - if (this.architecture() == "amd64") { + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "DirectX 9")); + progressBar.setProgressPercentage(0); + new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/d3dx9/") - .extract(["-L", "-F", "*d3dx9*x64*"]); - - const filesToExtractx64 = [ - "APR2007_d3dx9_33_x64.cab", - "AUG2007_d3dx9_35_x64.cab", - "Apr2005_d3dx9_25_x64.cab", - "Apr2006_d3dx9_30_x64.cab", - "Aug2005_d3dx9_27_x64.cab", - "Aug2008_d3dx9_39_x64.cab", - "Aug2009_d3dx9_42_x64.cab", - "DEC2006_d3dx9_32_x64.cab", - "Dec2005_d3dx9_28_x64.cab", - "Feb2005_d3dx9_24_x64.cab", - "Feb2006_d3dx9_29_x64.cab", - "JUN2007_d3dx9_34_x64.cab", - "JUN2008_d3dx9_38_x64.cab", - "Jun2005_d3dx9_26_x64.cab", - "Jun2010_d3dx9_43_x64.cab", - "Mar2008_d3dx9_37_x64.cab", - "Mar2009_d3dx9_41_x64.cab", - "Nov2007_d3dx9_36_x64.cab", - "Nov2008_d3dx9_40_x64.cab", - "OCT2006_d3dx9_31_x64.cab" + .to(`${prefixDirectory}/drive_c/d3dx9/`) + .extract(["-L", "-F", "*d3dx9*x86*"]); + + const filesToExtractx86 = [ + "apr2007_d3dx9_33_x86.cab", + "aug2007_d3dx9_35_x86.cab", + "apr2005_d3dx9_25_x86.cab", + "apr2006_d3dx9_30_x86.cab", + "aug2005_d3dx9_27_x86.cab", + "aug2008_d3dx9_39_x86.cab", + "aug2009_d3dx9_42_x86.cab", + "dec2006_d3dx9_32_x86.cab", + "dec2005_d3dx9_28_x86.cab", + "feb2005_d3dx9_24_x86.cab", + "feb2006_d3dx9_29_x86.cab", + "jun2007_d3dx9_34_x86.cab", + "jun2008_d3dx9_38_x86.cab", + "jun2005_d3dx9_26_x86.cab", + "jun2010_d3dx9_43_x86.cab", + "mar2008_d3dx9_37_x86.cab", + "mar2009_d3dx9_41_x86.cab", + "nov2007_d3dx9_36_x86.cab", + "nov2008_d3dx9_40_x86.cab", + "oct2006_d3dx9_31_x86.cab" ]; - extractDirectXtoSystemDirectory(progressBar, filesToExtractx64, this.system64directory(), "d3dx9*.dll"); - } + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx9*.dll"); - this.overrideDLL() - .set("native", [ - "d3dx9_24", - "d3dx9_25", - "d3dx9_26", - "d3dx9_27", - "d3dx9_28", - "d3dx9_29", - "d3dx9_30", - "d3dx9_31", - "d3dx9_32", - "d3dx9_33", - "d3dx9_34", - "d3dx9_35", - "d3dx9_36", - "d3dx9_37", - "d3dx9_38", - "d3dx9_39", - "d3dx9_40", - "d3dx9_41", - "d3dx9_42", - "d3dx9_43" - ]) - .do(); - - return this; -}; + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); -/** - * Verb to install D3DX9 - */ -module.default = class D3DX9Verb { - constructor() { - // do nothing + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/d3dx9/`) + .extract(["-L", "-F", "*d3dx9*x64*"]); + + const filesToExtractx64 = [ + "APR2007_d3dx9_33_x64.cab", + "AUG2007_d3dx9_35_x64.cab", + "Apr2005_d3dx9_25_x64.cab", + "Apr2006_d3dx9_30_x64.cab", + "Aug2005_d3dx9_27_x64.cab", + "Aug2008_d3dx9_39_x64.cab", + "Aug2009_d3dx9_42_x64.cab", + "DEC2006_d3dx9_32_x64.cab", + "Dec2005_d3dx9_28_x64.cab", + "Feb2005_d3dx9_24_x64.cab", + "Feb2006_d3dx9_29_x64.cab", + "JUN2007_d3dx9_34_x64.cab", + "JUN2008_d3dx9_38_x64.cab", + "Jun2005_d3dx9_26_x64.cab", + "Jun2010_d3dx9_43_x64.cab", + "Mar2008_d3dx9_37_x64.cab", + "Mar2009_d3dx9_41_x64.cab", + "Nov2007_d3dx9_36_x64.cab", + "Nov2008_d3dx9_40_x64.cab", + "OCT2006_d3dx9_31_x64.cab" + ]; + + this.extractDirectXToSystemDirectory(progressBar, filesToExtractx64, system64directory, "d3dx9*.dll"); + } + + this.wine + .overrideDLL() + .set("native", [ + "d3dx9_24", + "d3dx9_25", + "d3dx9_26", + "d3dx9_27", + "d3dx9_28", + "d3dx9_29", + "d3dx9_30", + "d3dx9_31", + "d3dx9_32", + "d3dx9_33", + "d3dx9_34", + "d3dx9_35", + "d3dx9_36", + "d3dx9_37", + "d3dx9_38", + "d3dx9_39", + "d3dx9_40", + "d3dx9_41", + "d3dx9_42", + "d3dx9_43" + ]) + .do(); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "d3dx9", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "d3dx9", java.util.Optional.empty()); - wine.wizard(wizard); - wine.d3dx9(); + + new D3DX9(wine).go(); wizard.close(); } -}; +} + +module.default = D3DX9; @@ -187,7 +207,7 @@

Source: Engines/Wine/Verbs/d3dx9/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_devenum_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_devenum_script.js.html index 54ba5e27d7..0fc183918d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_devenum_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_devenum_script.js.html @@ -28,63 +28,70 @@

Source: Engines/Wine/Verbs/devenum/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.regsvr32");
-include("engines.wine.verbs.luna");
 
 /**
  * Verb to install devenum
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.devenum = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe")
-        .checksum("a97c820915dc20929e84b49646ec275760012a42")
-        .name("directx_feb2010_redist.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "devenum"));
-
-    new CabExtract()
-        .archive(setupFile)
-        .to(this.prefixDirectory() + "/drive_c/devenum/")
-        .extract(["-L", "-F", "dxnt.cab"]);
-
-    new CabExtract()
-        .archive(this.prefixDirectory() + "/drive_c/devenum/dxnt.cab")
-        .to(this.system32directory())
-        .extract(["-L", "-F", "devenum.dll"]);
-
-    this.regsvr32().install("devenum.dll");
-    this.overrideDLL()
-        .set("native", ["devenum"])
-        .do();
-
-    return this;
-};
+class Devenum {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install devenum
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class DevenumVerb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe"
+            )
+            .checksum("a97c820915dc20929e84b49646ec275760012a42")
+            .name("directx_feb2010_redist.exe")
+            .get();
+
+        wizard.wait(tr("Please wait while {0} is installed...", "devenum"));
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(`${prefixDirectory}/drive_c/devenum/`)
+            .extract(["-L", "-F", "dxnt.cab"]);
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(`${prefixDirectory}/drive_c/devenum/dxnt.cab`)
+            .to(system32directory)
+            .extract(["-L", "-F", "devenum.dll"]);
+
+        this.wine.regsvr32().install("devenum.dll");
+        this.wine
+            .overrideDLL()
+            .set("native", ["devenum"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "devenum", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "devenum", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.devenum();
+
+        new Devenum(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Devenum;
 
@@ -95,7 +102,7 @@

Source: Engines/Wine/Verbs/devenum/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet20_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet20_script.js.html index 561b903c56..6a19012234 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet20_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet20_script.js.html @@ -28,61 +28,82 @@

Source: Engines/Wine/Verbs/dotnet20/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {remove} = include("utils.functions.filesystem.files");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
-include("engines.wine.verbs.remove_mono");
+const RemoveMono = include("engines.wine.verbs.remove_mono");
 
 /**
  * Verb to install .NET 2.0
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet20 = function () {
-    var osVersion = this.windowsVersion();
+class DotNET20 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    if (this.architecture() == "x86") {
-        this.windowsVersion("win2k");
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
+        const system32directory = this.wine.system32directory();
 
-        var setupFile32 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe")
-            .checksum("a3625c59d7a2995fb60877b5f5324892a1693b2a")
-            .name("dotnetfx.exe")
-            .get();
+        if (this.wine.architecture() == "x86") {
+            this.wine.windowsVersion("win2k");
 
-        this.removeMono();
+            const setupFile32 = new Resource()
+                .wizard(wizard)
+                .url("https://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe")
+                .checksum("a3625c59d7a2995fb60877b5f5324892a1693b2a")
+                .name("dotnetfx.exe")
+                .get();
 
-        this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0"));
-        this.run(setupFile32, ["/q:a", "/c:install.exe /q"], null, false, true);
+            new RemoveMono(this.wine).go();
 
-        this.windowsVersion(osVersion);
+            wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0"));
 
-        remove(this.system32directory() + "/msvcr80.dll");
-        remove(this.system32directory() + "/msvcm80.dll");
-        remove(this.system32directory() + "/msvcp80.dll");
-    }
-    else {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe")
-            .checksum("e59cca309463a5d98daeaada83d1b05fed5126c5")
-            .name("NetFx64.exe")
-            .get();
-
-        this.removeMono();
-
-        this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0"));
-        this.run(setupFile64, ["/q:a", "/c:install.exe /q"], null, false, true)
+            this.wine.run(setupFile32, ["/q:a", "/c:install.exe /q"], null, false, true);
+
+            this.wine.windowsVersion(windowsVersion);
+
+            remove(`${system32directory}/msvcr80.dll`);
+            remove(`${system32directory}/msvcm80.dll`);
+            remove(`${system32directory}/msvcp80.dll`);
+        } else {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url("https://download.microsoft.com/download/a/3/f/a3f1bf98-18f3-4036-9b68-8e6de530ce0a/NetFx64.exe")
+                .checksum("e59cca309463a5d98daeaada83d1b05fed5126c5")
+                .name("NetFx64.exe")
+                .get();
+
+            new RemoveMono(this.wine).go();
+
+            wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0"));
+
+            this.wine.run(setupFile64, ["/q:a", "/c:install.exe /q"], null, false, true);
+        }
+
+        //This is in winetricks source, but does not seem to work
+        //this.wizard().wait(tr("Please wait while executing ngen..."));
+        //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v2.0.50727/ngen.exe", "executequeueditems", null, false, true);
     }
 
-    //This is in winetricks source, but does not seem to work
-    //this.wizard().wait(tr("Please wait while executing ngen..."));
-    //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v2.0.50727/ngen.exe", "executequeueditems", null, false, true);
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet20", Optional.empty());
+
+        wine.prefix(container);
+        wine.wizard(wizard);
+
+        new DotNET20(wine).go();
+
+        wizard.close();
+    }
+}
 
-    return this;
-};
+module.default = DotNET20;
 
@@ -93,7 +114,7 @@

Source: Engines/Wine/Verbs/dotnet20/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet20sp2_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet20sp2_script.js.html index 81ed071237..1b268de0eb 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet20sp2_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet20sp2_script.js.html @@ -28,85 +28,90 @@

Source: Engines/Wine/Verbs/dotnet20sp2/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {remove} = include("utils.functions.filesystem.files");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
+const RemoveMono = include("engines.wine.verbs.remove_mono");
 
 /**
- * Verb to install .NET 2.0 SP2
- *
- * @returns {Wine} Wine object
+ * Verb to install dotnet20sp2
  */
-Wine.prototype.dotnet20sp2 = function () {
-    var osVersion = this.windowsVersion();
-    this.windowsVersion("winxp");
-    var dlls = [
-        "ngen.exe",
-        "regsvcs.exe",
-        "mscorsvw.exe"];
-    this.overrideDLL()
-        .set("builtin", dlls)
-        .do();
-    this.removeMono();
-
-    if (this.architecture() == "x86") {
-
-        var setupFile32 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe")
-            .checksum("22d776d4d204863105a5db99e8b8888be23c61a7")
-            .name("NetFx20SP2_x86.exe")
-            .get();
-
-
-        this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2"));
-        this.run(setupFile32, [setupFile32, "/q", "/c:\"install.exe /q\""], null, false, true);
-
-        remove(this.system32directory() + "/msvcr80.dll");
-        remove(this.system32directory() + "/msvcm80.dll");
-        remove(this.system32directory() + "/msvcp80.dll");
+class DotNET20SP2 {
+    constructor(wine) {
+        this.wine = wine;
     }
-    else {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x64.exe")
-            .checksum("a7cc6c6e5a4ad9cdf3df16a7d277eb09fec429b7")
-            .name("NetFx20SP2_x64.exe")
-            .get();
-
 
-        this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2"));
-        this.run(setupFile64, [setupFile64, "/q", "/c:\"install.exe /q\""], null, false, true);
+    go() {
+        const wizard = this.wine.wizard();
+        const osVersion = this.wine.windowsVersion();
+        const system32directory = this.wine.system32directory();
+
+        this.wine.windowsVersion("winxp");
+
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["ngen.exe", "regsvcs.exe", "mscorsvw.exe"])
+            .do();
+
+        new RemoveMono(this.wine).go();
+
+        if (this.wine.architecture() == "x86") {
+            const setupFile32 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x86.exe"
+                )
+                .checksum("22d776d4d204863105a5db99e8b8888be23c61a7")
+                .name("NetFx20SP2_x86.exe")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2"));
+
+            this.wine.run(setupFile32, [setupFile32, "/q", '/c:"install.exe /q"'], null, false, true);
+
+            remove(`${system32directory}/msvcr80.dll`);
+            remove(`${system32directory}/msvcm80.dll`);
+            remove(`${system32directory}/msvcp80.dll`);
+        } else {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/c/6/e/c6e88215-0178-4c6c-b5f3-158ff77b1f38/NetFx20SP2_x64.exe"
+                )
+                .checksum("a7cc6c6e5a4ad9cdf3df16a7d277eb09fec429b7")
+                .name("NetFx20SP2_x64.exe")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 2.0 SP2"));
+
+            this.wine.run(setupFile64, [setupFile64, "/q", '/c:"install.exe /q"'], null, false, true);
+        }
+
+        this.wine.windowsVersion(osVersion);
+
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*ngen.exe");
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*regsvcs.exe");
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*mscorsvw.exe");
     }
-    this.windowsVersion(osVersion);
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*ngen.exe");
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*regsvcs.exe");
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*mscorsvw.exe");
 
-    return this;
-};
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet20sp2", Optional.empty());
 
-/**
- * Verb to install dotnet20sp2
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet20SP2Verb {
-    constructor() {
-        // do nothing
-    }
-
-    install(container) {
-        var wine = new Wine();
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet20sp2", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.dotnet20sp2();
+
+        new DotNET20SP2(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET20SP2;
 
@@ -117,7 +122,7 @@

Source: Engines/Wine/Verbs/dotnet20sp2/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet40_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet40_script.js.html index eb1f4a9e19..0f4c8123ea 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet40_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet40_script.js.html @@ -29,88 +29,106 @@

Source: Engines/Wine/Verbs/dotnet40/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-
+const RemoveMono = include("engines.wine.verbs.remove_mono");
 
 /**
  * Verb to install .NET 4.0
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet40 = function () {
-    if (this.architecture() == "amd64") {
-        print(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet40"));
+class DotNET40 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
+
+        if (this.wine.architecture() == "amd64") {
+            print(
+                tr(
+                    "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.",
+                    "dotnet40"
+                )
+            );
+        }
 
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe")
-        .checksum("58da3d74db353aad03588cbb5cea8234166d8b99")
-        .name("dotNetFx40_Full_x86_x64.exe")
-        .get();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe"
+            )
+            .checksum("58da3d74db353aad03588cbb5cea8234166d8b99")
+            .name("dotNetFx40_Full_x86_x64.exe")
+            .get();
 
-    this.removeMono();
+        new RemoveMono(this.wine).go();
 
-    this.windowsVersion("winxp");
+        this.wine.windowsVersion("winxp");
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.0"));
-    this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true);
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.0"));
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true);
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        wizard.wait(tr("Please wait..."));
 
-    this.wizard().wait(tr("Please wait..."));
-    var regeditFileContent = "REGEDIT4\n" +
-        "\n" +
-        "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full]\n" +
-        "\"Install\"=dword:0001\n" +
-        "\"Version\"=\"4.0.30319\"";
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
 
-    this.regedit().patch(regeditFileContent);
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
 
-    //This is in winetricks source, but does not seem to work
-    //this.wizard().wait(tr("Please wait while executing ngen..."));
-    //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe", "executequeueditems", null, false, true);
+        wizard.wait(tr("Please wait..."));
 
-    this.windowsVersion(osVersion);
+        const regeditFileContent =
+            "REGEDIT4\n" +
+            "\n" +
+            "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full]\n" +
+            '"Install"=dword:0001\n' +
+            '"Version"="4.0.30319"';
 
-    return this;
-};
+        this.wine.regedit().patch(regeditFileContent);
 
-/**
- * Verb to install .NET 4.0
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet40Verb {
-    constructor() {
-        // do nothing
+        //This is in winetricks source, but does not seem to work
+        //this.wizard().wait(tr("Please wait while executing ngen..."));
+        //this.run(this.prefixDirectory() + "/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe", "executequeueditems", null, false, true);
+
+        this.wine.windowsVersion(windowsVersion);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet40", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet40", java.util.Optional.empty());
+        wine.wizard(wizard);
+
         if (wine.architecture() == "amd64") {
-            wizard.message(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet40"));
+            wizard.message(
+                tr(
+                    "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.",
+                    "dotnet40"
+                )
+            );
         }
-        wine.wizard(wizard);
-        wine.dotnet40();
+
+        new DotNET40(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET40;
 
@@ -121,7 +139,7 @@

Source: Engines/Wine/Verbs/dotnet40/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet452_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet452_script.js.html index 563c28e0a2..d5eb875d46 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet452_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet452_script.js.html @@ -29,77 +29,84 @@

Source: Engines/Wine/Verbs/dotnet452/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-include("engines.wine.verbs.dotnet40");
-
+const RemoveMono = include("engines.wine.verbs.remove_mono");
+const DotNET40 = include("engines.wine.verbs.dotnet40");
 
 /**
  * Verb to install .NET 4.5.2
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet452 = function () {
-    print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452"));
+class DotNET452 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
 
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe")
-        .checksum("89f86f9522dc7a8a965facce839abb790a285a63")
-        .name("NDP452-KB2901907-x86-x64-AllOS-ENU.exe")
-        .get();
+        print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452"));
 
-    this.removeMono();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/E/2/1/E21644B5-2DF2-47C2-91BD-63C560427900/NDP452-KB2901907-x86-x64-AllOS-ENU.exe"
+            )
+            .checksum("89f86f9522dc7a8a965facce839abb790a285a63")
+            .name("NDP452-KB2901907-x86-x64-AllOS-ENU.exe")
+            .get();
 
-    this.dotnet40();
-    this.windowsVersion("win7");
+        new RemoveMono(this.wine).go();
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        new DotNET40(this.wine).go();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5.2"));
-    this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true);
+        this.wine.windowsVersion("win7");
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5.2"));
 
-    this.windowsVersion(osVersion);
+        this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true);
 
-    if (osVersion != "win2003") {
-        print(tr("{0} applications can have issues when windows version is not set to \"win2003\"", ".NET 4.5.2"));
-    }
+        wizard.wait(tr("Please wait..."));
 
-    return this;
-};
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
 
-/**
- * Verb to install .NET 4.5.2
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet452Verb {
-    constructor() {
-        // do nothing
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
+
+        this.wine.windowsVersion(windowsVersion);
+
+        if (windowsVersion != "win2003") {
+            print(tr('{0} applications can have issues when windows version is not set to "win2003"', ".NET 4.5.2"));
+        }
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet452", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet452", java.util.Optional.empty());
-        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452"));
         wine.wizard(wizard);
-        wine.dotnet452();
+
+        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet452"));
+
+        new DotNET452(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET452;
 
@@ -110,7 +117,7 @@

Source: Engines/Wine/Verbs/dotnet452/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html index 1dc8d8ccc2..901ca6825a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html @@ -29,79 +29,99 @@

Source: Engines/Wine/Verbs/dotnet45/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-include("engines.wine.verbs.dotnet40");
+const RemoveMono = include("engines.wine.verbs.remove_mono");
+const DotNET40 = include("engines.wine.verbs.dotnet40");
 
 /**
  * Verb to install .NET 4.5
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet45 = function () {
-    if (this.architecture() == "amd64") {
-        print(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet45"));
+class DotNET45 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
+        const architecture = this.wine.architecture();
+
+        if (architecture == "amd64") {
+            print(
+                tr(
+                    "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.",
+                    "dotnet45"
+                )
+            );
+        }
 
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe")
-        .checksum("b2ff712ca0947040ca0b8e9bd7436a3c3524bb5d")
-        .name("dotnetfx45_full_x86_x64.exe")
-        .get();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "http://download.microsoft.com/download/b/a/4/ba4a7e71-2906-4b2d-a0e1-80cf16844f5f/dotnetfx45_full_x86_x64.exe"
+            )
+            .checksum("b2ff712ca0947040ca0b8e9bd7436a3c3524bb5d")
+            .name("dotnetfx45_full_x86_x64.exe")
+            .get();
 
-    this.removeMono();
+        new RemoveMono(this.wine).go();
 
-    this.dotnet40();
-    this.windowsVersion("win7");
+        new DotNET40(this.wine).go();
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        this.wine.windowsVersion("win7");
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5"));
-    this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true);
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.5"));
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true);
 
-    this.windowsVersion(osVersion);
+        wizard.wait(tr("Please wait..."));
 
-    if (osVersion != "win2003") {
-        print(tr("{0} applications can have issues when windows version is not set to \"win2003\"", ".NET 4.5"));
-    }
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
 
-    return this;
-};
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
 
-/**
- * Verb to install .NET 4.5
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet45Verb {
-    constructor() {
-        // do nothing
+        this.wine.windowsVersion(windowsVersion);
+
+        if (windowsVersion != "win2003") {
+            print(tr('{0} applications can have issues when windows version is not set to "win2003"', ".NET 4.5"));
+        }
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet45", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet45", java.util.Optional.empty());
+        wine.wizard(wizard);
+
         if (wine.architecture() == "amd64") {
-            wizard.message(tr("This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", "dotnet45"));
+            wizard.message(
+                tr(
+                    "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.",
+                    "dotnet45"
+                )
+            );
         }
-        wine.wizard(wizard);
-        wine.dotnet45();
+
+        new DotNET45(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET45;
 
@@ -112,7 +132,7 @@

Source: Engines/Wine/Verbs/dotnet45/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet461_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet461_script.js.html index 399676fd66..0b6b61205c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet461_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet461_script.js.html @@ -29,73 +29,80 @@

Source: Engines/Wine/Verbs/dotnet461/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-include("engines.wine.verbs.dotnet46");
-
+const RemoveMono = include("engines.wine.verbs.remove_mono");
+const DotNET46 = include("engines.wine.verbs.dotnet46");
 
 /**
  * Verb to install .NET 4.6.1
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet461 = function () {
-    print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461"));
+class DotNET461 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
 
-    var setupFile = new Resource()
-        .wizard(this._wizard)
-        .url("https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe")
-        .checksum("83d048d171ff44a3cad9b422137656f585295866")
-        .name("NDP461-KB3102436-x86-x64-AllOS-ENU.exe")
-        .get();
+        print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461"));
 
-    this.removeMono();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/E/4/1/E4173890-A24A-4936-9FC9-AF930FE3FA40/NDP461-KB3102436-x86-x64-AllOS-ENU.exe"
+            )
+            .checksum("83d048d171ff44a3cad9b422137656f585295866")
+            .name("NDP461-KB3102436-x86-x64-AllOS-ENU.exe")
+            .get();
 
-    this.dotnet46();
-    this.windowsVersion("win7");
+        new RemoveMono(this.wine).go();
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        new DotNET46(this.wine).go();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.1"));
-    this.run(setupFile, [setupFile, "/q", "/norestart"], null, false, true);
+        this.wine.windowsVersion("win7");
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.1"));
 
-    this.windowsVersion(osVersion);
+        this.wine.run(setupFile, [setupFile, "/q", "/norestart"], null, false, true);
 
-    return this;
-};
+        wizard.wait(tr("Please wait..."));
 
-/**
- * Verb to install .NET 4.6.1
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet461Verb {
-    constructor() {
-        // do nothing
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
+
+        this.wine.windowsVersion(windowsVersion);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet461", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet461", java.util.Optional.empty());
-        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461"));
         wine.wizard(wizard);
-        wine.dotnet461();
+
+        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet461"));
+
+        new DotNET461(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET461;
 
@@ -106,7 +113,7 @@

Source: Engines/Wine/Verbs/dotnet461/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet462_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet462_script.js.html index 429c2c4229..1f4e986ff4 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet462_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet462_script.js.html @@ -29,73 +29,80 @@

Source: Engines/Wine/Verbs/dotnet462/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-include("engines.wine.verbs.dotnet461");
-
+const RemoveMono = include("engines.wine.verbs.remove_mono");
+const DotNET461 = include("engines.wine.verbs.dotnet461");
 
 /**
  * Verb to install .NET 4.6.2
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet462 = function () {
-    print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462"));
+class DotNET462 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
 
-    var setupFile = new Resource()
-        .wizard(this._wizard)
-        .url("https://download.microsoft.com/download/F/9/4/F942F07D-F26F-4F30-B4E3-EBD54FABA377/NDP462-KB3151800-x86-x64-AllOS-ENU.exe")
-        .checksum("a70f856bda33d45ad0a8ad035f73092441715431")
-        .name("NDP462-KB3151800-x86-x64-AllOS-ENU.exe")
-        .get();
+        print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462"));
 
-    this.removeMono();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/F/9/4/F942F07D-F26F-4F30-B4E3-EBD54FABA377/NDP462-KB3151800-x86-x64-AllOS-ENU.exe"
+            )
+            .checksum("a70f856bda33d45ad0a8ad035f73092441715431")
+            .name("NDP462-KB3151800-x86-x64-AllOS-ENU.exe")
+            .get();
 
-    this.dotnet461();
-    this.windowsVersion("win7");
+        new RemoveMono(this.wine).go();
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        new DotNET461(this.wine).go();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.2"));
-    this.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true);
+        this.wine.windowsVersion("win7");
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6.2"));
 
-    this.windowsVersion(osVersion);
+        this.wine.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true);
 
-    return this;
-};
+        wizard.wait(tr("Please wait..."));
 
-/**
- * Verb to install .NET 4.6.2
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet462Verb {
-    constructor() {
-        // do nothing
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
+
+        this.wine.windowsVersion(windowsVersion);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet462", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet462", java.util.Optional.empty());
-        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462"));
         wine.wizard(wizard);
-        wine.dotnet462();
+
+        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet462"));
+
+        new DotNET462(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET462;
 
@@ -106,7 +113,7 @@

Source: Engines/Wine/Verbs/dotnet462/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet46_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet46_script.js.html index cd4fdea7e2..b188b5122c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet46_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet46_script.js.html @@ -29,72 +29,80 @@

Source: Engines/Wine/Verbs/dotnet46/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-include("engines.wine.verbs.dotnet45");
+const RemoveMono = include("engines.wine.verbs.remove_mono");
+const DotNET45 = include("engines.wine.verbs.dotnet45");
 
 /**
  * Verb to install .NET 4.6
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet46 = function () {
-    print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46"));
+class DotNET46 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
 
-    var setupFile = new Resource()
-        .wizard(this._wizard)
-        .url("https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe")
-        .checksum("3049a85843eaf65e89e2336d5fe6e85e416797be")
-        .name("NDP46-KB3045557-x86-x64-AllOS-ENU.exe")
-        .get();
+        print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46"));
 
-    this.removeMono();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe"
+            )
+            .checksum("3049a85843eaf65e89e2336d5fe6e85e416797be")
+            .name("NDP46-KB3045557-x86-x64-AllOS-ENU.exe")
+            .get();
 
-    this.dotnet45();
-    this.windowsVersion("win7");
+        new RemoveMono(this.wine).go();
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        new DotNET45(this.wine).go();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6"));
-    this.run(setupFile, [setupFile, "/q", "/c:\"install.exe /q\""], null, false, true);
+        this.wine.windowsVersion("win7");
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.6"));
 
-    this.windowsVersion(osVersion);
+        this.wine.run(setupFile, [setupFile, "/q", '/c:"install.exe /q"'], null, false, true);
 
-    return this;
-};
+        wizard.wait(tr("Please wait..."));
 
-/**
- * Verb to install .NET 4.6
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet46Verb {
-    constructor() {
-        // do nothing
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
+
+        this.wine.windowsVersion(windowsVersion);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet46", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet46", java.util.Optional.empty());
-        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46"));
         wine.wizard(wizard);
-        wine.dotnet46();
+
+        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet46"));
+
+        new DotNET46(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET46;
 
@@ -105,7 +113,7 @@

Source: Engines/Wine/Verbs/dotnet46/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_dotnet472_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_dotnet472_script.js.html index e9caf76d76..6b22287966 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet472_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet472_script.js.html @@ -29,73 +29,80 @@

Source: Engines/Wine/Verbs/dotnet472/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.windows_version");
 include("engines.wine.plugins.regedit");
-include("engines.wine.verbs.remove_mono");
-include("engines.wine.verbs.dotnet462");
-
+const RemoveMono = include("engines.wine.verbs.remove_mono");
+const DotNET462 = include("engines.wine.verbs.dotnet462");
 
 /**
  * Verb to install .NET 4.7.2
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.dotnet472 = function () {
-    print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472"));
+class DotNET472 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    var osVersion = this.windowsVersion();
+    go() {
+        const wizard = this.wine.wizard();
+        const windowsVersion = this.wine.windowsVersion();
 
-    var setupFile = new Resource()
-        .wizard(this._wizard)
-        .url("https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe")
-        .checksum("31fc0d305a6f651c9e892c98eb10997ae885eb1e")
-        .name("NDP472-KB4054530-x86-x64-AllOS-ENU.exe")
-        .get();
+        print(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472"));
 
-    this.removeMono();
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/6/E/4/6E48E8AB-DC00-419E-9704-06DD46E5F81D/NDP472-KB4054530-x86-x64-AllOS-ENU.exe"
+            )
+            .checksum("31fc0d305a6f651c9e892c98eb10997ae885eb1e")
+            .name("NDP472-KB4054530-x86-x64-AllOS-ENU.exe")
+            .get();
 
-    this.dotnet462();
-    this.windowsVersion("win7");
+        new RemoveMono(this.wine).go();
 
-    this.overrideDLL()
-        .set("builtin", ["fusion"])
-        .do();
+        new DotNET462(this.wine).go();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", ".NET Framework 4.7.2"));
-    this.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true);
+        this.wine.windowsVersion("win7");
 
-    this.wizard().wait(tr("Please wait..."));
-    this.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+        this.wine
+            .overrideDLL()
+            .set("builtin", ["fusion"])
+            .do();
 
-    this.overrideDLL()
-        .set("native", ["mscoree"])
-        .do();
+        wizard.wait(tr("Please wait while {0} is installed...", ".NET Framework 4.7.2"));
 
-    this.windowsVersion(osVersion);
+        this.wine.run(setupFile, [setupFile, "/sfxlang:1027", "/q", "/norestart"], null, false, true);
 
-    return this;
-};
+        wizard.wait(tr("Please wait..."));
 
-/**
- * Verb to install .NET 4.7.2
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Dotnet472Verb {
-    constructor() {
-        // do nothing
+        this.wine.regedit().deleteValue("HKCU\\Software\\Wine\\DllOverrides", "*fusion");
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["mscoree"])
+            .do();
+
+        this.wine.windowsVersion(windowsVersion);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "dotnet472", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "dotnet472", java.util.Optional.empty());
-        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472"));
         wine.wizard(wizard);
-        wine.dotnet472();
+
+        wizard.message(tr("This package ({0}) does not work currently. Use it only for testing!", "dotnet472"));
+
+        new DotNET472(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = DotNET472;
 
@@ -106,7 +113,7 @@

Source: Engines/Wine/Verbs/dotnet472/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_gallium9_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_gallium9_script.js.html index e1f0044377..789f0bfab7 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_gallium9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_gallium9_script.js.html @@ -28,106 +28,117 @@

Source: Engines/Wine/Verbs/gallium9/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {Extractor} = include("utils.functions.filesystem.extract");
-const {remove, lns} = include("utils.functions.filesystem.files");
+const { Extractor } = include("utils.functions.filesystem.extract");
+const { remove, lns } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install Gallium 9 Standalone
  * see: https://github.com/iXit/wine-nine-standalone/
- *
- * @param {String} gallium9Version Gallium 9 Standalone version to download
- * @returns {Wine} Wine object
  */
-Wine.prototype.gallium9 = function (gallium9Version) {
-    if (typeof gallium9Version !== "string") {
-        gallium9Version = "0.4";
+class Gallium9 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    this.wizard().message(
-        tr(
-            "Using Gallium 9 requires to have a driver supporting the Gallium 9 state tracker, as well as d3dapater9.so installed (ex: libd3d9adapter-mesa package). Please be sure it is installed (both 32 and 64 bits)."
-        )
-    );
-
-    const setupFile = new Resource()
-        .wizard(this.wizard())
-        .url(
-            "https://github.com/iXit/wine-nine-standalone/releases/download/v" +
-                gallium9Version +
-                "/gallium-nine-standalone-v" +
-                gallium9Version +
-                ".tar.gz"
-        )
-        .name("gallium-nine-standalone-v" + gallium9Version + ".tar.gz")
-        .get();
-
-    new Extractor()
-        .wizard(this.wizard())
-        .archive(setupFile)
-        .to(this.prefixDirectory())
-        .extract();
-
-    remove(this.system32directory() + "/d3d9.dll");
-    lns(
-        this.prefixDirectory() + "/gallium-nine-standalone/lib32/d3d9-nine.dll.so",
-        this.system32directory() + "/d3d9-nine.dll"
-    );
-    lns(
-        this.prefixDirectory() + "/gallium-nine-standalone/bin32/ninewinecfg.exe.so",
-        this.system32directory() + "/ninewinecfg.exe"
-    );
-    lns(this.system32directory() + "/d3d9-nine.dll", this.system32directory() + "/d3d9.dll");
-
-    if (this.architecture() == "amd64") {
-        remove(this.system64directory() + "/d3d9.dll");
-        lns(
-            this.prefixDirectory() + "/gallium-nine-standalone/lib64/d3d9-nine.dll.so",
-            this.system64directory() + "/d3d9-nine.dll"
-        );
-        lns(
-            this.prefixDirectory() + "/gallium-nine-standalone/bin64/ninewinecfg.exe.so",
-            this.system64directory() + "/ninewinecfg.exe"
-        );
-        lns(this.system64directory() + "/d3d9-nine.dll", this.system64directory() + "/d3d9.dll");
+    /**
+     * Sets the used gallium9 version
+     *
+     * @param {string} gallium9Version The Gallium 9 Standalone version to download
+     * @returns {Gallium9} The Gallium9 object
+     */
+    withVersion(gallium9Version) {
+        this.gallium9Version = gallium9Version;
 
-        this.run(this.system64directory() + "ninewinecfg.exe", ["-e"], null, false, true);
-    } else {
-        this.run(this.system32directory() + "ninewinecfg.exe", ["-e"], null, false, true);
+        return this;
     }
 
-    this.overrideDLL()
-        .set("native", ["d3d9"])
-        .do();
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
 
-    return this;
-};
+        if (typeof this.gallium9Version !== "string") {
+            this.gallium9Version = "0.4";
+        }
 
-/**
- * Verb to install Gallium 9 Standalone
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Gallium9Verb {
-    constructor() {
-        // do nothing
+        wizard.message(
+            tr(
+                "Using Gallium 9 requires to have a driver supporting the Gallium 9 state tracker, as well as d3dapater9.so installed (ex: libd3d9adapter-mesa package). Please be sure it is installed (both 32 and 64 bits)."
+            )
+        );
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                `https://github.com/iXit/wine-nine-standalone/releases/download/v${this.gallium9Version}/gallium-nine-standalone-v${this.gallium9Version}.tar.gz`
+            )
+            .name(`gallium-nine-standalone-v${this.gallium9Version}.tar.gz`)
+            .get();
+
+        new Extractor()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(prefixDirectory)
+            .extract();
+
+        remove(`${system32directory}/d3d9.dll`);
+
+        lns(`${prefixDirectory}/gallium-nine-standalone/lib32/d3d9-nine.dll.so`, `${system32directory}/d3d9-nine.dll`);
+        lns(
+            `${prefixDirectory}/gallium-nine-standalone/bin32/ninewinecfg.exe.so`,
+            `${system32directory}/ninewinecfg.exe`
+        );
+        lns(`${system32directory}/d3d9-nine.dll`, `${system32directory}/d3d9.dll`);
+
+        if (this.wine.architecture() == "amd64") {
+            const system64directory = this.wine.system64directory();
+
+            remove(`${system64directory}/d3d9.dll`);
+
+            lns(
+                `${prefixDirectory}/gallium-nine-standalone/lib64/d3d9-nine.dll.so`,
+                `${system64directory}/d3d9-nine.dll`
+            );
+            lns(
+                `${prefixDirectory}/gallium-nine-standalone/bin64/ninewinecfg.exe.so`,
+                `${system64directory}/ninewinecfg.exe`
+            );
+            lns(`${system64directory}/d3d9-nine.dll`, `${system64directory}/d3d9.dll`);
+
+            this.wine.run(`${system64directory}ninewinecfg.exe`, ["-e"], null, false, true);
+        } else {
+            this.wine.run(`${system32directory}ninewinecfg.exe`, ["-e"], null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["d3d9"])
+            .do();
     }
 
-    install(container) {
-        const wizard = SetupWizard(InstallationType.VERBS, "gallium9", java.util.Optional.empty());
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "gallium9", Optional.empty());
+
         const versions = ["0.4", "0.3", "0.2"];
 
         const selectedVersion = wizard.menu(tr("Please select the version."), versions, "0.4");
 
-        const wine = new Wine();
         wine.prefix(container);
         wine.wizard(wizard);
+
         // install selected version
-        wine.gallium9(selectedVersion.text);
+        new Gallium9(wine).withVersion(selectedVersion.text).go();
 
         wizard.close();
     }
 }
+
+module.default = Gallium9;
 
@@ -138,7 +149,7 @@

Source: Engines/Wine/Verbs/gallium9/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html index 4164cb4f76..11637119ad 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html @@ -28,53 +28,85 @@

Source: Engines/Wine/Verbs/gdiplus/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {cp} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { cp, remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install gdiplus
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.gdiplus = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe")
-        .checksum("b9a84bc3de92863bba1f5eb1d598446567fbc646")
-        .name("WindowsXP-KB975337-x86-ENU.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "GDI+"));
-    this.run(setupFile, ["/extract:C:\\Tmp", "/q"], null, true, true);
-
-    this.overrideDLL()
-        .set("native", ["gdiplus"])
-        .do();
-
-    cp(this.prefixDirectory() + "/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll", this.system32directory());
-
-    return this;
-};
+class GDIPlus {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install gdiplus
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class GdiplusVerb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+        const architecture = this.wine.architecture();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe")
+            .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
+            .name("windows6.1-KB976932-X86.exe")
+            .get();
+      
+        new CabExtract()
+            .archive(setupFile)
+	    .wizard(wizard)
+            .to(`${prefixDirectory}/drive_c/gdiplus/`)
+            .extract(["-L", "-F", "x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll"]);
+		
+        cp(`${prefixDirectory}/drive_c/gdiplus/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll`, system32directory);
+	
+        if (architecture == "amd64") {
+	    const system64directory = this.wine.system64directory();
+
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe")
+                .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
+                .name("windows6.1-KB976932-X64.exe")
+                .get();
+			
+            new CabExtract()
+                .archive(setupFile64)
+		.wizard(wizard)
+                .to(`${prefixDirectory}/drive_c/gdiplus/`)
+                .extract(["-L", "-F", "amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a/gdiplus.dll"]);
+		
+            cp(`${prefixDirectory}/drive_c/gdiplus/amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_2b24536c71ed437a/gdiplus.dll`, system64directory);
+        }
+
+        remove(`${prefixDirectory}/drive_c/gdiplus/`);
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["gdiplus"])
+            .do();
+
+        cp(`${prefixDirectory}/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll`, system32directory);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "gdiplus", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "gdiplus", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.gdiplus();
+
+        new GDIPlus(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = GDIPlus;
 
@@ -85,7 +117,7 @@

Source: Engines/Wine/Verbs/gdiplus/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_gdiplus_winxp_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_gdiplus_winxp_script.js.html new file mode 100644 index 0000000000..1d6fbcb277 --- /dev/null +++ b/docs/jsdoc/Engines_Wine_Verbs_gdiplus_winxp_script.js.html @@ -0,0 +1,119 @@ + + + + + JSDoc: Source: Engines/Wine/Verbs/gdiplus_winxp/script.js + + + + + + + + + + +
+ +

Source: Engines/Wine/Verbs/gdiplus_winxp/script.js

+ + + + + + +
+
+
const Wine = include("engines.wine.engine.object");
+const Resource = include("utils.functions.net.resource");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove, cat, writeToFile } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
+
+include("engines.wine.plugins.override_dll");
+
+/**
+ * Verb to install gdiplus (windows xp)
+ *
+ * @returns {Wine} Wine object
+ */
+class GDIPlusWinXP {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("https://download.microsoft.com/download/1/4/6/1467c2ba-4d1f-43ad-8d9b-3e8bc1c6ac3d/NDP1.0sp2-KB830348-X86-Enu.exe")
+            .checksum("6113cd89d77525958295ccbd73b5fb8b89abd0aa")
+            .name("NDP1.0sp2-KB830348-X86-Enu.exe")
+            .get();
+			
+        new CabExtract()
+            .archive(setupFile)
+	    .wizard(wizard)
+            .to(`${prefixDirectory}/drive_c/gdiplus/`)
+            .extract(["-F", "FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8"]);
+      
+        new CabExtract()
+            .archive(setupFile)
+	    .wizard(wizard)
+            .to(`${prefixDirectory}/drive_c/gdiplus/`)
+            .extract(["-L", "-F", "x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.17514_none_72d18a4386696c80/gdiplus.dll"]);
+			
+        const content = cat(`${prefixDirectory}/drive_c/gdiplus/drive_c/gdiplus/FL_gdiplus_dll_____X86.3643236F_FC70_11D3_A536_0090278A1BB8`);
+        writeToFile(`${system32directory}/gdiplus.dll`, content);
+		
+        remove(`${prefixDirectory}/drive_c/gdiplus/`);
+
+        this.wine
+            .overrideDLL()
+            .set("native", ["gdiplus"])
+            .do();
+    }
+
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "gdiplus (windows xp)", Optional.empty());
+
+        wine.prefix(container);
+        wine.wizard(wizard);
+
+        new GDIPlusWinXP(wine).go();
+
+        wizard.close();
+    }
+}
+
+module.default = GDIPlusWindowsXP;
+
+
+
+ + + + +
+ + + +
+ + + + + + + diff --git a/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html index e5b423969d..a3ab6e3c1c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html @@ -28,57 +28,59 @@

Source: Engines/Wine/Verbs/luna/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {mkdir, cp} = include("utils.functions.filesystem.files");
+const { mkdir, cp } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.regedit");
 
 /**
  * Verb to install luna
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.luna = function () {
-    var lunaStyle = new Resource()
-        .wizard(this.wizard())
-        .url("https://repository.playonlinux.com/divers/luna.msstyles")
-        .checksum("50a71767f90c1d3d86ca188a84393f2d39664311")
-        .name("luna.msstyles")
-        .get();
+class Luna {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    var lunaReg = new Resource()
-        .wizard(this.wizard())
-        .url("https://repository.playonlinux.com/divers/luna.reg")
-        .checksum("074e655d391ae87527f4cc50ba822a8aad83a09f")
-        .name("luna.reg")
-        .get();
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
 
+        const lunaStyle = new Resource()
+            .wizard(wizard)
+            .url("https://repository.playonlinux.com/divers/luna.msstyles")
+            .checksum("50a71767f90c1d3d86ca188a84393f2d39664311")
+            .name("luna.msstyles")
+            .get();
 
-    mkdir(this.prefixDirectory() + "/drive_c/windows/Resources/Themes/luna/");
-    cp(lunaStyle, this.prefixDirectory() + "/drive_c/windows/Resources/Themes/luna/");
+        const lunaReg = new Resource()
+            .wizard(wizard)
+            .url("https://repository.playonlinux.com/divers/luna.reg")
+            .checksum("074e655d391ae87527f4cc50ba822a8aad83a09f")
+            .name("luna.reg")
+            .get();
 
-    this.regedit().open(lunaReg);
+        mkdir(`${prefixDirectory}/drive_c/windows/Resources/Themes/luna/`);
 
-    return this;
-};
+        cp(lunaStyle, `${prefixDirectory}/drive_c/windows/Resources/Themes/luna/`);
 
-/**
- * Verb to install luna
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class LunaVerb {
-    constructor() {
-        // do nothing
+        this.wine.regedit().open(lunaReg);
     }
 
-    install(container) {
+    static install(container) {
         var wine = new Wine();
+        var wizard = SetupWizard(InstallationType.VERBS, "luna", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "luna", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.luna();
+
+        new Luna(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Luna;
 
@@ -89,7 +91,7 @@

Source: Engines/Wine/Verbs/luna/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_mfc42_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_mfc42_script.js.html index 59448da5d2..10e1db25d8 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_mfc42_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_mfc42_script.js.html @@ -28,64 +28,67 @@

Source: Engines/Wine/Verbs/mfc42/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install mfc42.dll and mfc42u.dll
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.mfc42 = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe")
-        .checksum("a8c4dd33e281c166488846a10edf97ff0ce37044")
-        .name("VC6RedistSetup_deu.exe")
-        .get();
-
-    remove(this.system32directory() + "/mfc42.dll");
-    remove(this.system32directory() + "/mfc42u.dll");
-
-    new CabExtract()
-        .archive(setupFile)
-        .wizard(this.wizard())
-        .to(this.system32directory())
-        .extract();
-
-    new CabExtract()
-        .archive(this.system32directory() + "/vcredist.exe")
-        .wizard(this.wizard())
-        .to(this.system32directory())
-        .extract(['-F', 'mfc42*.dll']);
-
-    this.overrideDLL()
-        .set("native, builtin", ["mfc42", "mfc42u"])
-        .do();
-
-    return this;
-};
+class Mfc42 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install mfc42.dll and mfc42u.dll
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Mfc42Verb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe")
+            .checksum("a8c4dd33e281c166488846a10edf97ff0ce37044")
+            .name("VC6RedistSetup_deu.exe")
+            .get();
+
+        remove(`${system32directory}/mfc42.dll`);
+        remove(`${system32directory}/mfc42u.dll`);
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(system32directory)
+            .extract();
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(`${system32directory}/vcredist.exe`)
+            .to(system32directory)
+            .extract(["-F", "mfc42*.dll"]);
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["mfc42", "mfc42u"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "mfc42", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "mfc42", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.mfc42();
+
+        new Mfc42(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Mfc42;
 
@@ -96,7 +99,7 @@

Source: Engines/Wine/Verbs/mfc42/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_msls31_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_msls31_script.js.html index 037504fc76..054bf2685f 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_msls31_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_msls31_script.js.html @@ -28,51 +28,53 @@

Source: Engines/Wine/Verbs/msls31/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 /**
  * Verb to install msls31.dll
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.msls31 = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("ftp://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe")
-        .checksum("4fc3bf0dc96b5cf5ab26430fac1c33c5c50bd142")
-        .name("InstMsiW.exe")
-        .get();
+class Msls31 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    remove(this.system32directory() + "/msls31.dll");
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
 
-    new CabExtract()
-        .archive(setupFile)
-        .wizard(this.wizard())
-        .to(this.system32directory())
-        .extract(["-F", "msls31.dll"]);
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("ftp://ftp.hp.com/pub/softlib/software/msi/InstMsiW.exe")
+            .checksum("4fc3bf0dc96b5cf5ab26430fac1c33c5c50bd142")
+            .name("InstMsiW.exe")
+            .get();
 
-    return this;
-};
+        remove(`${system32directory}/msls31.dll`);
 
-/**
- * Verb to install msls31.dll
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Msls31Verb {
-    constructor() {
-        // do nothing
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(system32directory)
+            .extract(["-F", "msls31.dll"]);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "msls31", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "msls31", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.msls31();
+
+        new Msls31(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Msls31;
 
@@ -83,7 +85,7 @@

Source: Engines/Wine/Verbs/msls31/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_mspatcha_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_mspatcha_script.js.html index d650b139f1..1ad43e3076 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_mspatcha_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_mspatcha_script.js.html @@ -28,66 +28,71 @@

Source: Engines/Wine/Verbs/mspatcha/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install mspatcha
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.mspatcha = function () {
-    //Inspired from winetricks mspatcha, but with a link Phoenicis can understand
-    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();
-
-    remove(this.system32directory() + "/mspatcha.dll");
-
-    new CabExtract()
-        .archive(setupFile)
-        .wizard(this.wizard())
-        .to(this.system32directory())
-        .extract();
-
-    new CabExtract()
-        .archive(this.system32directory() + "/i386/mspatcha.dl_")
-        .wizard(this.wizard())
-        .to(this.system32directory())
-        .extract();
-
-    remove(this.system32directory() + "/i386/");
-
-    this.overrideDLL()
-        .set("native, builtin", ["mspatcha"])
-        .do();
-
-    return this;
-};
+class Mspatcha {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install mspatcha
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class MspatchaVerb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
+
+        //Inspired from winetricks mspatcha, but with a link Phoenicis can understand
+        const setupFile = new Resource()
+            .wizard(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();
+
+        remove(`${system32directory}/mspatcha.dll`);
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(system32directory)
+            .extract();
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(`${system32directory}/i386/mspatcha.dl_`)
+            .to(system32directory)
+            .extract();
+
+        remove(`${system32directory}/i386/`);
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["mspatcha"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "mspatcha", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "mspatcha", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.mspatcha();
+
+        new Mspatcha(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Mspatcha;
 
@@ -98,7 +103,7 @@

Source: Engines/Wine/Verbs/mspatcha/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_msxml3_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_msxml3_script.js.html index ff3037c33f..137313a0fe 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_msxml3_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_msxml3_script.js.html @@ -28,53 +28,57 @@

Source: Engines/Wine/Verbs/msxml3/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {remove} = include("utils.functions.filesystem.files");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install msxml3
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.msxml3 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("https://media.codeweavers.com/pub/other/msxml3.msi")
-        .checksum("d4c2178dfb807e1a0267fce0fd06b8d51106d913")
-        .name("msxml3.msi")
-        .get();
+class Msxml3 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    remove(this.system32directory() + "/msxml3.dll");
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
 
-    this.overrideDLL()
-        .set("native", ["msxml3"])
-        .do();
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url("https://media.codeweavers.com/pub/other/msxml3.msi")
+            .checksum("d4c2178dfb807e1a0267fce0fd06b8d51106d913")
+            .name("msxml3.msi")
+            .get();
 
-    this.wizard().wait(tr("Please wait while {0} is installed...", "msxml3"));
-    this.run(setupFile32, ["/q:a", "/c:msxml3.msi /q"], null, false, true);
+        remove(`${system32directory}/msxml3.dll`);
 
-    return this;
-};
+        this.wine
+            .overrideDLL()
+            .set("native", ["msxml3"])
+            .do();
 
-/**
- * Verb to install msxml3
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Msxml3Verb {
-    constructor() {
-        // do nothing
+        wizard.wait(tr("Please wait while {0} is installed...", "msxml3"));
+
+        this.wine.run(setupFile32, ["/q:a", "/c:msxml3.msi /q"], null, false, true);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "msxml3", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "msxml3", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.msxml3();
+
+        new Msxml3(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Msxml3;
 
@@ -85,7 +89,7 @@

Source: Engines/Wine/Verbs/msxml3/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_msxml6_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_msxml6_script.js.html index 49405b9df6..4f30a256ab 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_msxml6_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_msxml6_script.js.html @@ -28,68 +28,77 @@

Source: Engines/Wine/Verbs/msxml6/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {remove} = include("utils.functions.filesystem.files");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install msxml6
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.msxml6 = function () {
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi")
-            .checksum("ca0c0814a9c7024583edb997296aad7cb0a3cbf7")
-            .name("msxml6_x64.msi")
-            .get();
-    } else {
-        var setupFile32 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi")
-            .checksum("5125220e985b33c946bbf9f60e2b222c7570bfa2")
-            .name("msxml6_x86.msi")
-            .get();
+class Msxml6 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    remove(this.system32directory() + "/msxml6.dll");
-
-    this.overrideDLL()
-        .set("native,builtin", ["msxml6"])
-        .do();
-
-    if (this.architecture() == "amd64") {
-        remove(this.system64directory() + "/msxml6.dll")
-        this.wizard().wait(tr("Please wait while {0} is installed...", "msxml6"));
-        this.run(setupFile64, ["/q:a", "/c:msxml6_x64.msi /q"], null, false, true);
-    } else {
-        this.wizard().wait(tr("Please wait while {0} is installed...", "msxml6"));
-        this.run(setupFile32, ["/q:a", "/c:msxml6_x86.msi /q"], null, false, true);
+    go() {
+        const wizard = this.wine.wizard();
+        const system32directory = this.wine.system32directory();
+        const system64directory = this.wine.system64directory();
+
+        remove(`${system32directory}/msxml6.dll`);
+
+        this.wine
+            .overrideDLL()
+            .set("native,builtin", ["msxml6"])
+            .do();
+
+        if (this.wine.architecture() == "amd64") {
+            remove(`${system64directory}/msxml6.dll`);
+
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x64.msi"
+                )
+                .checksum("ca0c0814a9c7024583edb997296aad7cb0a3cbf7")
+                .name("msxml6_x64.msi")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", "msxml6"));
+
+            this.run(setupFile64, ["/q:a", "/c:msxml6_x64.msi /q"], null, false, true);
+        } else {
+            const setupFile32 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/e/a/f/eafb8ee7-667d-4e30-bb39-4694b5b3006f/msxml6_x86.msi"
+                )
+                .checksum("5125220e985b33c946bbf9f60e2b222c7570bfa2")
+                .name("msxml6_x86.msi")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", "msxml6"));
+
+            this.run(setupFile32, ["/q:a", "/c:msxml6_x86.msi /q"], null, false, true);
+        }
     }
 
-    return this;
-};
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "msxml6", Optional.empty());
 
-/**
- * Verb to install msxml6
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Msxml6Verb {
-    constructor() {
-        // do nothing
-    }
-
-    install(container) {
-        var wine = new Wine();
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "msxml6", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.msxml6();
+
+        new Msxml6(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Msxml6;
 
@@ -100,7 +109,7 @@

Source: Engines/Wine/Verbs/msxml6/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_quartz_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_quartz_script.js.html index 77d461c467..a40cbc287a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_quartz_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_quartz_script.js.html @@ -28,66 +28,72 @@

Source: Engines/Wine/Verbs/quartz/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 include("engines.wine.plugins.regsvr32");
 
 /**
  * Verb to install quartz
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.quartz = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe")
-        .checksum("a97c820915dc20929e84b49646ec275760012a42")
-        .name("directx_feb2010_redist.exe")
-        .get();
-
-    new CabExtract()
-        .archive(setupFile)
-        .wizard(this.wizard())
-        .to(this.prefixDirectory() + "/TMP/")
-        .extract(["-L", "-F", "dxnt.cab"]);
-
-    new CabExtract()
-        .archive(this.prefixDirectory() + "/TMP/dxnt.cab")
-        .wizard(this.wizard())
-        .to(this.system32directory())
-        .extract(["-L", "-F", "quartz.dll"]);
-
-    remove(this.prefixDirectory() + "/TMP/");
-
-    this.regsvr32().install("quartz.dll");
-
-    this.overrideDLL()
-        .set("native, builtin", ["quartz"])
-        .do()
-
-    return this;
-}
+class Quartz {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install quartz
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class QuartzVerb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+
+        var setupFile = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe"
+            )
+            .checksum("a97c820915dc20929e84b49646ec275760012a42")
+            .name("directx_feb2010_redist.exe")
+            .get();
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(setupFile)
+            .to(`${prefixDirectory}/TMP/`)
+            .extract(["-L", "-F", "dxnt.cab"]);
+
+        new CabExtract()
+            .wizard(wizard)
+            .archive(`${prefixDirectory}/TMP/dxnt.cab`)
+            .to(system32directory)
+            .extract(["-L", "-F", "quartz.dll"]);
+
+        remove(`${prefixDirectory}/TMP/`);
+
+        this.wine.regsvr32().install("quartz.dll");
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["quartz"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "quartz", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "quartz", java.util.Optional.empty());
         wine.wizard(wizard);
+
         wine.quartz();
+
         wizard.close();
     }
 }
+
+module.default = Quartz;
 
@@ -98,7 +104,7 @@

Source: Engines/Wine/Verbs/quartz/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_sandbox_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_sandbox_script.js.html index dd38ff463f..8c5e882147 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_sandbox_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_sandbox_script.js.html @@ -27,44 +27,47 @@

Source: Engines/Wine/Verbs/sandbox/script.js

const Wine = include("engines.wine.engine.object");
-const {remove, lns} = include("utils.functions.filesystem.files");
+const { remove, lns } = include("utils.functions.filesystem.files");
+
+const propertyReader = Bean("propertyReader");
+
+const Optional = Java.type("java.util.Optional");
 
 /**
  * Verb to install a sandbox
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.sandbox = function () {
-    var tmp = Bean("propertyReader").getProperty("application.user.tmp");
-    var resources = Bean("propertyReader").getProperty("application.user.resources");
+class Sandbox {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-    remove(this.prefixDirectory() + "/dosdevices/z:");
-    remove(this.prefixDirectory() + "/dosdevices/y:");
+    go() {
+        const prefixDirectory = this.wine.prefixDirectory();
 
-    lns(tmp, this.prefixDirectory() + "/dosdevices/z:");
-    lns(resources, this.prefixDirectory() + "/dosdevices/y:");
+        const tmp = propertyReader.getProperty("application.user.tmp");
+        const resources = propertyReader.getProperty("application.user.resources");
 
-    return this;
-};
+        remove(`${prefixDirectory}/dosdevices/z:`);
+        remove(`${prefixDirectory}/dosdevices/y:`);
 
-/**
- * Verb to install a sandbox
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class SandboxVerb {
-    constructor() {
-        // do nothing
+        lns(tmp, `${prefixDirectory}/dosdevices/z:`);
+        lns(resources, `${prefixDirectory}/dosdevices/y:`);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "sandbox", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "sandbox", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.sandbox();
+
+        new Sandbox(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Sandbox;
 
@@ -75,7 +78,7 @@

Source: Engines/Wine/Verbs/sandbox/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html index 9e44bad6ba..b713e2719f 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html @@ -28,78 +28,103 @@

Source: Engines/Wine/Verbs/secur32/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {cp, remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { cp, remove } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install secur32
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.secur32 = function () {
-    var setupFilex86 = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe")
-        .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
-        .name("windows6.1-KB976932-X86.exe")
-        .get();
-
-    new CabExtract()
-        .archive(setupFilex86)
-        .wizard(this.wizard())
-        .to(this.prefixDirectory() + "/TMP/")
-        .extract(["-L", "-F", "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll"]);
-
-    cp(this.prefixDirectory() + "/TMP/" + "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll", this.system32directory());
-
-    remove(this.prefixDirectory() + "/TMP/");
-
-    if (this.architecture() == "amd64") {
-        var setupFilex64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe")
-            .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
-            .name("windows6.1-KB976932-X64.exe")
+class Secur32 {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+        const architecture = this.wine.architecture();
+
+        const setupFilex86 = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe"
+            )
+            .checksum("c3516bc5c9e69fee6d9ac4f981f5b95977a8a2fa")
+            .name("windows6.1-KB976932-X86.exe")
             .get();
 
         new CabExtract()
-            .archive(setupFilex64)
-            .wizard(this.wizard())
-            .to(this.prefixDirectory() + "/TMP/")
-            .extract(["-L", "-F", "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll"]);
-
-        cp(this.prefixDirectory() + "/TMP/" + "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll", this.system64directory());
-
-        remove(this.prefixDirectory() + "/TMP/");
+            .wizard(wizard)
+            .archive(setupFilex86)
+            .to(`${prefixDirectory}/TMP/`)
+            .extract([
+                "-L",
+                "-F",
+                "x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll"
+            ]);
+
+        cp(
+            `${prefixDirectory}/TMP/x86_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_a851f4adbb0d5141/secur32.dll`,
+            system32directory
+        );
+
+        remove(`${prefixDirectory}/TMP/`);
+
+        if (architecture == "amd64") {
+            const system64directory = this.wine.system64directory();
+
+            const setupFilex64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe"
+                )
+                .checksum("74865ef2562006e51d7f9333b4a8d45b7a749dab")
+                .name("windows6.1-KB976932-X64.exe")
+                .get();
+
+            new CabExtract()
+                .wizard(wizard)
+                .archive(setupFilex64)
+                .to(`${prefixDirectory}/TMP/`)
+                .extract([
+                    "-L",
+                    "-F",
+                    "amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll"
+                ]);
+
+            cp(
+                `${prefixDirectory}/TMP/amd64_microsoft-windows-lsa_31bf3856ad364e35_6.1.7601.17514_none_04709031736ac277/secur32.dll`,
+                system64directory
+            );
+
+            remove(`${prefixDirectory}/TMP/`);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["secur32"])
+            .do();
     }
 
-    this.overrideDLL()
-        .set("native, builtin", ["secur32"])
-        .do()
-
-    return this;
-}
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "secur32", Optional.empty());
 
-/**
- * Verb to install secur32
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Secur32Verb {
-    constructor() {
-        // do nothing
-    }
-
-    install(container) {
-        var wine = new Wine();
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "secur32", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.secur32();
+
+        new Secur32(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Secur32;
 
@@ -110,7 +135,7 @@

Source: Engines/Wine/Verbs/secur32/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2003_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2003_script.js.html index 11d617f96d..2927ae1048 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2003_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2003_script.js.html @@ -30,54 +30,51 @@

Source: Engines/Wine/Verbs/vcrun2003/script.js

const Resource = include("utils.functions.net.resource"); const { cp } = include("utils.functions.filesystem.files"); -include("engines.wine.verbs.luna"); +const Optional = Java.type("java.util.Optional"); /** * Verb to install vcrun2003 - * - * @returns {Wine} Wine object */ -Wine.prototype.vcrun2003 = function () { - const setupFile = new Resource() - .wizard(this.wizard()) - .url("https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe") - .checksum("bdd1b32c4202fd77e6513fd507c8236888b09121") - .name("BZEditW32_1.6.5.exe") - .get(); +class Vcrun2003 { + constructor(wine) { + this.wine = wine; + } - this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2003 Redistributable (x86)")); - this.run(setupFile, "/S", null, false, true); + go() { + const wizard = this.wine.wizard(); + const programFiles = this.wine.programFiles(); + const system32directory = this.wine.system32directory(); - const dlls = ["msvcp71", "mfc71"]; + const setupFile = new Resource() + .wizard(wizard) + .url("https://sourceforge.net/projects/bzflag/files/bzedit%20win32/1.6.5/BZEditW32_1.6.5.exe") + .checksum("bdd1b32c4202fd77e6513fd507c8236888b09121") + .name("BZEditW32_1.6.5.exe") + .get(); - dlls.forEach(dll => { - cp(this.programFiles() + "/BZEdit1.6.5/" + dll, this.system32directory()); - }); + wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2003 Redistributable (x86)")); - return this; -}; + this.wine.run(setupFile, "/S", null, false, true); -/** - * Verb to install vcrun2003 - */ -module.default = class Vcrun2003Verb { - constructor() { - // do nothing + ["msvcp71", "mfc71"].forEach(dll => { + cp(`${programFiles}/BZEdit1.6.5/${dll}`, system32directory); + }); } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "vcrun2003", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "vcrun2003", java.util.Optional.empty()); - wine.wizard(wizard); - wine.vcrun2003(); + + new Vcrun2003(wine).go(); wizard.close(); } -}; +} + +module.default = Vcrun2003; @@ -88,7 +85,7 @@

Source: Engines/Wine/Verbs/vcrun2003/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2005_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2005_script.js.html index e970beb702..e1c96890e1 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2005_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2005_script.js.html @@ -29,56 +29,52 @@

Source: Engines/Wine/Verbs/vcrun2005/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2005
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2005 = function () {
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE")
-        .checksum("b8fab0bb7f62a24ddfe77b19cd9a1451abd7b847")
-        .name("vcredist_x86.EXE")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2005 Redistributable (x86)"));
-    this.run(setupFile, "/q", null, false, true);
-
-    var dlls = [
-        "atl80",
-        "msvcm80",
-        "msvcp80",
-        "msvcr80",
-        "vcomp"
-    ];
-    this.overrideDLL()
-        .set("native, builtin", dlls)
-        .do();
-
-    return this;
-};
+class Vcrun2005 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install vcrun2005
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2005Verb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url("http://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE")
+            .checksum("b8fab0bb7f62a24ddfe77b19cd9a1451abd7b847")
+            .name("vcredist_x86.EXE")
+            .get();
+
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2005 Redistributable (x86)"));
+
+        this.wine.run(setupFile, "/q", null, false, true);
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["atl80", "msvcm80", "msvcp80", "msvcr80", "vcomp"])
+            .do();
     }
 
     install(container) {
-        var wine = new Wine();
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2005", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2005", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2005();
+
+        new Vcrun2005(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2005;
 
@@ -89,7 +85,7 @@

Source: Engines/Wine/Verbs/vcrun2005/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2008_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2008_script.js.html index eee3d47125..9021170030 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2008_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2008_script.js.html @@ -29,69 +29,67 @@

Source: Engines/Wine/Verbs/vcrun2008/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2008
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2008 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe")
-        .checksum("470640aa4bb7db8e69196b5edb0010933569e98d")
-        .name("vcredist_x86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x86)"));
-    this.run(setupFile32, "/q", null, false, true);
-
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe")
-            .checksum("a7c83077b8a28d409e36316d2d7321fa0ccdb7e8")
-            .name("vcredist_x64.exe")
+class Vcrun2008 {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url("http://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x86.exe")
+            .checksum("470640aa4bb7db8e69196b5edb0010933569e98d")
+            .name("vcredist_x86.exe")
             .get();
 
-        this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x64)"));
-        this.run(setupFile64, "/q", null, false, true);
-    }
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x86)"));
 
-    var dlls = [
-        "atl90",
-        "msvcm90",
-        "msvcp90",
-        "msvcr90",
-        "vcomp90",
-    ];
-    this.overrideDLL()
-        .set("native, builtin", dlls)
-        .do();
+        this.wine.run(setupFile32, "/q", null, false, true);
 
-    return this;
-};
+        if (this.wine.architecture() == "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe"
+                )
+                .checksum("a7c83077b8a28d409e36316d2d7321fa0ccdb7e8")
+                .name("vcredist_x64.exe")
+                .get();
 
-/**
- * Verb to install vcrun2008
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2008Verb {
-    constructor() {
-        // do nothing
+            wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2008 Redistributable (x64)"));
+
+            this.wine.run(setupFile64, "/q", null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["atl90", "msvcm90", "msvcp90", "msvcr90", "vcomp90"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2008", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2008", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2008();
+
+        new Vcrun2008(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2008;
 
@@ -102,7 +100,7 @@

Source: Engines/Wine/Verbs/vcrun2008/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2010_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2010_script.js.html index 20d1ec6862..1c5d5db16e 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2010_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2010_script.js.html @@ -29,68 +29,67 @@

Source: Engines/Wine/Verbs/vcrun2010/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2010
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2010 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe")
-        .checksum("372d9c1670343d3fb252209ba210d4dc4d67d358")
-        .name("vcredist_x86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x86)"));
-    this.run(setupFile32, "/q", null, false, true);
-
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe")
-            .checksum("027d0c2749ec5eb21b031f46aee14c905206f482")
-            .name("vcredist_x64.exe")
+class Vcrun2010 {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url("http://download.microsoft.com/download/5/B/C/5BC5DBB3-652D-4DCE-B14A-475AB85EEF6E/vcredist_x86.exe")
+            .checksum("372d9c1670343d3fb252209ba210d4dc4d67d358")
+            .name("vcredist_x86.exe")
             .get();
 
-        this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x64)"));
-        this.run(setupFile64, "/q", null, false, true);
-    }
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x86)"));
 
-    var dlls = [
-        "atl100",
-        "msvcp100",
-        "msvcr100",
-        "vcomp100",
-    ];
-    this.overrideDLL()
-        .set("native, builtin", dlls)
-        .do();
+        this.wine.run(setupFile32, "/q", null, false, true);
 
-    return this;
-};
+        if (this.wine.architecture() == "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe"
+                )
+                .checksum("027d0c2749ec5eb21b031f46aee14c905206f482")
+                .name("vcredist_x64.exe")
+                .get();
 
-/**
- * Verb to install vcrun2010
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2010Verb {
-    constructor() {
-        // do nothing
+            wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2010 Redistributable (x64)"));
+
+            this.wine.run(setupFile64, "/q", null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["atl100", "msvcp100", "msvcr100", "vcomp100"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2010", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2010", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2010();
+
+        new Vcrun2010(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2010;
 
@@ -101,7 +100,7 @@

Source: Engines/Wine/Verbs/vcrun2010/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2012_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2012_script.js.html index 601c166089..b622c04c4c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2012_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2012_script.js.html @@ -29,68 +29,69 @@

Source: Engines/Wine/Verbs/vcrun2012/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2012
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2012 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe")
-        .checksum("96b377a27ac5445328cbaae210fc4f0aaa750d3f")
-        .name("vcredist_x86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x86)"));
-    this.run(setupFile32, "/q", null, false, true);
-
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe")
-            .checksum("1a5d93dddbc431ab27b1da711cd3370891542797")
-            .name("vcredist_x64")
+class Vcrun2012 {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url(
+                "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x86.exe"
+            )
+            .checksum("96b377a27ac5445328cbaae210fc4f0aaa750d3f")
+            .name("vcredist_x86.exe")
             .get();
 
-        this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x64)"));
-        this.run(setupFile64, "/q", null, false, true);
-    }
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x86)"));
 
-    var dlls = [
-        "atl110",
-        "msvcp110",
-        "msvcr110",
-        "vcomp110"
-    ];
-    this.overrideDLL()
-        .set("native, builtin", dlls)
-        .do();
+        this.wine.run(setupFile32, "/q", null, false, true);
 
-    return this;
-};
+        if (this.wine.architecture() == "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "http://download.microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/vcredist_x64.exe"
+                )
+                .checksum("1a5d93dddbc431ab27b1da711cd3370891542797")
+                .name("vcredist_x64")
+                .get();
 
-/**
- * Verb to install vcrun2012
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2012Verb {
-    constructor() {
-        // do nothing
+            wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2012 Redistributable (x64)"));
+
+            this.wine.run(setupFile64, "/q", null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["atl110", "msvcp110", "msvcr110", "vcomp110"])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2012", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2012", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2012();
+
+        new Vcrun2012(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2012;
 
@@ -101,7 +102,7 @@

Source: Engines/Wine/Verbs/vcrun2012/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2013_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2013_script.js.html index 568590a70d..67afdc305d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2013_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2013_script.js.html @@ -29,62 +29,67 @@

Source: Engines/Wine/Verbs/vcrun2013/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2013
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2013 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe")
-        .checksum("df7f0a73bfa077e483e51bfb97f5e2eceedfb6a3")
-        .name("vcredist_x86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x86)"));
-    this.run(setupFile32, "/q", null, false, true);
-
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe")
-            .checksum("8bf41ba9eef02d30635a10433817dbb6886da5a2")
-            .name("vcredist_x64.exe")
+class Vcrun2013 {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url("http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe")
+            .checksum("df7f0a73bfa077e483e51bfb97f5e2eceedfb6a3")
+            .name("vcredist_x86.exe")
             .get();
 
-        this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x64)"));
-        this.run(setupFile64, "/q", null, false, true);
-    }
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x86)"));
 
-    this.overrideDLL()
-        .set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120"])
-        .do();
+        this.wine.run(setupFile32, "/q", null, false, true);
 
-    return this;
-};
+        if (this.wine.architecture() == "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe"
+                )
+                .checksum("8bf41ba9eef02d30635a10433817dbb6886da5a2")
+                .name("vcredist_x64.exe")
+                .get();
 
-/**
- * Verb to install vcrun2013
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2013Verb {
-    constructor() {
-        // do nothing
+            wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2013 Redistributable (x64)"));
+
+            this.wine.run(setupFile64, "/q", null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", ["atl120", "msvcp120", "msvcr120", "vcomp120"])
+            .do();
     }
 
     install(container) {
-        var wine = new Wine();
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2013", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2013", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2013();
+
+        new Vcrun2013(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2013;
 
@@ -95,7 +100,7 @@

Source: Engines/Wine/Verbs/vcrun2013/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2015_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2015_script.js.html index 429cbcc543..e9656c0b5b 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2015_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2015_script.js.html @@ -29,78 +29,82 @@

Source: Engines/Wine/Verbs/vcrun2015/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2015
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2015 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe")
-        .checksum("bfb74e498c44d3a103ca3aa2831763fb417134d1")
-        .name("vc_redist.x86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x86)"));
-    this.run(setupFile32, "/q", null, false, true);
-
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe")
-            .checksum("3155cb0f146b927fcc30647c1a904cd162548c8c")
-            .name("vc_redist.x64.exe")
-            .get();
-
-        this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x64)"));
-        this.run(setupFile64, "/q", null, false, true);
+class Vcrun2015 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    var dlls = [
-        "api-ms-win-crt-conio-l1-1-0",
-        "api-ms-win-crt-heap-l1-1-0",
-        "api-ms-win-crt-locale-l1-1-0",
-        "api-ms-win-crt-math-l1-1-0",
-        "api-ms-win-crt-runtime-l1-1-0",
-        "api-ms-win-crt-stdio-l1-1-0",
-        "api-ms-win-crt-time-l1-1-0",
-        "atl140",
-        "concrt140",
-        "msvcp140",
-        "msvcr140",
-        "ucrtbase",
-        "vcomp140",
-        "vcruntime140"
-    ];
-    this.overrideDLL()
-        .set("native, builtin", dlls)
-        .do();
-
-    return this;
-};
+    go() {
+        const wizard = this.wine.wizard();
 
-/**
- * Verb to install vcrun2015
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2015Verb {
-    constructor() {
-        // do nothing
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url("https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe")
+            .checksum("bfb74e498c44d3a103ca3aa2831763fb417134d1")
+            .name("vc_redist.x86.exe")
+            .get();
+
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x86)"));
+
+        this.wine.run(setupFile32, "/q", null, false, true);
+
+        if (this.wine.architecture() == "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe"
+                )
+                .checksum("3155cb0f146b927fcc30647c1a904cd162548c8c")
+                .name("vc_redist.x64.exe")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2015 Redistributable (x64)"));
+
+            this.wine.run(setupFile64, "/q", null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", [
+                "api-ms-win-crt-conio-l1-1-0",
+                "api-ms-win-crt-heap-l1-1-0",
+                "api-ms-win-crt-locale-l1-1-0",
+                "api-ms-win-crt-math-l1-1-0",
+                "api-ms-win-crt-runtime-l1-1-0",
+                "api-ms-win-crt-stdio-l1-1-0",
+                "api-ms-win-crt-time-l1-1-0",
+                "atl140",
+                "concrt140",
+                "msvcp140",
+                "msvcr140",
+                "ucrtbase",
+                "vcomp140",
+                "vcruntime140"
+            ])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2015", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2015", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2015();
+
+        new Vcrun2015(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2015;
 
@@ -111,7 +115,7 @@

Source: Engines/Wine/Verbs/vcrun2015/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun2017_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun2017_script.js.html index 9783528ef4..3dc987112a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2017_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2017_script.js.html @@ -29,78 +29,84 @@

Source: Engines/Wine/Verbs/vcrun2017/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
+
 include("engines.wine.plugins.override_dll");
 
 /**
  * Verb to install vcrun2017
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun2017 = function () {
-    var setupFile32 = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.visualstudio.microsoft.com/download/pr/11100229/78c1e864d806e36f6035d80a0e80399e/VC_redist.x86.exe")
-        .checksum("370583c380c26064885289037380af7d8d5f4e81")
-        .name("vc_redist.x86.exe")
-        .get();
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x86)"));
-    this.run(setupFile32, "/q", null, false, true);
-
-    if (this.architecture() == "amd64") {
-        var setupFile64 = new Resource()
-            .wizard(this.wizard())
-            .url("https://download.visualstudio.microsoft.com/download/pr/11100230/15ccb3f02745c7b206ad10373cbca89b/VC_redist.x64.exe")
-            .checksum("bdb645ebaf3c91eceb1a143be6793ca57e6435c3")
-            .name("vc_redist.x64.exe")
-            .get();
-
-        this.wizard().wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x64)"));
-        this.run(setupFile64, "/q", null, false, true);
+class Vcrun2017 {
+    constructor(wine) {
+        this.wine = wine;
     }
 
-    var dlls = [
-        "api-ms-win-crt-conio-l1-1-0",
-        "api-ms-win-crt-heap-l1-1-0",
-        "api-ms-win-crt-locale-l1-1-0",
-        "api-ms-win-crt-math-l1-1-0",
-        "api-ms-win-crt-runtime-l1-1-0",
-        "api-ms-win-crt-stdio-l1-1-0",
-        "api-ms-win-crt-time-l1-1-0",
-        "atl140",
-        "concrt140",
-        "msvcp140",
-        "msvcr140",
-        "ucrtbase",
-        "vcomp140",
-        "vcruntime140"
-    ];
-    this.overrideDLL()
-        .set("native, builtin", dlls)
-        .do();
-
-    return this;
-};
+    go() {
+        const wizard = this.wine.wizard();
 
-/**
- * Verb to install vcrun2017
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun2017Verb {
-    constructor() {
-        // do nothing
+        const setupFile32 = new Resource()
+            .wizard(wizard)
+            .url(
+                "https://download.visualstudio.microsoft.com/download/pr/11100229/78c1e864d806e36f6035d80a0e80399e/VC_redist.x86.exe"
+            )
+            .checksum("370583c380c26064885289037380af7d8d5f4e81")
+            .name("vc_redist.x86.exe")
+            .get();
+
+        wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x86)"));
+
+        this.wine.run(setupFile32, "/q", null, false, true);
+
+        if (this.wine.architecture() == "amd64") {
+            const setupFile64 = new Resource()
+                .wizard(wizard)
+                .url(
+                    "https://download.visualstudio.microsoft.com/download/pr/11100230/15ccb3f02745c7b206ad10373cbca89b/VC_redist.x64.exe"
+                )
+                .checksum("bdb645ebaf3c91eceb1a143be6793ca57e6435c3")
+                .name("vc_redist.x64.exe")
+                .get();
+
+            wizard.wait(tr("Please wait while {0} is installed...", "Microsoft Visual C++ 2017 Redistributable (x64)"));
+
+            this.wine.run(setupFile64, "/q", null, false, true);
+        }
+
+        this.wine
+            .overrideDLL()
+            .set("native, builtin", [
+                "api-ms-win-crt-conio-l1-1-0",
+                "api-ms-win-crt-heap-l1-1-0",
+                "api-ms-win-crt-locale-l1-1-0",
+                "api-ms-win-crt-math-l1-1-0",
+                "api-ms-win-crt-runtime-l1-1-0",
+                "api-ms-win-crt-stdio-l1-1-0",
+                "api-ms-win-crt-time-l1-1-0",
+                "atl140",
+                "concrt140",
+                "msvcp140",
+                "msvcr140",
+                "ucrtbase",
+                "vcomp140",
+                "vcruntime140"
+            ])
+            .do();
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun2017", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun2017", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun2017();
+
+        new Vcrun2017(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun2017;
 
@@ -111,7 +117,7 @@

Source: Engines/Wine/Verbs/vcrun2017/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vcrun6sp6_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vcrun6sp6_script.js.html index bb9bf259af..3458b70aaa 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun6sp6_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun6sp6_script.js.html @@ -28,59 +28,62 @@

Source: Engines/Wine/Verbs/vcrun6sp6/script.js

const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {CabExtract} = include("utils.functions.filesystem.extract");
-const {remove} = include("utils.functions.filesystem.files");
+const { CabExtract } = include("utils.functions.filesystem.extract");
+const { remove } = include("utils.functions.filesystem.files");
 
-include("engines.wine.verbs.luna");
+const Optional = Java.type("java.util.Optional");
 
 /**
  * Verb to install vcrun6sp6
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vcrun6sp6 = function () {
-    var toBeCabExtracted = new Resource()
-        .wizard(this.wizard())
-        .url("https://download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe")
-        .checksum("2292437a8967349261c810ae8b456592eeb76620")
-        .name("Vs6sp6.exe")
-        .get();
-
-    var setupFile = new CabExtract()
-        .archive(toBeCabExtracted)
-        .to(this.prefixDirectory() + "/drive_c/vcrun6sp6/")
-        .extract(["-L", "-F", "vcredist.exe"]);
-
-    remove(this.system32directory() + "comcat.dll");
-    remove(this.system32directory() + "msvcrt.dll");
-    remove(this.system32directory() + "oleaut32.dll");
-    remove(this.system32directory() + "olepro32.dll");
-    remove(this.system32directory() + "stdole2.dll");
-
-    this.wizard().wait(tr("Please wait while {0} is installed...", "vcrun6sp6"));
-    this.run(setupFile, "/q", null, false, true);
-
-    return this;
-};
+class Vcrun6SP6 {
+    constructor(wine) {
+        this.wine = wine;
+    }
 
-/**
- * Verb to install vcrun6sp6
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class Vcrun6SP6Verb {
-    constructor() {
-        // do nothing
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+        const system32directory = this.wine.system32directory();
+
+        const toBeCabExtracted = new Resource()
+            .wizard(wizard)
+            .url("https://download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe")
+            .checksum("2292437a8967349261c810ae8b456592eeb76620")
+            .name("Vs6sp6.exe")
+            .get();
+
+        const setupFile = new CabExtract()
+            .wizard(wizard)
+            .archive(toBeCabExtracted)
+            .to(`${prefixDirectory}/drive_c/vcrun6sp6/`)
+            .extract(["-L", "-F", "vcredist.exe"]);
+
+        remove(`${system32directory}/comcat.dll`);
+        remove(`${system32directory}/msvcrt.dll`);
+        remove(`${system32directory}/oleaut32.dll`);
+        remove(`${system32directory}/olepro32.dll`);
+        remove(`${system32directory}/stdole2.dll`);
+
+        wizard.wait(tr("Please wait while {0} is installed...", "vcrun6sp6"));
+
+        this.wine.run(setupFile, "/q", null, false, true);
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vcrun6sp6", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vcrun6sp6", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vcrun6sp6();
+
+        new Vcrun6SP6(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = Vcrun6SP6;
 
@@ -91,7 +94,7 @@

Source: Engines/Wine/Verbs/vcrun6sp6/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_vulkanSDK_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_vulkanSDK_script.js.html index 0bb7cb97a1..2056573f92 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vulkanSDK_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vulkanSDK_script.js.html @@ -26,85 +26,93 @@

Source: Engines/Wine/Verbs/vulkanSDK/script.js

-

-const Wine = include("engines.wine.engine.object");
+            
const Wine = include("engines.wine.engine.object");
 const Resource = include("utils.functions.net.resource");
-const {touch, writeToFile} = include("utils.functions.filesystem.files");
+const { touch, writeToFile } = include("utils.functions.filesystem.files");
+
+const Optional = Java.type("java.util.Optional");
 
 include("engines.wine.plugins.regedit");
 
 /**
- * All the necessary things to run winevulkan (even inside wine mainline or newest wine-staging)
+ * Verb to install all the necessary things to run winevulkan (even inside wine mainline or newest wine-staging)
  * see: https://github.com/roderickc/wine-vulkan
- *
- * @returns {Wine} Wine object
  */
-Wine.prototype.vulkanSDK = function () {
-    print("NOTE: you need a graphic driver that supports Vulkan to run winevulkan");
-    print("NOTE: Vulkan works in wine from version 3.3 (if compiled with vulkan support)");
-
-    var sdkVersion = "1.1.97.0";
-
-    var setupFile = new Resource()
-        .wizard(this.wizard())
-        .url("https://sdk.lunarg.com/sdk/download/" + sdkVersion + "/windows/VulkanSDK-" + sdkVersion + "-Installer.exe")
-        .checksum("6bab01f98473bfd550544bbe9773a6d05872a61a")
-        .name("VulkanSDK-" + sdkVersion + "-Installer.exe")
-        .get();
-
-    this.run(setupFile, "/S");
-    this.wait();
-
-    var pathVulkanJSON = this.prefixDirectory() + "drive_c/windows/winevulkan.json";
-    touch(pathVulkanJSON);
-    var contentVulkanJSON = JSON.stringify({
-        "file_format_version": "1.0.0", "ICD": {
-            "library_path": "c:\\windows\\system32\\winevulkan.dll",
-            "api_version": sdkVersion
-        }
-    }, null, 4);
+class VulkanSDK {
+    constructor(wine) {
+        this.wine = wine;
+    }
+
+    go() {
+        const wizard = this.wine.wizard();
+        const prefixDirectory = this.wine.prefixDirectory();
+
+        print("NOTE: you need a graphic driver that supports Vulkan to run winevulkan");
+        print("NOTE: Vulkan works in wine from version 3.3 (if compiled with vulkan support)");
+
+        const sdkVersion = "1.1.97.0";
+
+        const setupFile = new Resource()
+            .wizard(wizard)
+            .url(`https://sdk.lunarg.com/sdk/download/${sdkVersion}/windows/VulkanSDK-${sdkVersion}-Installer.exe`)
+            .checksum("6bab01f98473bfd550544bbe9773a6d05872a61a")
+            .name(`VulkanSDK-${sdkVersion}-Installer.exe`)
+            .get();
+
+        this.wine.run(setupFile, "/S");
+        this.wine.wait();
+
+        const pathVulkanJSON = `${prefixDirectory}/drive_c/windows/winevulkan.json`;
 
-    writeToFile(pathVulkanJSON, contentVulkanJSON);
+        touch(pathVulkanJSON);
 
-    var regeditFileContent32 =
-        "REGEDIT4\n" +
-        "\n" +
-        "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Khronos\\Vulkan\\Drivers]\n" +
-        "\"C:\\\\Windows\\\\winevulkan.json\"=dword:00000000";
+        const contentVulkanJSON = JSON.stringify(
+            {
+                "file_format_version": "1.0.0",
+                "ICD": {
+                    "library_path": "c:\\windows\\system32\\winevulkan.dll",
+                    "api_version": sdkVersion
+                }
+            },
+            null,
+            4
+        );
 
-    this.regedit().patch(regeditFileContent32);
+        writeToFile(pathVulkanJSON, contentVulkanJSON);
 
-    if (this.architecture() == "amd64") {
-        var regeditFileContent64 =
+        const regeditFileContent32 =
             "REGEDIT4\n" +
             "\n" +
-            "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Khronos\\Vulkan\\Drivers\\]\n" +
-            "\"C:\\\\Windows\\\\winevulkan.json\"=dword:00000000";
+            "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Khronos\\Vulkan\\Drivers]\n" +
+            '"C:\\\\Windows\\\\winevulkan.json"=dword:00000000';
 
-        this.regedit().patch(regeditFileContent64);
-    }
+        this.wine.regedit().patch(regeditFileContent32);
 
-    return this;
-}
+        if (this.wine.architecture() == "amd64") {
+            const regeditFileContent64 =
+                "REGEDIT4\n" +
+                "\n" +
+                "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Khronos\\Vulkan\\Drivers\\]\n" +
+                '"C:\\\\Windows\\\\winevulkan.json"=dword:00000000';
 
-/**
- * Verb to install all the necessary things to run winevulkan (even inside wine mainline or newest wine-staging)
- */
-// eslint-disable-next-line no-unused-vars
-module.default = class VulkanSDKVerb {
-    constructor() {
-        // do nothing
+            this.wine.regedit().patch(regeditFileContent64);
+        }
     }
 
-    install(container) {
-        var wine = new Wine();
+    static install(container) {
+        const wine = new Wine();
+        const wizard = SetupWizard(InstallationType.VERBS, "vulkanSDK", Optional.empty());
+
         wine.prefix(container);
-        var wizard = SetupWizard(InstallationType.VERBS, "vulkanSDK", java.util.Optional.empty());
         wine.wizard(wizard);
-        wine.vulkanSDK();
+
+        new VulkanSDK(wine).go();
+
         wizard.close();
     }
 }
+
+module.default = VulkanSDK;
 
@@ -115,7 +123,7 @@

Source: Engines/Wine/Verbs/vulkanSDK/script.js


diff --git a/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html index a0b5a4e183..6c7a8abbc2 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html @@ -31,255 +31,291 @@

Source: Engines/Wine/Verbs/xact/script.js

const { CabExtract } = include("utils.functions.filesystem.extract"); const { remove } = include("utils.functions.filesystem.files"); +const Optional = Java.type("java.util.Optional"); + include("engines.wine.plugins.regsvr32"); /** * Verb to install xact - * - * @returns {Wine} Wine object */ -Wine.prototype.xact = function () { - const extractFiles = (progressBar, filesToExtract, destination, pattern, directory) => { +class Xact { + constructor(wine) { + this.wine = wine; + } + + /** + * Extracts a given list of files + * + * @param {*} progressBar The progress bar + * @param {*} filesToExtract A list of files to extract + * @param {*} destination The destination directory + * @param {*} pattern The file pattern + * @param {*} directory The directory where the files are located + * @returns {void} + */ + extractFiles(progressBar, filesToExtract, destination, pattern, directory) { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + // extract the cab files filesToExtract.reduce((numberOfExtractedFiles, cabFile) => { print(tr("Extracting {0}...", cabFile)); - progressBar.setText(tr("Extracting {0}...", "Xact")); + progressBar.setText(tr("Extracting {0}...", cabFile)); progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); new CabExtract() - .archive(this.prefixDirectory() + "/drive_c/" + directory + cabFile) + .wizard(wizard) + .archive(`${prefixDirectory}/drive_c/${directory}/${cabFile}`) .to(destination) .extract(["-L", "-F", pattern]); return numberOfExtractedFiles + 1; }, 0); - }; + } - //This function executes regsvr32 on the dlls present in dllToRegsvr - const regsvr32Xact = (progressBar, dllToRegsvr) => { + /** + * Executes regsvr32 on the dlls present in dllToRegsvr + * + * @param {*} progressBar The progressbar + * @param {*} dllToRegsvr The dll files + * @returns {void} + */ + regsvr32Xact(progressBar, dllToRegsvr) { dllToRegsvr.reduce((numberOfExtractedFiles, dll) => { print(tr("Registering {0}...", dll)); progressBar.setText(tr("Registering {0}...", "Xact")); - progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / filesToExtract.length); + progressBar.setProgressPercentage((numberOfExtractedFiles * 100) / dllToRegsvr.length); - this.regsvr32().install(dll); + this.wine.regsvr32().install(dll); return numberOfExtractedFiles + 1; }, 0); - }; - - const setupFile = new Resource() - .wizard(this.wizard()) - .url( - "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" - ) - .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") - .name("directx_Jun2010_redist.exe") - .get(); - - const progressBar = this.wizard().progressBar(tr("Please wait...")); - progressBar.setText(tr("Extracting {0}...", "Xact")); - progressBar.setProgressPercentage(0); - - let filesToExtract = []; - - //---------------------------------------------------------Extract xactengine*.dll-------------------------------------------- - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xact_x86/") - .extract(["-L", "-F", "*_xact_*x86*"]); - - filesToExtract = [ - "apr2006_xact_x86.cab", - "apr2007_xact_x86.cab", - "aug2006_xact_x86.cab", - "aug2007_xact_x86.cab", - "aug2008_xact_x86.cab", - "aug2009_xact_x86.cab", - "dec2006_xact_x86.cab", - "fev2006_xact_x86.cab", - "fev2007_xact_x86.cab", - "fev2010_xact_x86.cab", - "jun2006_xact_x86.cab", - "jun2007_xact_x86.cab", - "jun2008_xact_x86.cab", - "jun2010_xact_x86.cab", - "mar2008_xact_x86.cab", - "mar2009_xact_x86.cab", - "nov2007_xact_x86.cab", - "nov2008_xact_x86.cab", - "oct2006_xact_x86.cab" - ]; - extractFiles(progressBar, filesToExtract, this.system32directory(), "xactengine*.dll", "xact_x86/"); - - //---------------------------------------------------------Extract X3Daudio*.dll---------------------------------------------- - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/x3daudio_x86/") - .extract(["-L", "-F", "*_x3daudio_*x86*"]); - - filesToExtract = [ - "feb2010_x3daudio_x86.cab", - "jun2008_x3daudio_x86.cab", - "mar2008_x3daudio_x86.cab", - "mar2009_x3daudio_x86.cab", - "nov2007_x3daudio_x86.cab", - "nov2008_x3daudio_x86.cab" - ]; - extractFiles(progressBar, filesToExtract, this.system32directory(), "X3Daudio*.dll", "x3daudio_x86/"); - - //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll--------------------------------- - new CabExtract() - .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xaudio_x86/") - .extract(["-L", "-F", "*_xaudio_*x86*"]); - - filesToExtract = [ - "aug2008_xaudio_x86.cab", - "aug2009_xaudio_x86.cab", - "feb2010_xaudio_x86.cab", - "jun2008_xaudio_x86.cab", - "jun2010_xaudio_x86.cab", - "mar2008_xaudio_x86.cab", - "mar2009_xaudio_x86.cab", - "nov2008_xaudio_x86.cab" - ]; - extractFiles(progressBar, filesToExtract, this.system32directory(), "XAudio*.dll", "xaudio_x86/"); - extractFiles(progressBar, filesToExtract, this.system32directory(), "XAPOFX*.dll", "xaudio_x86/"); - - const xactToRegserv = [ - "xactengine2_1.dll", - "xactengine2_2.dll", - "xactengine2_3.dll", - "xactengine2_4.dll", - "xactengine2_5.dll", - "xactengine2_7.dll", - "xactengine2_8.dll", - "xactengine2_9.dll", - "xactengine2_10.dll", - "xactengine3_0.dll", - "xactengine3_1.dll", - "xactengine3_2.dll", - "xactengine3_3.dll", - "xactengine3_4.dll", - "xactengine3_5.dll", - "xactengine3_7.dll" - ]; - - const xaudioToRegserv = [ - "xaudio2_0.dll", - "xaudio2_1.dll", - "xaudio2_2.dll", - "xaudio2_3.dll", - "xaudio2_4.dll", - "xaudio2_5.dll", - "xaudio2_6.dll", - "xaudio2_7.dll", - "xaudio2_9.dll" - ]; - - regsvr32Xact(progressBar, xactToRegserv); - regsvr32Xact(progressBar, xaudioToRegserv); - - remove(this.prefixDirectory() + "/drive_c/xact_x86/"); - remove(this.prefixDirectory() + "/drive_c/x3daudio_x86/"); - remove(this.prefixDirectory() + "/drive_c/xaudio_x86/"); - - if (this.architecture() == "amd64") { - //---------------------------------------------------------Extract xactengine*.dll (x64)-------------------------------------------- + } + + go() { + const wizard = this.wine.wizard(); + const prefixDirectory = this.wine.prefixDirectory(); + const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); + + const setupFile = new Resource() + .wizard(wizard) + .url( + "http://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe" + ) + .checksum("f8f1217f666bf2f6863631a7d5e5fb3a8d1542df") + .name("directx_Jun2010_redist.exe") + .get(); + + const progressBar = wizard.progressBar(tr("Please wait...")); + progressBar.setText(tr("Extracting {0}...", "Xact")); + progressBar.setProgressPercentage(0); + + let filesToExtract = []; + + //---------------------------------------------------------Extract xactengine*.dll-------------------------------------------- new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xact_x64/") - .extract(["-L", "-F", "*_xact_*x64*"]); + .to(`${prefixDirectory}/drive_c/xact_x86/`) + .extract(["-L", "-F", "*_xact_*x86*"]); filesToExtract = [ - "apr2006_xact_x64.cab", - "apr2007_xact_x64.cab", - "aug2006_xact_x64.cab", - "aug2007_xact_x64.cab", - "aug2008_xact_x64.cab", - "aug2009_xact_x64.cab", - "dec2006_xact_x64.cab", - "fev2006_xact_x64.cab", - "fev2007_xact_x64.cab", - "fev2010_xact_x64.cab", - "jun2006_xact_x64.cab", - "jun2007_xact_x64.cab", - "jun2008_xact_x64.cab", - "jun2010_xact_x64.cab", - "mar2008_xact_x64.cab", - "mar2009_xact_x64.cab", - "nov2007_xact_x64.cab", - "nov2008_xact_x64.cab", - "oct2006_xact_x64.cab" + "apr2006_xact_x86.cab", + "apr2007_xact_x86.cab", + "aug2006_xact_x86.cab", + "aug2007_xact_x86.cab", + "aug2008_xact_x86.cab", + "aug2009_xact_x86.cab", + "dec2006_xact_x86.cab", + "fev2006_xact_x86.cab", + "fev2007_xact_x86.cab", + "fev2010_xact_x86.cab", + "jun2006_xact_x86.cab", + "jun2007_xact_x86.cab", + "jun2008_xact_x86.cab", + "jun2010_xact_x86.cab", + "mar2008_xact_x86.cab", + "mar2009_xact_x86.cab", + "nov2007_xact_x86.cab", + "nov2008_xact_x86.cab", + "oct2006_xact_x86.cab" ]; - extractFiles(progressBar, filesToExtract, this.system64directory(), "xactengine*.dll", "xact_x64/"); - //---------------------------------------------------------Extract X3Daudio*.dll (x64)---------------------------------------------- + this.extractFiles(progressBar, filesToExtract, system32directory, "xactengine*.dll", "xact_x86"); + + //---------------------------------------------------------Extract X3Daudio*.dll---------------------------------------------- new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/x3daudio_x64/") - .extract(["-L", "-F", "*_x3daudio_*x64*"]); + .to(`${prefixDirectory}/drive_c/x3daudio_x86/`) + .extract(["-L", "-F", "*_x3daudio_*x86*"]); filesToExtract = [ - "feb2010_x3daudio_x64.cab", - "jun2008_x3daudio_x64.cab", - "mar2008_x3daudio_x64.cab", - "mar2009_x3daudio_x64.cab", - "nov2007_x3daudio_x64.cab", - "nov2008_x3daudio_x64.cab" + "feb2010_x3daudio_x86.cab", + "jun2008_x3daudio_x86.cab", + "mar2008_x3daudio_x86.cab", + "mar2009_x3daudio_x86.cab", + "nov2007_x3daudio_x86.cab", + "nov2008_x3daudio_x86.cab" ]; - extractFiles(progressBar, filesToExtract, this.system64directory(), "X3Daudio*.dll", "x3daudio_x64/"); - //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll (x64)--------------------------------- + this.extractFiles(progressBar, filesToExtract, system32directory, "X3Daudio*.dll", "x3daudio_x86"); + + //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll--------------------------------- new CabExtract() + .wizard(wizard) .archive(setupFile) - .to(this.prefixDirectory() + "/drive_c/xaudio_x64/") - .extract(["-L", "-F", "*_xaudio_*64*"]); + .to(`${prefixDirectory}/drive_c/xaudio_x86/`) + .extract(["-L", "-F", "*_xaudio_*x86*"]); filesToExtract = [ - "aug2008_xaudio_x64.cab", - "aug2009_xaudio_x64.cab", - "feb2010_xaudio_x64.cab", - "jun2008_xaudio_x64.cab", - "jun2010_xaudio_x64.cab", - "mar2008_xaudio_x64.cab", - "mar2009_xaudio_x64.cab", - "nov2008_xaudio_x64.cab" + "aug2008_xaudio_x86.cab", + "aug2009_xaudio_x86.cab", + "feb2010_xaudio_x86.cab", + "jun2008_xaudio_x86.cab", + "jun2010_xaudio_x86.cab", + "mar2008_xaudio_x86.cab", + "mar2009_xaudio_x86.cab", + "nov2008_xaudio_x86.cab" ]; - extractFiles(progressBar, filesToExtract, this.system64directory(), "XAudio*.dll", "xaudio_x64/"); - extractFiles(progressBar, filesToExtract, this.system64directory(), "XAPOFX*.dll", "xaudio_x64/"); - remove(this.prefixDirectory() + "/drive_c/xact_x64/"); - remove(this.prefixDirectory() + "/drive_c/x3daudio_x64/"); - remove(this.prefixDirectory() + "/drive_c/xaudio_x64/"); - } + this.extractFiles(progressBar, filesToExtract, system32directory, "XAudio*.dll", "xaudio_x86"); + this.extractFiles(progressBar, filesToExtract, system32directory, "XAPOFX*.dll", "xaudio_x86"); + + const xactToRegserv = [ + "xactengine2_1.dll", + "xactengine2_2.dll", + "xactengine2_3.dll", + "xactengine2_4.dll", + "xactengine2_5.dll", + "xactengine2_7.dll", + "xactengine2_8.dll", + "xactengine2_9.dll", + "xactengine2_10.dll", + "xactengine3_0.dll", + "xactengine3_1.dll", + "xactengine3_2.dll", + "xactengine3_3.dll", + "xactengine3_4.dll", + "xactengine3_5.dll", + "xactengine3_7.dll" + ]; - return this; -}; + const xaudioToRegserv = [ + "xaudio2_0.dll", + "xaudio2_1.dll", + "xaudio2_2.dll", + "xaudio2_3.dll", + "xaudio2_4.dll", + "xaudio2_5.dll", + "xaudio2_6.dll", + "xaudio2_7.dll", + "xaudio2_9.dll" + ]; -/** - * Verb to install xact - */ -module.default = class XactVerb { - constructor() { - // do nothing + this.regsvr32Xact(progressBar, xactToRegserv); + this.regsvr32Xact(progressBar, xaudioToRegserv); + + remove(`${prefixDirectory}/drive_c/xact_x86/`); + remove(`${prefixDirectory}/drive_c/x3daudio_x86/`); + remove(`${prefixDirectory}/drive_c/xaudio_x86/`); + + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + + //---------------------------------------------------------Extract xactengine*.dll (x64)-------------------------------------------- + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/xact_x64/`) + .extract(["-L", "-F", "*_xact_*x64*"]); + + filesToExtract = [ + "apr2006_xact_x64.cab", + "apr2007_xact_x64.cab", + "aug2006_xact_x64.cab", + "aug2007_xact_x64.cab", + "aug2008_xact_x64.cab", + "aug2009_xact_x64.cab", + "dec2006_xact_x64.cab", + "fev2006_xact_x64.cab", + "fev2007_xact_x64.cab", + "fev2010_xact_x64.cab", + "jun2006_xact_x64.cab", + "jun2007_xact_x64.cab", + "jun2008_xact_x64.cab", + "jun2010_xact_x64.cab", + "mar2008_xact_x64.cab", + "mar2009_xact_x64.cab", + "nov2007_xact_x64.cab", + "nov2008_xact_x64.cab", + "oct2006_xact_x64.cab" + ]; + + this.extractFiles(progressBar, filesToExtract, system64directory, "xactengine*.dll", "xact_x64"); + + //---------------------------------------------------------Extract X3Daudio*.dll (x64)---------------------------------------------- + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/x3daudio_x64/`) + .extract(["-L", "-F", "*_x3daudio_*x64*"]); + + filesToExtract = [ + "feb2010_x3daudio_x64.cab", + "jun2008_x3daudio_x64.cab", + "mar2008_x3daudio_x64.cab", + "mar2009_x3daudio_x64.cab", + "nov2007_x3daudio_x64.cab", + "nov2008_x3daudio_x64.cab" + ]; + + this.extractFiles(progressBar, filesToExtract, system64directory, "X3Daudio*.dll", "x3daudio_x64"); + + //---------------------------------------------------------Extract XAudio*.dll and XAPOFX*.dll (x64)--------------------------------- + new CabExtract() + .wizard(wizard) + .archive(setupFile) + .to(`${prefixDirectory}/drive_c/xaudio_x64/`) + .extract(["-L", "-F", "*_xaudio_*64*"]); + + filesToExtract = [ + "aug2008_xaudio_x64.cab", + "aug2009_xaudio_x64.cab", + "feb2010_xaudio_x64.cab", + "jun2008_xaudio_x64.cab", + "jun2010_xaudio_x64.cab", + "mar2008_xaudio_x64.cab", + "mar2009_xaudio_x64.cab", + "nov2008_xaudio_x64.cab" + ]; + + this.extractFiles(progressBar, filesToExtract, system64directory, "XAudio*.dll", "xaudio_x64"); + this.extractFiles(progressBar, filesToExtract, system64directory, "XAPOFX*.dll", "xaudio_x64"); + + remove(`${prefixDirectory}/drive_c/xact_x64/`); + remove(`${prefixDirectory}/drive_c/x3daudio_x64/`); + remove(`${prefixDirectory}/drive_c/xaudio_x64/`); + } } - install(container) { + static install(container) { const wine = new Wine(); + const wizard = SetupWizard(InstallationType.VERBS, "xact", Optional.empty()); wine.prefix(container); - - const wizard = SetupWizard(InstallationType.VERBS, "xact", java.util.Optional.empty()); wine.wizard(wizard); - wine.xact(); + + new Xact(wine).go(); wizard.close(); } -}; +} + +module.default = Xact;
@@ -290,7 +326,7 @@

Source: Engines/Wine/Verbs/xact/script.js


diff --git a/docs/jsdoc/FAudio.html b/docs/jsdoc/FAudio.html new file mode 100644 index 0000000000..3c581c7535 --- /dev/null +++ b/docs/jsdoc/FAudio.html @@ -0,0 +1,334 @@ + + + + + JSDoc: Class: FAudio + + + + + + + + + + +
+ +

Class: FAudio

+ + + + + + +
+ +
+ +

FAudio()

+ +
Verb to install FAudio +see: https://github.com/Kron4ek/FAudio-Builds
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new FAudio()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

withVersion(faudioVersion) → {FAudio}

+ + + + + + +
+ Sets the used FAudio version +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
faudioVersion + + +string + + + + The version of FAudio to downlaod
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The FAudio object +
+ + + +
+
+ Type +
+
+ +FAudio + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/GDIPlus.html b/docs/jsdoc/GDIPlus.html new file mode 100644 index 0000000000..8cb7668022 --- /dev/null +++ b/docs/jsdoc/GDIPlus.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: GDIPlus + + + + + + + + + + +
+ +

Class: GDIPlus

+ + + + + + +
+ +
+ +

GDIPlus()

+ +
Verb to install gdiplus
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new GDIPlus()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/GDIPlusWinXP.html b/docs/jsdoc/GDIPlusWinXP.html new file mode 100644 index 0000000000..351953df5d --- /dev/null +++ b/docs/jsdoc/GDIPlusWinXP.html @@ -0,0 +1,192 @@ + + + + + JSDoc: Class: GDIPlusWinXP + + + + + + + + + + +
+ +

Class: GDIPlusWinXP

+ + + + + + +
+ +
+ +

GDIPlusWinXP() → {Wine}

+ +
Verb to install gdiplus (windows xp)
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new GDIPlusWinXP() → {Wine}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ Wine object +
+ + + +
+
+ Type +
+
+ +Wine + + +
+
+ + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Gallium9.html b/docs/jsdoc/Gallium9.html new file mode 100644 index 0000000000..02c8236451 --- /dev/null +++ b/docs/jsdoc/Gallium9.html @@ -0,0 +1,334 @@ + + + + + JSDoc: Class: Gallium9 + + + + + + + + + + +
+ +

Class: Gallium9

+ + + + + + +
+ +
+ +

Gallium9()

+ +
Verb to install Gallium 9 Standalone +see: https://github.com/iXit/wine-nine-standalone/
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Gallium9()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

withVersion(gallium9Version) → {Gallium9}

+ + + + + + +
+ Sets the used gallium9 version +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
gallium9Version + + +string + + + + The Gallium 9 Standalone version to download
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The Gallium9 object +
+ + + +
+
+ Type +
+
+ +Gallium9 + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Luna.html b/docs/jsdoc/Luna.html new file mode 100644 index 0000000000..3e9225d6fb --- /dev/null +++ b/docs/jsdoc/Luna.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Luna + + + + + + + + + + +
+ +

Class: Luna

+ + + + + + +
+ +
+ +

Luna()

+ +
Verb to install luna
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Luna()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Mfc42.html b/docs/jsdoc/Mfc42.html new file mode 100644 index 0000000000..5e7fc0bf6e --- /dev/null +++ b/docs/jsdoc/Mfc42.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Mfc42 + + + + + + + + + + +
+ +

Class: Mfc42

+ + + + + + +
+ +
+ +

Mfc42()

+ +
Verb to install mfc42.dll and mfc42u.dll
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Mfc42()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Msls31.html b/docs/jsdoc/Msls31.html new file mode 100644 index 0000000000..ae75335b5c --- /dev/null +++ b/docs/jsdoc/Msls31.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Msls31 + + + + + + + + + + +
+ +

Class: Msls31

+ + + + + + +
+ +
+ +

Msls31()

+ +
Verb to install msls31.dll
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Msls31()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Mspatcha.html b/docs/jsdoc/Mspatcha.html new file mode 100644 index 0000000000..6cc619af70 --- /dev/null +++ b/docs/jsdoc/Mspatcha.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Mspatcha + + + + + + + + + + +
+ +

Class: Mspatcha

+ + + + + + +
+ +
+ +

Mspatcha()

+ +
Verb to install mspatcha
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Mspatcha()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Msxml3.html b/docs/jsdoc/Msxml3.html new file mode 100644 index 0000000000..e33d3e51b0 --- /dev/null +++ b/docs/jsdoc/Msxml3.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Msxml3 + + + + + + + + + + +
+ +

Class: Msxml3

+ + + + + + +
+ +
+ +

Msxml3()

+ +
Verb to install msxml3
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Msxml3()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Msxml6.html b/docs/jsdoc/Msxml6.html new file mode 100644 index 0000000000..8d4bbcef51 --- /dev/null +++ b/docs/jsdoc/Msxml6.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Msxml6 + + + + + + + + + + +
+ +

Class: Msxml6

+ + + + + + +
+ +
+ +

Msxml6()

+ +
Verb to install msxml6
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Msxml6()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/PhysX.html b/docs/jsdoc/PhysX.html new file mode 100644 index 0000000000..82aaa92c09 --- /dev/null +++ b/docs/jsdoc/PhysX.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: PhysX + + + + + + + + + + +
+ +

Class: PhysX

+ + + + + + +
+ +
+ +

PhysX()

+ +
Verb to install Nvidia PhysX
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new PhysX()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Quartz.html b/docs/jsdoc/Quartz.html new file mode 100644 index 0000000000..6d855b4085 --- /dev/null +++ b/docs/jsdoc/Quartz.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Quartz + + + + + + + + + + +
+ +

Class: Quartz

+ + + + + + +
+ +
+ +

Quartz()

+ +
Verb to install quartz
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Quartz()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/QuickTime76.html b/docs/jsdoc/QuickTime76.html new file mode 100644 index 0000000000..0db2ded2c9 --- /dev/null +++ b/docs/jsdoc/QuickTime76.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: QuickTime76 + + + + + + + + + + +
+ +

Class: QuickTime76

+ + + + + + +
+ +
+ +

QuickTime76()

+ +
Verb to install QuickTime 7.6
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new QuickTime76()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/RemoveMono.html b/docs/jsdoc/RemoveMono.html new file mode 100644 index 0000000000..03e5331929 --- /dev/null +++ b/docs/jsdoc/RemoveMono.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: RemoveMono + + + + + + + + + + +
+ +

Class: RemoveMono

+ + + + + + +
+ +
+ +

RemoveMono()

+ +
Verb to remove mono
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new RemoveMono()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Sandbox.html b/docs/jsdoc/Sandbox.html new file mode 100644 index 0000000000..8ccf779541 --- /dev/null +++ b/docs/jsdoc/Sandbox.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Sandbox + + + + + + + + + + +
+ +

Class: Sandbox

+ + + + + + +
+ +
+ +

Sandbox()

+ +
Verb to install a sandbox
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Sandbox()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Secur32.html b/docs/jsdoc/Secur32.html new file mode 100644 index 0000000000..b28b211174 --- /dev/null +++ b/docs/jsdoc/Secur32.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Secur32 + + + + + + + + + + +
+ +

Class: Secur32

+ + + + + + +
+ +
+ +

Secur32()

+ +
Verb to install secur32
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Secur32()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Tahoma.html b/docs/jsdoc/Tahoma.html new file mode 100644 index 0000000000..b4a4ea9d65 --- /dev/null +++ b/docs/jsdoc/Tahoma.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Tahoma + + + + + + + + + + +
+ +

Class: Tahoma

+ + + + + + +
+ +
+ +

Tahoma()

+ +
Verb to install the Tahoma font
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Tahoma()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Uplay.html b/docs/jsdoc/Uplay.html new file mode 100644 index 0000000000..e5ff52c387 --- /dev/null +++ b/docs/jsdoc/Uplay.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Uplay + + + + + + + + + + +
+ +

Class: Uplay

+ + + + + + +
+ +
+ +

Uplay()

+ +
Verb to install Uplay
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Uplay()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Utils_Functions_Apps_PlainInstaller_script.js.html b/docs/jsdoc/Utils_Functions_Apps_PlainInstaller_script.js.html index 2f13181082..80969abc4c 100644 --- a/docs/jsdoc/Utils_Functions_Apps_PlainInstaller_script.js.html +++ b/docs/jsdoc/Utils_Functions_Apps_PlainInstaller_script.js.html @@ -63,7 +63,7 @@

Source: Utils/Functions/Apps/PlainInstaller/script.js


diff --git a/docs/jsdoc/Utils_Functions_Apps_Resources_script.js.html b/docs/jsdoc/Utils_Functions_Apps_Resources_script.js.html index c73da2b43f..3717e945c5 100644 --- a/docs/jsdoc/Utils_Functions_Apps_Resources_script.js.html +++ b/docs/jsdoc/Utils_Functions_Apps_Resources_script.js.html @@ -82,7 +82,7 @@

Source: Utils/Functions/Apps/Resources/script.js


diff --git a/docs/jsdoc/Utils_Functions_Filesystem_Extract_script.js.html b/docs/jsdoc/Utils_Functions_Filesystem_Extract_script.js.html index d2ab03ecf5..7a06c5f706 100644 --- a/docs/jsdoc/Utils_Functions_Filesystem_Extract_script.js.html +++ b/docs/jsdoc/Utils_Functions_Filesystem_Extract_script.js.html @@ -205,7 +205,7 @@

Source: Utils/Functions/Filesystem/Extract/script.js


diff --git a/docs/jsdoc/Utils_Functions_Filesystem_Files_script.js.html b/docs/jsdoc/Utils_Functions_Filesystem_Files_script.js.html index 6f31ca0010..794808b76d 100644 --- a/docs/jsdoc/Utils_Functions_Filesystem_Files_script.js.html +++ b/docs/jsdoc/Utils_Functions_Filesystem_Files_script.js.html @@ -260,7 +260,7 @@

Source: Utils/Functions/Filesystem/Files/script.js


diff --git a/docs/jsdoc/Utils_Functions_Net_Download_script.js.html b/docs/jsdoc/Utils_Functions_Net_Download_script.js.html index 495f1a62fa..2c733c0cec 100644 --- a/docs/jsdoc/Utils_Functions_Net_Download_script.js.html +++ b/docs/jsdoc/Utils_Functions_Net_Download_script.js.html @@ -221,7 +221,7 @@

Source: Utils/Functions/Net/Download/script.js


diff --git a/docs/jsdoc/Utils_Functions_Net_Resource_script.js.html b/docs/jsdoc/Utils_Functions_Net_Resource_script.js.html index acc6cb704e..963e4c25d0 100644 --- a/docs/jsdoc/Utils_Functions_Net_Resource_script.js.html +++ b/docs/jsdoc/Utils_Functions_Net_Resource_script.js.html @@ -157,7 +157,7 @@

Source: Utils/Functions/Net/Resource/script.js


diff --git a/docs/jsdoc/Utils_Functions_System_virtual desktop_script.js.html b/docs/jsdoc/Utils_Functions_System_virtual desktop_script.js.html index 1ce5300a91..81e8797550 100644 --- a/docs/jsdoc/Utils_Functions_System_virtual desktop_script.js.html +++ b/docs/jsdoc/Utils_Functions_System_virtual desktop_script.js.html @@ -57,7 +57,7 @@

Source: Utils/Functions/System/virtual desktop/script.js<
diff --git a/docs/jsdoc/VK9.html b/docs/jsdoc/VK9.html new file mode 100644 index 0000000000..168662d4b7 --- /dev/null +++ b/docs/jsdoc/VK9.html @@ -0,0 +1,334 @@ + + + + + JSDoc: Class: VK9 + + + + + + + + + + +
+ +

Class: VK9

+ + + + + + +
+ +
+ +

VK9()

+ +
Verb to install VK9 +see: https://github.com/disks86/VK9
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new VK9()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

withVersion(vk9Version) → {VK9}

+ + + + + + +
+ Sets the VK9 version to install +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
vk9Version + + +string + + + + The VK9 version to install
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The VK9 object +
+ + + +
+
+ Type +
+
+ +VK9 + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2003.html b/docs/jsdoc/Vcrun2003.html new file mode 100644 index 0000000000..d30903308b --- /dev/null +++ b/docs/jsdoc/Vcrun2003.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2003 + + + + + + + + + + +
+ +

Class: Vcrun2003

+ + + + + + +
+ +
+ +

Vcrun2003()

+ +
Verb to install vcrun2003
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2003()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2005.html b/docs/jsdoc/Vcrun2005.html new file mode 100644 index 0000000000..0e7e38907e --- /dev/null +++ b/docs/jsdoc/Vcrun2005.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2005 + + + + + + + + + + +
+ +

Class: Vcrun2005

+ + + + + + +
+ +
+ +

Vcrun2005()

+ +
Verb to install vcrun2005
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2005()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2008.html b/docs/jsdoc/Vcrun2008.html new file mode 100644 index 0000000000..b9d6b2418d --- /dev/null +++ b/docs/jsdoc/Vcrun2008.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2008 + + + + + + + + + + +
+ +

Class: Vcrun2008

+ + + + + + +
+ +
+ +

Vcrun2008()

+ +
Verb to install vcrun2008
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2008()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2010.html b/docs/jsdoc/Vcrun2010.html new file mode 100644 index 0000000000..6aa6b0e72f --- /dev/null +++ b/docs/jsdoc/Vcrun2010.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2010 + + + + + + + + + + +
+ +

Class: Vcrun2010

+ + + + + + +
+ +
+ +

Vcrun2010()

+ +
Verb to install vcrun2010
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2010()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2012.html b/docs/jsdoc/Vcrun2012.html new file mode 100644 index 0000000000..2e993f3c61 --- /dev/null +++ b/docs/jsdoc/Vcrun2012.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2012 + + + + + + + + + + +
+ +

Class: Vcrun2012

+ + + + + + +
+ +
+ +

Vcrun2012()

+ +
Verb to install vcrun2012
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2012()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2013.html b/docs/jsdoc/Vcrun2013.html new file mode 100644 index 0000000000..fa42879393 --- /dev/null +++ b/docs/jsdoc/Vcrun2013.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2013 + + + + + + + + + + +
+ +

Class: Vcrun2013

+ + + + + + +
+ +
+ +

Vcrun2013()

+ +
Verb to install vcrun2013
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2013()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2015.html b/docs/jsdoc/Vcrun2015.html new file mode 100644 index 0000000000..644b23baea --- /dev/null +++ b/docs/jsdoc/Vcrun2015.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2015 + + + + + + + + + + +
+ +

Class: Vcrun2015

+ + + + + + +
+ +
+ +

Vcrun2015()

+ +
Verb to install vcrun2015
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2015()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun2017.html b/docs/jsdoc/Vcrun2017.html new file mode 100644 index 0000000000..379e94651c --- /dev/null +++ b/docs/jsdoc/Vcrun2017.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun2017 + + + + + + + + + + +
+ +

Class: Vcrun2017

+ + + + + + +
+ +
+ +

Vcrun2017()

+ +
Verb to install vcrun2017
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun2017()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Vcrun6SP6.html b/docs/jsdoc/Vcrun6SP6.html new file mode 100644 index 0000000000..439c637862 --- /dev/null +++ b/docs/jsdoc/Vcrun6SP6.html @@ -0,0 +1,170 @@ + + + + + JSDoc: Class: Vcrun6SP6 + + + + + + + + + + +
+ +

Class: Vcrun6SP6

+ + + + + + +
+ +
+ +

Vcrun6SP6()

+ +
Verb to install vcrun6sp6
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Vcrun6SP6()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/VulkanSDK.html b/docs/jsdoc/VulkanSDK.html new file mode 100644 index 0000000000..7303d3e16b --- /dev/null +++ b/docs/jsdoc/VulkanSDK.html @@ -0,0 +1,171 @@ + + + + + JSDoc: Class: VulkanSDK + + + + + + + + + + +
+ +

Class: VulkanSDK

+ + + + + + +
+ +
+ +

VulkanSDK()

+ +
Verb to install all the necessary things to run winevulkan (even inside wine mainline or newest wine-staging) +see: https://github.com/roderickc/wine-vulkan
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new VulkanSDK()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/WindowsXPSP3.html b/docs/jsdoc/WindowsXPSP3.html new file mode 100644 index 0000000000..64d315b563 --- /dev/null +++ b/docs/jsdoc/WindowsXPSP3.html @@ -0,0 +1,333 @@ + + + + + JSDoc: Class: WindowsXPSP3 + + + + + + + + + + +
+ +

Class: WindowsXPSP3

+ + + + + + +
+ +
+ +

WindowsXPSP3()

+ +
Verb to install Windows XP Service Pack 3
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new WindowsXPSP3()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

withFileToExtract(fileToExtract) → {WindowsXPSP3}

+ + + + + + +
+ Sets the path to the file which shall be extracted +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
fileToExtract + + +string + + + + The path to the file which shall be extracted
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WindowsXPSP3 object +
+ + + +
+
+ Type +
+
+ +WindowsXPSP3 + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/Xact.html b/docs/jsdoc/Xact.html new file mode 100644 index 0000000000..ebff8690a4 --- /dev/null +++ b/docs/jsdoc/Xact.html @@ -0,0 +1,599 @@ + + + + + JSDoc: Class: Xact + + + + + + + + + + +
+ +

Class: Xact

+ + + + + + +
+ +
+ +

Xact()

+ +
Verb to install xact
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new Xact()

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + +

Methods

+ + + + + + + +

extractFiles(progressBar, filesToExtract, destination, pattern, directory) → {void}

+ + + + + + +
+ Extracts a given list of files +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
progressBar + + +* + + + + The progress bar
filesToExtract + + +* + + + + A list of files to extract
destination + + +* + + + + The destination directory
pattern + + +* + + + + The file pattern
directory + + +* + + + + The directory where the files are located
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

regsvr32Xact(progressBar, dllToRegsvr) → {void}

+ + + + + + +
+ Executes regsvr32 on the dlls present in dllToRegsvr +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
progressBar + + +* + + + + The progressbar
dllToRegsvr + + +* + + + + The dll files
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +
+ +
+ + + + +
+ + + +
+ + + + + + + \ No newline at end of file diff --git a/docs/jsdoc/global.html b/docs/jsdoc/global.html index ca94392fa5..b563318942 100644 --- a/docs/jsdoc/global.html +++ b/docs/jsdoc/global.html @@ -2575,7 +2575,7 @@

Returns:

diff --git a/docs/jsdoc/index.html b/docs/jsdoc/index.html index 0b68011f9f..3b8c483351 100644 --- a/docs/jsdoc/index.html +++ b/docs/jsdoc/index.html @@ -50,7 +50,7 @@


diff --git a/docs/jsdoc/module.CabExtract.html b/docs/jsdoc/module.CabExtract.html index 5042deb470..d0e9a24936 100644 --- a/docs/jsdoc/module.CabExtract.html +++ b/docs/jsdoc/module.CabExtract.html @@ -950,7 +950,7 @@
Returns:

diff --git a/docs/jsdoc/module.Checksum.html b/docs/jsdoc/module.Checksum.html index 9f39508f1b..5e6f769eb9 100644 --- a/docs/jsdoc/module.Checksum.html +++ b/docs/jsdoc/module.Checksum.html @@ -746,7 +746,7 @@
Returns:

diff --git a/docs/jsdoc/module.Extractor.html b/docs/jsdoc/module.Extractor.html index aef2c01c90..8211e1233b 100644 --- a/docs/jsdoc/module.Extractor.html +++ b/docs/jsdoc/module.Extractor.html @@ -901,7 +901,7 @@
Returns:

diff --git a/docs/jsdoc/module.default.html b/docs/jsdoc/module.default.html index 69987d8400..04103b9f5f 100644 --- a/docs/jsdoc/module.default.html +++ b/docs/jsdoc/module.default.html @@ -30,7 +30,7 @@

Class: default

default()

-
Verb to install D3DX10
+
Setting to set the Fonts Smoothing
@@ -93,7 +93,7 @@

new defaultSource:
@@ -1905,7 +1905,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -1913,7 +1913,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -1965,7 +1965,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -2006,7 +2006,7 @@
Parameters:
Source:
@@ -2035,7 +2035,7 @@
Returns:
- The Resource object + The Downloader object
@@ -2046,7 +2046,7 @@
Returns:
-Resource +Downloader
@@ -2064,7 +2064,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -2072,7 +2072,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -2124,7 +2124,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -2165,7 +2165,7 @@
Parameters:
Source:
@@ -2194,7 +2194,7 @@
Returns:
- The Downloader object + The Resource object
@@ -2205,7 +2205,7 @@
Returns:
-Downloader +Resource
@@ -2223,7 +2223,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -2231,7 +2231,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -2275,7 +2275,7 @@

createSource:
@@ -2303,6 +2303,10 @@

createReturns:

+
+ The Wine object +
+
@@ -2311,7 +2315,7 @@
Returns:
-void +Wine
@@ -2329,7 +2333,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -2337,7 +2341,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -2381,7 +2385,7 @@

createSource:
@@ -2409,10 +2413,6 @@

createReturns:

-
- The Wine object -
-
@@ -2421,7 +2421,7 @@
Returns:
-Wine +void
@@ -2916,7 +2916,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -2924,7 +2924,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -2976,7 +2976,7 @@

Parameters:
- variables + The environment variables @@ -3017,7 +3017,7 @@
Parameters:
Source:
@@ -3046,7 +3046,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -3057,7 +3057,7 @@
Returns:
-QuickScript +WineShortcut
@@ -3075,7 +3075,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -3083,7 +3083,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -3135,7 +3135,7 @@

Parameters:
- The environment variables + variables @@ -3176,7 +3176,7 @@
Parameters:
Source:
@@ -3205,7 +3205,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -3216,7 +3216,7 @@
Returns:
-WineShortcut +QuickScript
@@ -3490,7 +3490,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -3498,7 +3498,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -3509,55 +3509,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -3591,7 +3542,7 @@
Parameters:
Source:
@@ -3620,7 +3571,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -3631,7 +3582,7 @@
Returns:
-Resource +string
@@ -3649,7 +3600,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -3657,7 +3608,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -3701,7 +3652,7 @@

getSource:
@@ -3730,7 +3681,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -3741,7 +3692,7 @@
Returns:
-string +String
@@ -3759,7 +3710,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -3767,7 +3718,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -3778,114 +3729,163 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -4985,155 +4985,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -5302,7 +5153,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -5310,7 +5161,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -5362,7 +5362,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -5403,7 +5403,7 @@
Parameters:
Source:
@@ -5432,7 +5432,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -5443,7 +5443,7 @@
Returns:
-WineShortcut +Resource
@@ -5461,7 +5461,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -5469,7 +5469,7 @@

name - Sets the resource name + Sets the shortcut name @@ -5521,7 +5521,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -5562,7 +5562,7 @@
Parameters:
Source:
@@ -5591,7 +5591,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -5602,7 +5602,7 @@
Returns:
-Resource +WineShortcut
@@ -6570,6 +6570,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -6936,161 +7091,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -7954,7 +7954,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -7962,7 +7962,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -7998,7 +7998,7 @@

Parameters:
- trustlevel + trustLevel @@ -8014,7 +8014,7 @@
Parameters:
- + The trust level @@ -8055,7 +8055,7 @@
Parameters:
Source:
@@ -8084,7 +8084,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -8095,7 +8095,7 @@
Returns:
-QuickScript +WineShortcut
@@ -8113,7 +8113,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -8121,7 +8121,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -8157,7 +8157,7 @@

Parameters:
- trustLevel + trustlevel @@ -8173,7 +8173,7 @@
Parameters:
- The trust level + @@ -8214,7 +8214,7 @@
Parameters:
Source:
@@ -8243,7 +8243,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -8254,7 +8254,7 @@
Returns:
-WineShortcut +QuickScript
@@ -9579,13 +9579,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -9607,8 +9611,6 @@
Parameters:
Type - Attributes - @@ -9634,20 +9636,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -9688,7 +9680,7 @@
Parameters:
Source:
@@ -9716,6 +9708,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -9724,10 +9720,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -9745,7 +9738,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -9846,7 +9839,7 @@
Parameters:
Source:
@@ -9875,7 +9868,7 @@
Returns:
- The Resource object + The Downloader object
@@ -9886,7 +9879,7 @@
Returns:
-Resource +Downloader
@@ -9904,17 +9897,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -9936,6 +9925,8 @@
Parameters:
Type + Attributes + @@ -9961,10 +9952,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -10005,7 +10006,7 @@
Parameters:
Source:
@@ -10033,10 +10034,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -10045,7 +10042,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -10079,7 +10079,7 @@
Returns:

default()

-
Resource class
+
Setting to enable/disable GLSL
@@ -10142,7 +10142,7 @@

new defaultSource:
@@ -11954,7 +11954,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -11962,7 +11962,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -12014,7 +12014,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -12055,7 +12055,7 @@
Parameters:
Source:
@@ -12084,7 +12084,7 @@
Returns:
- The Resource object + The Downloader object
@@ -12095,7 +12095,7 @@
Returns:
-Resource +Downloader
@@ -12113,7 +12113,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -12121,7 +12121,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -12173,7 +12173,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -12214,7 +12214,7 @@
Parameters:
Source:
@@ -12243,7 +12243,7 @@
Returns:
- The Downloader object + The Resource object
@@ -12254,7 +12254,7 @@
Returns:
-Downloader +Resource
@@ -12272,7 +12272,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -12280,7 +12280,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -12324,7 +12324,7 @@

createSource:
@@ -12352,6 +12352,10 @@

createReturns:

+
+ The Wine object +
+
@@ -12360,7 +12364,7 @@
Returns:
-void +Wine
@@ -12378,7 +12382,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -12386,7 +12390,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -12430,7 +12434,7 @@

createSource:
@@ -12458,10 +12462,6 @@

createReturns:

-
- The Wine object -
-
@@ -12470,7 +12470,7 @@
Returns:
-Wine +void
@@ -12965,7 +12965,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -12973,7 +12973,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -13025,7 +13025,7 @@

Parameters:
- variables + The environment variables @@ -13066,7 +13066,7 @@
Parameters:
Source:
@@ -13095,7 +13095,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -13106,7 +13106,7 @@
Returns:
-QuickScript +WineShortcut
@@ -13124,7 +13124,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -13132,7 +13132,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -13184,7 +13184,7 @@

Parameters:
- The environment variables + variables @@ -13225,7 +13225,7 @@
Parameters:
Source:
@@ -13254,7 +13254,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -13265,7 +13265,7 @@
Returns:
-WineShortcut +QuickScript
@@ -13539,7 +13539,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -13547,7 +13547,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -13558,55 +13558,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -13640,7 +13591,7 @@
Parameters:
Source:
@@ -13669,7 +13620,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -13680,7 +13631,7 @@
Returns:
-Resource +string
@@ -13698,7 +13649,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -13706,7 +13657,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -13750,7 +13701,7 @@

getSource:
@@ -13779,7 +13730,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -13790,7 +13741,7 @@
Returns:
-string +String
@@ -13808,7 +13759,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -13816,7 +13767,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -13827,114 +13778,163 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -15034,155 +15034,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -15351,7 +15202,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -15359,7 +15210,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -15411,7 +15411,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -15452,7 +15452,7 @@
Parameters:
Source:
@@ -15481,7 +15481,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -15492,7 +15492,7 @@
Returns:
-WineShortcut +Resource
@@ -15510,7 +15510,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -15518,7 +15518,7 @@

name - Sets the resource name + Sets the shortcut name @@ -15570,7 +15570,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -15611,7 +15611,7 @@
Parameters:
Source:
@@ -15640,7 +15640,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -15651,7 +15651,7 @@
Returns:
-Resource +WineShortcut
@@ -16619,6 +16619,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -16985,161 +17140,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -18003,7 +18003,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -18011,7 +18011,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -18047,7 +18047,7 @@

Parameters:
- trustlevel + trustLevel @@ -18063,7 +18063,7 @@
Parameters:
- + The trust level @@ -18104,7 +18104,7 @@
Parameters:
Source:
@@ -18133,7 +18133,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -18144,7 +18144,7 @@
Returns:
-QuickScript +WineShortcut
@@ -18162,7 +18162,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -18170,7 +18170,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -18206,7 +18206,7 @@

Parameters:
- trustLevel + trustlevel @@ -18222,7 +18222,7 @@
Parameters:
- The trust level + @@ -18263,7 +18263,7 @@
Parameters:
Source:
@@ -18292,7 +18292,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -18303,7 +18303,7 @@
Returns:
-WineShortcut +QuickScript
@@ -19628,13 +19628,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -19656,8 +19660,6 @@
Parameters:
Type - Attributes - @@ -19683,20 +19685,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -19737,7 +19729,7 @@
Parameters:
Source:
@@ -19765,6 +19757,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -19773,10 +19769,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -19794,7 +19787,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -19895,7 +19888,7 @@
Parameters:
Source:
@@ -19924,7 +19917,7 @@
Returns:
- The Resource object + The Downloader object
@@ -19935,7 +19928,7 @@
Returns:
-Resource +Downloader
@@ -19953,17 +19946,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -19985,6 +19974,8 @@
Parameters:
Type + Attributes + @@ -20010,10 +20001,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -20054,7 +20055,7 @@
Parameters:
Source:
@@ -20082,10 +20083,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -20094,7 +20091,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -20128,7 +20128,7 @@
Returns:

default()

-
Downloader class
+
Setting to enable/disable UseTakeFocus
@@ -20191,7 +20191,7 @@

new defaultSource:
@@ -22003,7 +22003,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -22011,7 +22011,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -22063,7 +22063,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -22104,7 +22104,7 @@
Parameters:
Source:
@@ -22133,7 +22133,7 @@
Returns:
- The Resource object + The Downloader object
@@ -22144,7 +22144,7 @@
Returns:
-Resource +Downloader
@@ -22162,7 +22162,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -22170,7 +22170,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -22222,7 +22222,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -22263,7 +22263,7 @@
Parameters:
Source:
@@ -22292,7 +22292,7 @@
Returns:
- The Downloader object + The Resource object
@@ -22303,7 +22303,7 @@
Returns:
-Downloader +Resource
@@ -22321,7 +22321,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -22329,7 +22329,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -22373,7 +22373,7 @@

createSource:
@@ -22401,6 +22401,10 @@

createReturns:

+
+ The Wine object +
+
@@ -22409,7 +22413,7 @@
Returns:
-void +Wine
@@ -22427,7 +22431,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -22435,7 +22439,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -22479,7 +22483,7 @@

createSource:
@@ -22507,10 +22511,6 @@

createReturns:

-
- The Wine object -
-
@@ -22519,7 +22519,7 @@
Returns:
-Wine +void
@@ -23014,7 +23014,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -23022,7 +23022,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -23074,7 +23074,7 @@

Parameters:
- variables + The environment variables @@ -23115,7 +23115,7 @@
Parameters:
Source:
@@ -23144,7 +23144,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -23155,7 +23155,7 @@
Returns:
-QuickScript +WineShortcut
@@ -23173,7 +23173,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -23181,7 +23181,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -23233,7 +23233,7 @@

Parameters:
- The environment variables + variables @@ -23274,7 +23274,7 @@
Parameters:
Source:
@@ -23303,7 +23303,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -23314,7 +23314,7 @@
Returns:
-WineShortcut +QuickScript
@@ -23588,7 +23588,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -23596,7 +23596,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -23607,55 +23607,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -23689,7 +23640,7 @@
Parameters:
Source:
@@ -23718,7 +23669,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -23729,7 +23680,7 @@
Returns:
-Resource +string
@@ -23747,7 +23698,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -23755,7 +23706,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -23799,7 +23750,7 @@

getSource:
@@ -23828,7 +23779,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -23839,7 +23790,7 @@
Returns:
-string +String
@@ -23857,7 +23808,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -23865,7 +23816,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -23876,114 +23827,163 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -25083,155 +25083,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -25400,7 +25251,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -25408,7 +25259,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -25460,7 +25460,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -25501,7 +25501,7 @@
Parameters:
Source:
@@ -25530,7 +25530,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -25541,7 +25541,7 @@
Returns:
-WineShortcut +Resource
@@ -25559,7 +25559,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -25567,7 +25567,7 @@

name - Sets the resource name + Sets the shortcut name @@ -25619,7 +25619,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -25660,7 +25660,7 @@
Parameters:
Source:
@@ -25689,7 +25689,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -25700,7 +25700,7 @@
Returns:
-Resource +WineShortcut
@@ -26668,6 +26668,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -27034,161 +27189,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -28052,7 +28052,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -28060,7 +28060,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -28096,7 +28096,7 @@

Parameters:
- trustlevel + trustLevel @@ -28112,7 +28112,7 @@
Parameters:
- + The trust level @@ -28153,7 +28153,7 @@
Parameters:
Source:
@@ -28182,7 +28182,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -28193,7 +28193,7 @@
Returns:
-QuickScript +WineShortcut
@@ -28211,7 +28211,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -28219,7 +28219,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -28255,7 +28255,7 @@

Parameters:
- trustLevel + trustlevel @@ -28271,7 +28271,7 @@
Parameters:
- The trust level + @@ -28312,7 +28312,7 @@
Parameters:
Source:
@@ -28341,7 +28341,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -28352,7 +28352,7 @@
Returns:
-WineShortcut +QuickScript
@@ -29677,13 +29677,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -29705,8 +29709,6 @@
Parameters:
Type - Attributes - @@ -29732,20 +29734,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -29786,7 +29778,7 @@
Parameters:
Source:
@@ -29814,6 +29806,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -29822,10 +29818,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -29843,7 +29836,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -29944,7 +29937,7 @@
Parameters:
Source:
@@ -29973,7 +29966,7 @@
Returns:
- The Resource object + The Downloader object
@@ -29984,7 +29977,7 @@
Returns:
-Resource +Downloader
@@ -30002,17 +29995,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -30034,6 +30023,8 @@
Parameters:
Type + Attributes + @@ -30059,10 +30050,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -30103,7 +30104,7 @@
Parameters:
Source:
@@ -30131,10 +30132,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -30143,7 +30140,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -30177,7 +30177,7 @@
Returns:

default()

-
Wine engine
+
setting to set always offscreen
@@ -30240,7 +30240,7 @@

new defaultSource:
@@ -32052,7 +32052,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -32060,7 +32060,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -32112,7 +32112,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -32153,7 +32153,7 @@
Parameters:
Source:
@@ -32182,7 +32182,7 @@
Returns:
- The Resource object + The Downloader object
@@ -32193,7 +32193,7 @@
Returns:
-Resource +Downloader
@@ -32211,7 +32211,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -32219,7 +32219,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -32271,7 +32271,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -32312,7 +32312,7 @@
Parameters:
Source:
@@ -32341,7 +32341,7 @@
Returns:
- The Downloader object + The Resource object
@@ -32352,7 +32352,7 @@
Returns:
-Downloader +Resource
@@ -32370,7 +32370,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -32378,7 +32378,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -32422,7 +32422,7 @@

createSource:
@@ -32450,6 +32450,10 @@

createReturns:

+
+ The Wine object +
+
@@ -32458,7 +32462,7 @@
Returns:
-void +Wine
@@ -32476,7 +32480,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -32484,7 +32488,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -32528,7 +32532,7 @@

createSource:
@@ -32556,10 +32560,6 @@

createReturns:

-
- The Wine object -
-
@@ -32568,7 +32568,7 @@
Returns:
-Wine +void
@@ -33063,7 +33063,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -33071,7 +33071,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -33123,7 +33123,7 @@

Parameters:
- variables + The environment variables @@ -33164,7 +33164,7 @@
Parameters:
Source:
@@ -33193,7 +33193,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -33204,7 +33204,7 @@
Returns:
-QuickScript +WineShortcut
@@ -33222,7 +33222,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -33230,7 +33230,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -33282,7 +33282,7 @@

Parameters:
- The environment variables + variables @@ -33323,7 +33323,7 @@
Parameters:
Source:
@@ -33352,7 +33352,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -33363,7 +33363,7 @@
Returns:
-WineShortcut +QuickScript
@@ -33637,7 +33637,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -33645,7 +33645,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -33656,55 +33656,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -33738,7 +33689,7 @@
Parameters:
Source:
@@ -33767,7 +33718,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -33778,7 +33729,7 @@
Returns:
-Resource +string
@@ -33796,7 +33747,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -33804,7 +33755,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -33848,7 +33799,7 @@

getSource:
@@ -33877,7 +33828,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -33888,7 +33839,7 @@
Returns:
-string +String
@@ -33906,7 +33857,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -33914,7 +33865,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -33925,114 +33876,163 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -35132,155 +35132,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -35449,7 +35300,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -35457,7 +35308,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -35509,7 +35509,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -35550,7 +35550,7 @@
Parameters:
Source:
@@ -35579,7 +35579,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -35590,7 +35590,7 @@
Returns:
-WineShortcut +Resource
@@ -35608,7 +35608,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -35616,7 +35616,7 @@

name - Sets the resource name + Sets the shortcut name @@ -35668,7 +35668,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -35709,7 +35709,7 @@
Parameters:
Source:
@@ -35738,7 +35738,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -35749,7 +35749,7 @@
Returns:
-Resource +WineShortcut
@@ -36717,6 +36717,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -37083,161 +37238,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -38101,7 +38101,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -38109,7 +38109,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -38145,7 +38145,7 @@

Parameters:
- trustlevel + trustLevel @@ -38161,7 +38161,7 @@
Parameters:
- + The trust level @@ -38202,7 +38202,7 @@
Parameters:
Source:
@@ -38231,7 +38231,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -38242,7 +38242,7 @@
Returns:
-QuickScript +WineShortcut
@@ -38260,7 +38260,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -38268,7 +38268,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -38304,7 +38304,7 @@

Parameters:
- trustLevel + trustlevel @@ -38320,7 +38320,7 @@
Parameters:
- The trust level + @@ -38361,7 +38361,7 @@
Parameters:
Source:
@@ -38390,7 +38390,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -38401,7 +38401,7 @@
Returns:
-WineShortcut +QuickScript
@@ -39726,13 +39726,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -39754,8 +39758,6 @@
Parameters:
Type - Attributes - @@ -39781,20 +39783,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -39835,7 +39827,7 @@
Parameters:
Source:
@@ -39863,6 +39855,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -39871,10 +39867,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -39892,7 +39885,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -39993,7 +39986,7 @@
Parameters:
Source:
@@ -40022,7 +40015,7 @@
Returns:
- The Resource object + The Downloader object
@@ -40033,7 +40026,7 @@
Returns:
-Resource +Downloader
@@ -40051,17 +40044,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -40083,6 +40072,8 @@
Parameters:
Type + Attributes + @@ -40108,10 +40099,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -40152,7 +40153,7 @@
Parameters:
Source:
@@ -40180,10 +40181,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -40192,7 +40189,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -40226,7 +40226,7 @@
Returns:

default()

-
AppResource class
+
Setting to enable/disable Retina
@@ -40289,7 +40289,7 @@

new defaultSource:
@@ -42101,7 +42101,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -42109,7 +42109,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -42161,7 +42161,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -42202,7 +42202,7 @@
Parameters:
Source:
@@ -42231,7 +42231,7 @@
Returns:
- The Resource object + The Downloader object
@@ -42242,7 +42242,7 @@
Returns:
-Resource +Downloader
@@ -42260,7 +42260,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -42268,7 +42268,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -42320,7 +42320,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -42361,7 +42361,7 @@
Parameters:
Source:
@@ -42390,7 +42390,7 @@
Returns:
- The Downloader object + The Resource object
@@ -42401,7 +42401,7 @@
Returns:
-Downloader +Resource
@@ -42419,7 +42419,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -42427,7 +42427,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -42471,7 +42471,7 @@

createSource:
@@ -42499,6 +42499,10 @@

createReturns:

+
+ The Wine object +
+
@@ -42507,7 +42511,7 @@
Returns:
-void +Wine
@@ -42525,7 +42529,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -42533,7 +42537,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -42577,7 +42581,7 @@

createSource:
@@ -42605,10 +42609,6 @@

createReturns:

-
- The Wine object -
-
@@ -42617,7 +42617,7 @@
Returns:
-Wine +void
@@ -43112,7 +43112,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -43120,7 +43120,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -43172,7 +43172,7 @@

Parameters:
- variables + The environment variables @@ -43213,7 +43213,7 @@
Parameters:
Source:
@@ -43242,7 +43242,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -43253,7 +43253,7 @@
Returns:
-QuickScript +WineShortcut
@@ -43271,7 +43271,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -43279,7 +43279,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -43331,7 +43331,7 @@

Parameters:
- The environment variables + variables @@ -43372,7 +43372,7 @@
Parameters:
Source:
@@ -43401,7 +43401,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -43412,7 +43412,7 @@
Returns:
-WineShortcut +QuickScript
@@ -43686,7 +43686,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -43694,7 +43694,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -43705,55 +43705,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -43787,7 +43738,7 @@
Parameters:
Source:
@@ -43816,7 +43767,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -43827,7 +43778,7 @@
Returns:
-Resource +string
@@ -43845,7 +43796,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -43853,7 +43804,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -43897,7 +43848,7 @@

getSource:
@@ -43926,7 +43877,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -43937,7 +43888,7 @@
Returns:
-string +String
@@ -43955,7 +43906,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -43963,7 +43914,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -43974,114 +43925,163 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -45181,155 +45181,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -45498,7 +45349,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -45506,7 +45357,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -45558,7 +45558,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -45599,7 +45599,7 @@
Parameters:
Source:
@@ -45628,7 +45628,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -45639,7 +45639,7 @@
Returns:
-WineShortcut +Resource
@@ -45657,7 +45657,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -45665,7 +45665,7 @@

name - Sets the resource name + Sets the shortcut name @@ -45717,7 +45717,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -45758,7 +45758,7 @@
Parameters:
Source:
@@ -45787,7 +45787,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -45798,7 +45798,7 @@
Returns:
-Resource +WineShortcut
@@ -46766,6 +46766,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -47132,161 +47287,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -48150,7 +48150,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -48158,7 +48158,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -48194,7 +48194,7 @@

Parameters:
- trustlevel + trustLevel @@ -48210,7 +48210,7 @@
Parameters:
- + The trust level @@ -48251,7 +48251,7 @@
Parameters:
Source:
@@ -48280,7 +48280,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -48291,7 +48291,7 @@
Returns:
-QuickScript +WineShortcut
@@ -48309,7 +48309,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -48317,7 +48317,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -48353,7 +48353,7 @@

Parameters:
- trustLevel + trustlevel @@ -48369,7 +48369,7 @@
Parameters:
- The trust level + @@ -48410,7 +48410,7 @@
Parameters:
Source:
@@ -48439,7 +48439,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -48450,7 +48450,7 @@
Returns:
-WineShortcut +QuickScript
@@ -49775,13 +49775,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -49803,8 +49807,6 @@
Parameters:
Type - Attributes - @@ -49830,20 +49832,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -49884,7 +49876,7 @@
Parameters:
Source:
@@ -49912,6 +49904,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -49920,10 +49916,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -49941,7 +49934,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -50042,7 +50035,7 @@
Parameters:
Source:
@@ -50071,7 +50064,7 @@
Returns:
- The Resource object + The Downloader object
@@ -50082,7 +50075,7 @@
Returns:
-Resource +Downloader
@@ -50100,17 +50093,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -50132,6 +50121,8 @@
Parameters:
Type + Attributes + @@ -50157,10 +50148,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -50201,7 +50202,7 @@
Parameters:
Source:
@@ -50229,10 +50230,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -50241,7 +50238,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -50275,7 +50275,7 @@
Returns:

default()

-
A "plain" script installer that is fully configurable.
+
Setting to configure mouse warp override
@@ -50338,7 +50338,7 @@

new defaultSource:
@@ -52150,7 +52150,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -52158,7 +52158,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -52210,7 +52210,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -52251,7 +52251,7 @@
Parameters:
Source:
@@ -52280,7 +52280,7 @@
Returns:
- The Resource object + The Downloader object
@@ -52291,7 +52291,7 @@
Returns:
-Resource +Downloader
@@ -52309,7 +52309,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -52317,7 +52317,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -52369,7 +52369,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -52410,7 +52410,7 @@
Parameters:
Source:
@@ -52439,7 +52439,7 @@
Returns:
- The Downloader object + The Resource object
@@ -52450,7 +52450,7 @@
Returns:
-Downloader +Resource
@@ -52468,7 +52468,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -52476,7 +52476,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -52520,7 +52520,7 @@

createSource:
@@ -52548,6 +52548,10 @@

createReturns:

+
+ The Wine object +
+
@@ -52556,7 +52560,7 @@
Returns:
-void +Wine
@@ -52574,7 +52578,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -52582,7 +52586,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -52626,7 +52630,7 @@

createSource:
@@ -52654,10 +52658,6 @@

createReturns:

-
- The Wine object -
-
@@ -52666,7 +52666,7 @@
Returns:
-Wine +void
@@ -53161,7 +53161,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -53169,7 +53169,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -53221,7 +53221,7 @@

Parameters:
- variables + The environment variables @@ -53262,7 +53262,7 @@
Parameters:
Source:
@@ -53291,7 +53291,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -53302,7 +53302,7 @@
Returns:
-QuickScript +WineShortcut
@@ -53320,7 +53320,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -53328,7 +53328,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -53380,7 +53380,7 @@

Parameters:
- The environment variables + variables @@ -53421,7 +53421,7 @@
Parameters:
Source:
@@ -53450,7 +53450,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -53461,7 +53461,7 @@
Returns:
-WineShortcut +QuickScript
@@ -53735,7 +53735,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -53743,7 +53743,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -53754,55 +53754,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -53836,7 +53787,7 @@
Parameters:
Source:
@@ -53865,7 +53816,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -53876,7 +53827,7 @@
Returns:
-Resource +string
@@ -53894,7 +53845,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -53902,7 +53853,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -53946,7 +53897,7 @@

getSource:
@@ -53975,7 +53926,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -53986,7 +53937,7 @@
Returns:
-string +String
@@ -54004,7 +53955,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -54012,7 +53963,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -54023,114 +53974,163 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -55230,155 +55230,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -55547,7 +55398,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -55555,7 +55406,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -55607,7 +55607,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -55648,7 +55648,7 @@
Parameters:
Source:
@@ -55677,7 +55677,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -55688,7 +55688,7 @@
Returns:
-WineShortcut +Resource
@@ -55706,7 +55706,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -55714,7 +55714,7 @@

name - Sets the resource name + Sets the shortcut name @@ -55766,7 +55766,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -55807,7 +55807,7 @@
Parameters:
Source:
@@ -55836,7 +55836,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -55847,7 +55847,7 @@
Returns:
-Resource +WineShortcut
@@ -56815,6 +56815,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -57181,161 +57336,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -58199,7 +58199,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -58207,7 +58207,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -58243,7 +58243,7 @@

Parameters:
- trustlevel + trustLevel @@ -58259,7 +58259,7 @@
Parameters:
- + The trust level @@ -58300,7 +58300,7 @@
Parameters:
Source:
@@ -58329,7 +58329,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -58340,7 +58340,7 @@
Returns:
-QuickScript +WineShortcut
@@ -58358,7 +58358,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -58366,7 +58366,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -58402,7 +58402,7 @@

Parameters:
- trustLevel + trustlevel @@ -58418,7 +58418,7 @@
Parameters:
- The trust level + @@ -58459,7 +58459,7 @@
Parameters:
Source:
@@ -58488,7 +58488,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -58499,7 +58499,7 @@
Returns:
-WineShortcut +QuickScript
@@ -59824,13 +59824,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -59852,8 +59856,6 @@
Parameters:
Type - Attributes - @@ -59879,20 +59881,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -59933,7 +59925,7 @@
Parameters:
Source:
@@ -59961,6 +59953,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -59969,10 +59965,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -59990,7 +59983,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -60091,7 +60084,7 @@
Parameters:
Source:
@@ -60120,7 +60113,7 @@
Returns:
- The Resource object + The Downloader object
@@ -60131,7 +60124,7 @@
Returns:
-Resource +Downloader
@@ -60149,17 +60142,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -60181,6 +60170,8 @@
Parameters:
Type + Attributes + @@ -60206,10 +60197,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -60250,7 +60251,7 @@
Parameters:
Source:
@@ -60278,10 +60279,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -60290,7 +60287,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -60324,7 +60324,7 @@
Returns:

default()

-
Verb to install xact
+
Setting to configure multisampling
@@ -60387,7 +60387,7 @@

new defaultSource:
@@ -62199,7 +62199,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -62207,7 +62207,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -62259,7 +62259,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -62300,7 +62300,7 @@
Parameters:
Source:
@@ -62329,7 +62329,7 @@
Returns:
- The Resource object + The Downloader object
@@ -62340,7 +62340,7 @@
Returns:
-Resource +Downloader
@@ -62358,7 +62358,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -62366,7 +62366,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -62418,7 +62418,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -62459,7 +62459,7 @@
Parameters:
Source:
@@ -62488,7 +62488,7 @@
Returns:
- The Downloader object + The Resource object
@@ -62499,7 +62499,7 @@
Returns:
-Downloader +Resource
@@ -62517,7 +62517,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -62525,7 +62525,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -62569,7 +62569,7 @@

createSource:
@@ -62597,6 +62597,10 @@

createReturns:

+
+ The Wine object +
+
@@ -62605,7 +62609,7 @@
Returns:
-void +Wine
@@ -62623,7 +62627,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -62631,7 +62635,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -62675,7 +62679,7 @@

createSource:
@@ -62703,10 +62707,6 @@

createReturns:

-
- The Wine object -
-
@@ -62715,7 +62715,7 @@
Returns:
-Wine +void
@@ -63210,7 +63210,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -63218,7 +63218,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -63270,7 +63270,7 @@

Parameters:
- variables + The environment variables @@ -63311,7 +63311,7 @@
Parameters:
Source:
@@ -63340,7 +63340,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -63351,7 +63351,7 @@
Returns:
-QuickScript +WineShortcut
@@ -63369,7 +63369,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -63377,7 +63377,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -63429,7 +63429,7 @@

Parameters:
- The environment variables + variables @@ -63470,7 +63470,7 @@
Parameters:
Source:
@@ -63499,7 +63499,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -63510,7 +63510,7 @@
Returns:
-WineShortcut +QuickScript
@@ -63784,7 +63784,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -63792,7 +63792,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -63803,55 +63803,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -63885,7 +63836,7 @@
Parameters:
Source:
@@ -63914,7 +63865,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -63925,7 +63876,7 @@
Returns:
-Resource +string
@@ -63943,7 +63894,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -63951,7 +63902,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -63995,7 +63946,7 @@

getSource:
@@ -64024,7 +63975,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -64035,7 +63986,7 @@
Returns:
-string +String
@@ -64053,7 +64004,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -64061,7 +64012,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -64072,114 +64023,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -64215,7 +64105,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -65279,155 +65279,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -65596,7 +65447,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -65604,7 +65455,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -65656,7 +65656,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -65697,7 +65697,7 @@
Parameters:
Source:
@@ -65726,7 +65726,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -65737,7 +65737,7 @@
Returns:
-WineShortcut +Resource
@@ -65755,7 +65755,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -65763,7 +65763,7 @@

name - Sets the resource name + Sets the shortcut name @@ -65815,7 +65815,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -65856,7 +65856,7 @@
Parameters:
Source:
@@ -65885,7 +65885,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -65896,7 +65896,7 @@
Returns:
-Resource +WineShortcut
@@ -66864,6 +66864,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -67230,161 +67385,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -68248,7 +68248,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -68256,7 +68256,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -68292,7 +68292,7 @@

Parameters:
- trustlevel + trustLevel @@ -68308,7 +68308,7 @@
Parameters:
- + The trust level @@ -68349,7 +68349,7 @@
Parameters:
Source:
@@ -68378,7 +68378,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -68389,7 +68389,7 @@
Returns:
-QuickScript +WineShortcut
@@ -68407,7 +68407,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -68415,7 +68415,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -68451,7 +68451,7 @@

Parameters:
- trustLevel + trustlevel @@ -68467,7 +68467,7 @@
Parameters:
- The trust level + @@ -68508,7 +68508,7 @@
Parameters:
Source:
@@ -68537,7 +68537,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -68548,7 +68548,7 @@
Returns:
-WineShortcut +QuickScript
@@ -69873,13 +69873,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -69901,8 +69905,6 @@
Parameters:
Type - Attributes - @@ -69928,20 +69930,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -69982,7 +69974,7 @@
Parameters:
Source:
@@ -70010,6 +70002,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -70018,10 +70014,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -70039,7 +70032,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -70140,7 +70133,7 @@
Parameters:
Source:
@@ -70169,7 +70162,7 @@
Returns:
- The Resource object + The Downloader object
@@ -70180,7 +70173,7 @@
Returns:
-Resource +Downloader
@@ -70198,17 +70191,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -70230,6 +70219,8 @@
Parameters:
Type + Attributes + @@ -70255,10 +70246,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -70299,7 +70300,7 @@
Parameters:
Source:
@@ -70327,10 +70328,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -70339,7 +70336,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -70373,7 +70373,7 @@
Returns:

default()

-
Verb to install all the necessary things to run winevulkan (even inside wine mainline or newest wine-staging)
+
Setting to set the offscreen rendering mode
@@ -70436,7 +70436,7 @@

new defaultSource:
@@ -72248,7 +72248,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -72256,7 +72256,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -72308,7 +72308,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -72349,7 +72349,7 @@
Parameters:
Source:
@@ -72378,7 +72378,7 @@
Returns:
- The Resource object + The Downloader object
@@ -72389,7 +72389,7 @@
Returns:
-Resource +Downloader
@@ -72407,7 +72407,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -72415,7 +72415,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -72467,7 +72467,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -72508,7 +72508,7 @@
Parameters:
Source:
@@ -72537,7 +72537,7 @@
Returns:
- The Downloader object + The Resource object
@@ -72548,7 +72548,7 @@
Returns:
-Downloader +Resource
@@ -72566,7 +72566,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -72574,7 +72574,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -72618,7 +72618,7 @@

createSource:
@@ -72646,6 +72646,10 @@

createReturns:

+
+ The Wine object +
+
@@ -72654,7 +72658,7 @@
Returns:
-void +Wine
@@ -72672,7 +72676,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -72680,7 +72684,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -72724,7 +72728,7 @@

createSource:
@@ -72752,10 +72756,6 @@

createReturns:

-
- The Wine object -
-
@@ -72764,7 +72764,7 @@
Returns:
-Wine +void
@@ -73259,7 +73259,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -73267,7 +73267,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -73319,7 +73319,7 @@

Parameters:
- variables + The environment variables @@ -73360,7 +73360,7 @@
Parameters:
Source:
@@ -73389,7 +73389,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -73400,7 +73400,7 @@
Returns:
-QuickScript +WineShortcut
@@ -73418,7 +73418,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -73426,7 +73426,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -73478,7 +73478,7 @@

Parameters:
- The environment variables + variables @@ -73519,7 +73519,7 @@
Parameters:
Source:
@@ -73548,7 +73548,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -73559,7 +73559,7 @@
Returns:
-WineShortcut +QuickScript
@@ -73833,7 +73833,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -73841,7 +73841,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -73852,55 +73852,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -73934,7 +73885,7 @@
Parameters:
Source:
@@ -73963,7 +73914,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -73974,7 +73925,7 @@
Returns:
-Resource +string
@@ -73992,7 +73943,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -74000,7 +73951,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -74044,7 +73995,7 @@

getSource:
@@ -74073,7 +74024,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -74084,7 +74035,7 @@
Returns:
-string +String
@@ -74102,7 +74053,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -74110,7 +74061,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -74121,114 +74072,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -74264,7 +74154,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -75328,155 +75328,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -75645,7 +75496,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -75653,7 +75504,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -75705,7 +75705,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -75746,7 +75746,7 @@
Parameters:
Source:
@@ -75775,7 +75775,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -75786,7 +75786,7 @@
Returns:
-WineShortcut +Resource
@@ -75804,7 +75804,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -75812,7 +75812,7 @@

name - Sets the resource name + Sets the shortcut name @@ -75864,7 +75864,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -75905,7 +75905,7 @@
Parameters:
Source:
@@ -75934,7 +75934,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -75945,7 +75945,7 @@
Returns:
-Resource +WineShortcut
@@ -76913,6 +76913,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -77279,161 +77434,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -78297,7 +78297,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -78305,7 +78305,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -78341,7 +78341,7 @@

Parameters:
- trustlevel + trustLevel @@ -78357,7 +78357,7 @@
Parameters:
- + The trust level @@ -78398,7 +78398,7 @@
Parameters:
Source:
@@ -78427,7 +78427,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -78438,7 +78438,7 @@
Returns:
-QuickScript +WineShortcut
@@ -78456,7 +78456,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -78464,7 +78464,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -78500,7 +78500,7 @@

Parameters:
- trustLevel + trustlevel @@ -78516,7 +78516,7 @@
Parameters:
- The trust level + @@ -78557,7 +78557,7 @@
Parameters:
Source:
@@ -78586,7 +78586,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -78597,7 +78597,7 @@
Returns:
-WineShortcut +QuickScript
@@ -79922,13 +79922,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -79950,8 +79954,6 @@
Parameters:
Type - Attributes - @@ -79977,20 +79979,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -80031,7 +80023,7 @@
Parameters:
Source:
@@ -80059,6 +80051,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -80067,10 +80063,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -80088,7 +80081,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -80189,7 +80182,7 @@
Parameters:
Source:
@@ -80218,7 +80211,7 @@
Returns:
- The Resource object + The Downloader object
@@ -80229,7 +80222,7 @@
Returns:
-Resource +Downloader
@@ -80247,17 +80240,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -80279,6 +80268,8 @@
Parameters:
Type + Attributes + @@ -80304,10 +80295,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -80348,7 +80349,7 @@
Parameters:
Source:
@@ -80376,10 +80377,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -80388,7 +80385,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -80422,7 +80422,7 @@
Returns:

default()

-
Verb to install vcrun6sp6
+
Setting to set the render target lock mode
@@ -80485,7 +80485,7 @@

new defaultSource:
@@ -82297,7 +82297,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -82305,7 +82305,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -82357,7 +82357,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -82398,7 +82398,7 @@
Parameters:
Source:
@@ -82427,7 +82427,7 @@
Returns:
- The Resource object + The Downloader object
@@ -82438,7 +82438,7 @@
Returns:
-Resource +Downloader
@@ -82456,7 +82456,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -82464,7 +82464,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -82516,7 +82516,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -82557,7 +82557,7 @@
Parameters:
Source:
@@ -82586,7 +82586,7 @@
Returns:
- The Downloader object + The Resource object
@@ -82597,7 +82597,7 @@
Returns:
-Downloader +Resource
@@ -82615,7 +82615,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -82623,7 +82623,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -82667,7 +82667,7 @@

createSource:
@@ -82695,6 +82695,10 @@

createReturns:

+
+ The Wine object +
+
@@ -82703,7 +82707,7 @@
Returns:
-void +Wine
@@ -82721,7 +82725,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -82729,7 +82733,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -82773,7 +82777,7 @@

createSource:
@@ -82801,10 +82805,6 @@

createReturns:

-
- The Wine object -
-
@@ -82813,7 +82813,7 @@
Returns:
-Wine +void
@@ -83308,7 +83308,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -83316,7 +83316,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -83368,7 +83368,7 @@

Parameters:
- variables + The environment variables @@ -83409,7 +83409,7 @@
Parameters:
Source:
@@ -83438,7 +83438,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -83449,7 +83449,7 @@
Returns:
-QuickScript +WineShortcut
@@ -83467,7 +83467,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -83475,7 +83475,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -83527,7 +83527,7 @@

Parameters:
- The environment variables + variables @@ -83568,7 +83568,7 @@
Parameters:
Source:
@@ -83597,7 +83597,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -83608,7 +83608,7 @@
Returns:
-WineShortcut +QuickScript
@@ -83882,7 +83882,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -83890,7 +83890,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -83901,55 +83901,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -83983,7 +83934,7 @@
Parameters:
Source:
@@ -84012,7 +83963,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -84023,7 +83974,7 @@
Returns:
-Resource +string
@@ -84041,7 +83992,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -84049,7 +84000,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -84093,7 +84044,7 @@

getSource:
@@ -84122,7 +84073,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -84133,7 +84084,7 @@
Returns:
-string +String
@@ -84151,7 +84102,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -84159,7 +84110,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -84170,114 +84121,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -84313,7 +84203,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -85377,155 +85377,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -85694,7 +85545,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -85702,7 +85553,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -85754,7 +85754,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -85795,7 +85795,7 @@
Parameters:
Source:
@@ -85824,7 +85824,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -85835,7 +85835,7 @@
Returns:
-WineShortcut +Resource
@@ -85853,7 +85853,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -85861,7 +85861,7 @@

name - Sets the resource name + Sets the shortcut name @@ -85913,7 +85913,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -85954,7 +85954,7 @@
Parameters:
Source:
@@ -85983,7 +85983,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -85994,7 +85994,7 @@
Returns:
-Resource +WineShortcut
@@ -86962,6 +86962,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -87328,161 +87483,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -88346,7 +88346,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -88354,7 +88354,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -88390,7 +88390,7 @@

Parameters:
- trustlevel + trustLevel @@ -88406,7 +88406,7 @@
Parameters:
- + The trust level @@ -88447,7 +88447,7 @@
Parameters:
Source:
@@ -88476,7 +88476,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -88487,7 +88487,7 @@
Returns:
-QuickScript +WineShortcut
@@ -88505,7 +88505,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -88513,7 +88513,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -88549,7 +88549,7 @@

Parameters:
- trustLevel + trustlevel @@ -88565,7 +88565,7 @@
Parameters:
- The trust level + @@ -88606,7 +88606,7 @@
Parameters:
Source:
@@ -88635,7 +88635,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -88646,7 +88646,7 @@
Returns:
-WineShortcut +QuickScript
@@ -89971,13 +89971,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -89999,8 +90003,6 @@
Parameters:
Type - Attributes - @@ -90026,20 +90028,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -90080,7 +90072,7 @@
Parameters:
Source:
@@ -90108,6 +90100,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -90116,10 +90112,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -90137,7 +90130,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -90238,7 +90231,7 @@
Parameters:
Source:
@@ -90267,7 +90260,7 @@
Returns:
- The Resource object + The Downloader object
@@ -90278,7 +90271,7 @@
Returns:
-Resource +Downloader
@@ -90296,17 +90289,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -90328,6 +90317,8 @@
Parameters:
Type + Attributes + @@ -90353,10 +90344,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -90397,7 +90398,7 @@
Parameters:
Source:
@@ -90425,10 +90426,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -90437,7 +90434,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -90471,7 +90471,7 @@
Returns:

default()

-
Verb to install vcrun2017
+
Setting to configure strict draw ordering
@@ -90534,7 +90534,7 @@

new defaultSource:
@@ -92346,7 +92346,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -92354,7 +92354,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -92406,7 +92406,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -92447,7 +92447,7 @@
Parameters:
Source:
@@ -92476,7 +92476,7 @@
Returns:
- The Resource object + The Downloader object
@@ -92487,7 +92487,7 @@
Returns:
-Resource +Downloader
@@ -92505,7 +92505,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -92513,7 +92513,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -92565,7 +92565,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -92606,7 +92606,7 @@
Parameters:
Source:
@@ -92635,7 +92635,7 @@
Returns:
- The Downloader object + The Resource object
@@ -92646,7 +92646,7 @@
Returns:
-Downloader +Resource
@@ -92664,7 +92664,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -92672,7 +92672,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -92716,7 +92716,7 @@

createSource:
@@ -92744,6 +92744,10 @@

createReturns:

+
+ The Wine object +
+
@@ -92752,7 +92756,7 @@
Returns:
-void +Wine
@@ -92770,7 +92774,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -92778,7 +92782,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -92822,7 +92826,7 @@

createSource:
@@ -92850,10 +92854,6 @@

createReturns:

-
- The Wine object -
-
@@ -92862,7 +92862,7 @@
Returns:
-Wine +void
@@ -93357,7 +93357,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -93365,7 +93365,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -93417,7 +93417,7 @@

Parameters:
- variables + The environment variables @@ -93458,7 +93458,7 @@
Parameters:
Source:
@@ -93487,7 +93487,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -93498,7 +93498,7 @@
Returns:
-QuickScript +WineShortcut
@@ -93516,7 +93516,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -93524,7 +93524,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -93576,7 +93576,7 @@

Parameters:
- The environment variables + variables @@ -93617,7 +93617,7 @@
Parameters:
Source:
@@ -93646,7 +93646,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -93657,7 +93657,7 @@
Returns:
-WineShortcut +QuickScript
@@ -93931,7 +93931,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -93939,7 +93939,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -93950,55 +93950,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -94032,7 +93983,7 @@
Parameters:
Source:
@@ -94061,7 +94012,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -94072,7 +94023,7 @@
Returns:
-Resource +string
@@ -94090,7 +94041,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -94098,7 +94049,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -94142,7 +94093,7 @@

getSource:
@@ -94171,7 +94122,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -94182,7 +94133,7 @@
Returns:
-string +String
@@ -94200,7 +94151,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -94208,7 +94159,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -94219,114 +94170,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -94362,7 +94252,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -95426,155 +95426,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -95743,7 +95594,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -95751,7 +95602,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -95803,7 +95803,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -95844,7 +95844,7 @@
Parameters:
Source:
@@ -95873,7 +95873,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -95884,7 +95884,7 @@
Returns:
-WineShortcut +Resource
@@ -95902,7 +95902,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -95910,7 +95910,7 @@

name - Sets the resource name + Sets the shortcut name @@ -95962,7 +95962,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -96003,7 +96003,7 @@
Parameters:
Source:
@@ -96032,7 +96032,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -96043,7 +96043,7 @@
Returns:
-Resource +WineShortcut
@@ -97011,6 +97011,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -97377,161 +97532,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -98395,7 +98395,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -98403,7 +98403,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -98439,7 +98439,7 @@

Parameters:
- trustlevel + trustLevel @@ -98455,7 +98455,7 @@
Parameters:
- + The trust level @@ -98496,7 +98496,7 @@
Parameters:
Source:
@@ -98525,7 +98525,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -98536,7 +98536,7 @@
Returns:
-QuickScript +WineShortcut
@@ -98554,7 +98554,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -98562,7 +98562,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -98598,7 +98598,7 @@

Parameters:
- trustLevel + trustlevel @@ -98614,7 +98614,7 @@
Parameters:
- The trust level + @@ -98655,7 +98655,7 @@
Parameters:
Source:
@@ -98684,7 +98684,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -98695,7 +98695,7 @@
Returns:
-WineShortcut +QuickScript
@@ -100020,13 +100020,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -100048,8 +100052,6 @@
Parameters:
Type - Attributes - @@ -100075,20 +100077,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -100129,7 +100121,7 @@
Parameters:
Source:
@@ -100157,6 +100149,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -100165,10 +100161,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -100186,7 +100179,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -100287,7 +100280,7 @@
Parameters:
Source:
@@ -100316,7 +100309,7 @@
Returns:
- The Resource object + The Downloader object
@@ -100327,7 +100320,7 @@
Returns:
-Resource +Downloader
@@ -100345,17 +100338,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -100377,6 +100366,8 @@
Parameters:
Type + Attributes + @@ -100402,10 +100393,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -100446,7 +100447,7 @@
Parameters:
Source:
@@ -100474,10 +100475,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -100486,7 +100483,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -100520,7 +100520,7 @@
Returns:

default()

-
Verb to install vcrun2015
+
Setting to set the video memory size
@@ -100583,7 +100583,7 @@

new defaultSource:
@@ -102395,7 +102395,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -102403,7 +102403,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -102455,7 +102455,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -102496,7 +102496,7 @@
Parameters:
Source:
@@ -102525,7 +102525,7 @@
Returns:
- The Resource object + The Downloader object
@@ -102536,7 +102536,7 @@
Returns:
-Resource +Downloader
@@ -102554,7 +102554,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -102562,7 +102562,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -102614,7 +102614,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -102655,7 +102655,7 @@
Parameters:
Source:
@@ -102684,7 +102684,7 @@
Returns:
- The Downloader object + The Resource object
@@ -102695,7 +102695,7 @@
Returns:
-Downloader +Resource
@@ -102713,7 +102713,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -102721,7 +102721,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -102765,7 +102765,7 @@

createSource:
@@ -102793,6 +102793,10 @@

createReturns:

+
+ The Wine object +
+
@@ -102801,7 +102805,7 @@
Returns:
-void +Wine
@@ -102819,7 +102823,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -102827,7 +102831,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -102871,7 +102875,7 @@

createSource:
@@ -102899,10 +102903,6 @@

createReturns:

-
- The Wine object -
-
@@ -102911,7 +102911,7 @@
Returns:
-Wine +void
@@ -103406,7 +103406,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -103414,7 +103414,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -103466,7 +103466,7 @@

Parameters:
- variables + The environment variables @@ -103507,7 +103507,7 @@
Parameters:
Source:
@@ -103536,7 +103536,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -103547,7 +103547,7 @@
Returns:
-QuickScript +WineShortcut
@@ -103565,7 +103565,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -103573,7 +103573,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -103625,7 +103625,7 @@

Parameters:
- The environment variables + variables @@ -103666,7 +103666,7 @@
Parameters:
Source:
@@ -103695,7 +103695,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -103706,7 +103706,7 @@
Returns:
-WineShortcut +QuickScript
@@ -103980,7 +103980,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -103988,7 +103988,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -103999,55 +103999,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -104081,7 +104032,7 @@
Parameters:
Source:
@@ -104110,7 +104061,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -104121,7 +104072,7 @@
Returns:
-Resource +string
@@ -104139,7 +104090,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -104147,7 +104098,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -104191,7 +104142,7 @@

getSource:
@@ -104220,7 +104171,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -104231,7 +104182,7 @@
Returns:
-string +String
@@ -104249,7 +104200,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -104257,7 +104208,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -104268,114 +104219,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -104411,7 +104301,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -105475,155 +105475,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -105792,7 +105643,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -105800,7 +105651,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -105852,7 +105852,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -105893,7 +105893,7 @@
Parameters:
Source:
@@ -105922,7 +105922,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -105933,7 +105933,7 @@
Returns:
-WineShortcut +Resource
@@ -105951,7 +105951,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -105959,7 +105959,7 @@

name - Sets the resource name + Sets the shortcut name @@ -106011,7 +106011,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -106052,7 +106052,7 @@
Parameters:
Source:
@@ -106081,7 +106081,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -106092,7 +106092,7 @@
Returns:
-Resource +WineShortcut
@@ -107060,6 +107060,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -107426,161 +107581,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -108444,7 +108444,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -108452,7 +108452,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -108488,7 +108488,7 @@

Parameters:
- trustlevel + trustLevel @@ -108504,7 +108504,7 @@
Parameters:
- + The trust level @@ -108545,7 +108545,7 @@
Parameters:
Source:
@@ -108574,7 +108574,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -108585,7 +108585,7 @@
Returns:
-QuickScript +WineShortcut
@@ -108603,7 +108603,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -108611,7 +108611,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -108647,7 +108647,7 @@

Parameters:
- trustLevel + trustlevel @@ -108663,7 +108663,7 @@
Parameters:
- The trust level + @@ -108704,7 +108704,7 @@
Parameters:
Source:
@@ -108733,7 +108733,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -108744,7 +108744,7 @@
Returns:
-WineShortcut +QuickScript
@@ -110069,13 +110069,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -110097,8 +110101,6 @@
Parameters:
Type - Attributes - @@ -110124,20 +110126,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -110178,7 +110170,7 @@
Parameters:
Source:
@@ -110206,6 +110198,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -110214,10 +110210,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -110235,7 +110228,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -110336,7 +110329,7 @@
Parameters:
Source:
@@ -110365,7 +110358,7 @@
Returns:
- The Resource object + The Downloader object
@@ -110376,7 +110369,7 @@
Returns:
-Resource +Downloader
@@ -110394,17 +110387,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -110426,6 +110415,8 @@
Parameters:
Type + Attributes + @@ -110451,10 +110442,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -110495,7 +110496,7 @@
Parameters:
Source:
@@ -110523,10 +110524,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -110535,7 +110532,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -110569,7 +110569,7 @@
Returns:

default()

-
Verb to install vcrun2013
+
Resource class
@@ -110632,7 +110632,7 @@

new defaultSource:
@@ -112444,7 +112444,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -112452,7 +112452,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -112504,7 +112504,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -112545,7 +112545,7 @@
Parameters:
Source:
@@ -112574,7 +112574,7 @@
Returns:
- The Resource object + The Downloader object
@@ -112585,7 +112585,7 @@
Returns:
-Resource +Downloader
@@ -112603,7 +112603,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -112611,7 +112611,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -112663,7 +112663,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -112704,7 +112704,7 @@
Parameters:
Source:
@@ -112733,7 +112733,7 @@
Returns:
- The Downloader object + The Resource object
@@ -112744,7 +112744,7 @@
Returns:
-Downloader +Resource
@@ -112762,7 +112762,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -112770,7 +112770,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -112814,7 +112814,7 @@

createSource:
@@ -112842,6 +112842,10 @@

createReturns:

+
+ The Wine object +
+
@@ -112850,7 +112854,7 @@
Returns:
-void +Wine
@@ -112868,7 +112872,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -112876,7 +112880,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -112920,7 +112924,7 @@

createSource:
@@ -112948,10 +112952,6 @@

createReturns:

-
- The Wine object -
-
@@ -112960,7 +112960,7 @@
Returns:
-Wine +void
@@ -113455,7 +113455,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -113463,7 +113463,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -113515,7 +113515,7 @@

Parameters:
- variables + The environment variables @@ -113556,7 +113556,7 @@
Parameters:
Source:
@@ -113585,7 +113585,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -113596,7 +113596,7 @@
Returns:
-QuickScript +WineShortcut
@@ -113614,7 +113614,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -113622,7 +113622,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -113674,7 +113674,7 @@

Parameters:
- The environment variables + variables @@ -113715,7 +113715,7 @@
Parameters:
Source:
@@ -113744,7 +113744,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -113755,7 +113755,7 @@
Returns:
-WineShortcut +QuickScript
@@ -114029,7 +114029,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -114037,7 +114037,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -114048,55 +114048,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -114130,7 +114081,7 @@
Parameters:
Source:
@@ -114159,7 +114110,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -114170,7 +114121,7 @@
Returns:
-Resource +string
@@ -114188,7 +114139,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -114196,7 +114147,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -114240,7 +114191,7 @@

getSource:
@@ -114269,7 +114220,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -114280,7 +114231,7 @@
Returns:
-string +String
@@ -114298,7 +114249,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -114306,7 +114257,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -114317,114 +114268,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -114460,7 +114350,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -115524,155 +115524,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -115841,7 +115692,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -115849,7 +115700,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -115901,7 +115901,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -115942,7 +115942,7 @@
Parameters:
Source:
@@ -115971,7 +115971,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -115982,7 +115982,7 @@
Returns:
-WineShortcut +Resource
@@ -116000,7 +116000,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -116008,7 +116008,7 @@

name - Sets the resource name + Sets the shortcut name @@ -116060,7 +116060,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -116101,7 +116101,7 @@
Parameters:
Source:
@@ -116130,7 +116130,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -116141,7 +116141,7 @@
Returns:
-Resource +WineShortcut
@@ -117109,6 +117109,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -117475,161 +117630,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -118493,7 +118493,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -118501,7 +118501,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -118537,7 +118537,7 @@

Parameters:
- trustlevel + trustLevel @@ -118553,7 +118553,7 @@
Parameters:
- + The trust level @@ -118594,7 +118594,7 @@
Parameters:
Source:
@@ -118623,7 +118623,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -118634,7 +118634,7 @@
Returns:
-QuickScript +WineShortcut
@@ -118652,7 +118652,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -118660,7 +118660,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -118696,7 +118696,7 @@

Parameters:
- trustLevel + trustlevel @@ -118712,7 +118712,7 @@
Parameters:
- The trust level + @@ -118753,7 +118753,7 @@
Parameters:
Source:
@@ -118782,7 +118782,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -118793,7 +118793,7 @@
Returns:
-WineShortcut +QuickScript
@@ -120118,13 +120118,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -120146,8 +120150,6 @@
Parameters:
Type - Attributes - @@ -120173,20 +120175,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -120227,7 +120219,7 @@
Parameters:
Source:
@@ -120255,6 +120247,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -120263,10 +120259,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -120284,7 +120277,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -120385,7 +120378,7 @@
Parameters:
Source:
@@ -120414,7 +120407,7 @@
Returns:
- The Resource object + The Downloader object
@@ -120425,7 +120418,7 @@
Returns:
-Resource +Downloader
@@ -120443,17 +120436,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -120475,6 +120464,8 @@
Parameters:
Type + Attributes + @@ -120500,10 +120491,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -120544,7 +120545,7 @@
Parameters:
Source:
@@ -120572,10 +120573,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -120584,7 +120581,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -120618,7 +120618,7 @@
Returns:

default()

-
Verb to install vcrun2012
+
Downloader class
@@ -120681,7 +120681,7 @@

new defaultSource:
@@ -122493,7 +122493,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -122501,7 +122501,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -122553,7 +122553,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -122594,7 +122594,7 @@
Parameters:
Source:
@@ -122623,7 +122623,7 @@
Returns:
- The Resource object + The Downloader object
@@ -122634,7 +122634,7 @@
Returns:
-Resource +Downloader
@@ -122652,7 +122652,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -122660,7 +122660,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -122712,7 +122712,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -122753,7 +122753,7 @@
Parameters:
Source:
@@ -122782,7 +122782,7 @@
Returns:
- The Downloader object + The Resource object
@@ -122793,7 +122793,7 @@
Returns:
-Downloader +Resource
@@ -122811,7 +122811,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -122819,7 +122819,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -122863,7 +122863,7 @@

createSource:
@@ -122891,6 +122891,10 @@

createReturns:

+
+ The Wine object +
+
@@ -122899,7 +122903,7 @@
Returns:
-void +Wine
@@ -122917,7 +122921,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -122925,7 +122929,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -122969,7 +122973,7 @@

createSource:
@@ -122997,10 +123001,6 @@

createReturns:

-
- The Wine object -
-
@@ -123009,7 +123009,7 @@
Returns:
-Wine +void
@@ -123504,7 +123504,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -123512,7 +123512,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -123564,7 +123564,7 @@

Parameters:
- variables + The environment variables @@ -123605,7 +123605,7 @@
Parameters:
Source:
@@ -123634,7 +123634,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -123645,7 +123645,7 @@
Returns:
-QuickScript +WineShortcut
@@ -123663,7 +123663,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -123671,7 +123671,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -123723,7 +123723,7 @@

Parameters:
- The environment variables + variables @@ -123764,7 +123764,7 @@
Parameters:
Source:
@@ -123793,7 +123793,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -123804,7 +123804,7 @@
Returns:
-WineShortcut +QuickScript
@@ -124078,7 +124078,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -124086,7 +124086,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -124097,55 +124097,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -124179,7 +124130,7 @@
Parameters:
Source:
@@ -124208,7 +124159,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -124219,7 +124170,7 @@
Returns:
-Resource +string
@@ -124237,7 +124188,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -124245,7 +124196,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -124289,7 +124240,7 @@

getSource:
@@ -124318,7 +124269,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -124329,7 +124280,7 @@
Returns:
-string +String
@@ -124347,7 +124298,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -124355,7 +124306,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -124366,114 +124317,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -124509,7 +124399,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -125573,155 +125573,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -125890,7 +125741,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -125898,7 +125749,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -125950,7 +125950,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -125991,7 +125991,7 @@
Parameters:
Source:
@@ -126020,7 +126020,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -126031,7 +126031,7 @@
Returns:
-WineShortcut +Resource
@@ -126049,7 +126049,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -126057,7 +126057,7 @@

name - Sets the resource name + Sets the shortcut name @@ -126109,7 +126109,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -126150,7 +126150,7 @@
Parameters:
Source:
@@ -126179,7 +126179,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -126190,7 +126190,7 @@
Returns:
-Resource +WineShortcut
@@ -127158,6 +127158,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -127524,161 +127679,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -128542,7 +128542,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -128550,7 +128550,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -128586,7 +128586,7 @@

Parameters:
- trustlevel + trustLevel @@ -128602,7 +128602,7 @@
Parameters:
- + The trust level @@ -128643,7 +128643,7 @@
Parameters:
Source:
@@ -128672,7 +128672,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -128683,7 +128683,7 @@
Returns:
-QuickScript +WineShortcut
@@ -128701,7 +128701,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -128709,7 +128709,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -128745,7 +128745,7 @@

Parameters:
- trustLevel + trustlevel @@ -128761,7 +128761,7 @@
Parameters:
- The trust level + @@ -128802,7 +128802,7 @@
Parameters:
Source:
@@ -128831,7 +128831,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -128842,7 +128842,7 @@
Returns:
-WineShortcut +QuickScript
@@ -130167,13 +130167,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -130195,8 +130199,6 @@
Parameters:
Type - Attributes - @@ -130222,20 +130224,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -130276,7 +130268,7 @@
Parameters:
Source:
@@ -130304,6 +130296,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -130312,10 +130308,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -130333,7 +130326,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -130434,7 +130427,7 @@
Parameters:
Source:
@@ -130463,7 +130456,7 @@
Returns:
- The Resource object + The Downloader object
@@ -130474,7 +130467,7 @@
Returns:
-Resource +Downloader
@@ -130492,17 +130485,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -130524,6 +130513,8 @@
Parameters:
Type + Attributes + @@ -130549,10 +130540,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -130593,7 +130594,7 @@
Parameters:
Source:
@@ -130621,10 +130622,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -130633,7 +130630,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -130667,7 +130667,7 @@
Returns:

default()

-
Verb to install vcrun2010
+
Wine main prototype
@@ -130730,7 +130730,7 @@

new defaultSource:
@@ -132542,7 +132542,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -132550,7 +132550,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -132602,7 +132602,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -132643,7 +132643,7 @@
Parameters:
Source:
@@ -132672,7 +132672,7 @@
Returns:
- The Resource object + The Downloader object
@@ -132683,7 +132683,7 @@
Returns:
-Resource +Downloader
@@ -132701,7 +132701,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -132709,7 +132709,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -132761,7 +132761,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -132802,7 +132802,7 @@
Parameters:
Source:
@@ -132831,7 +132831,7 @@
Returns:
- The Downloader object + The Resource object
@@ -132842,7 +132842,7 @@
Returns:
-Downloader +Resource
@@ -132860,7 +132860,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -132868,7 +132868,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -132912,7 +132912,7 @@

createSource:
@@ -132940,6 +132940,10 @@

createReturns:

+
+ The Wine object +
+
@@ -132948,7 +132952,7 @@
Returns:
-void +Wine
@@ -132966,7 +132970,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -132974,7 +132978,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -133018,7 +133022,7 @@

createSource:
@@ -133046,10 +133050,6 @@

createReturns:

-
- The Wine object -
-
@@ -133058,7 +133058,7 @@
Returns:
-Wine +void
@@ -133553,7 +133553,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -133561,7 +133561,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -133613,7 +133613,7 @@

Parameters:
- variables + The environment variables @@ -133654,7 +133654,7 @@
Parameters:
Source:
@@ -133683,7 +133683,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -133694,7 +133694,7 @@
Returns:
-QuickScript +WineShortcut
@@ -133712,7 +133712,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -133720,7 +133720,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -133772,7 +133772,7 @@

Parameters:
- The environment variables + variables @@ -133813,7 +133813,7 @@
Parameters:
Source:
@@ -133842,7 +133842,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -133853,7 +133853,7 @@
Returns:
-WineShortcut +QuickScript
@@ -134127,7 +134127,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -134135,7 +134135,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -134146,55 +134146,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -134228,7 +134179,7 @@
Parameters:
Source:
@@ -134257,7 +134208,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -134268,7 +134219,7 @@
Returns:
-Resource +string
@@ -134286,7 +134237,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -134294,7 +134245,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -134338,7 +134289,7 @@

getSource:
@@ -134367,7 +134318,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -134378,7 +134329,7 @@
Returns:
-string +String
@@ -134396,7 +134347,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -134404,7 +134355,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -134415,114 +134366,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -134558,7 +134448,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -135622,155 +135622,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -135939,7 +135790,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -135947,7 +135798,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -135999,7 +135999,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -136040,7 +136040,7 @@
Parameters:
Source:
@@ -136069,7 +136069,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -136080,7 +136080,7 @@
Returns:
-WineShortcut +Resource
@@ -136098,7 +136098,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -136106,7 +136106,7 @@

name - Sets the resource name + Sets the shortcut name @@ -136158,7 +136158,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -136199,7 +136199,7 @@
Parameters:
Source:
@@ -136228,7 +136228,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -136239,7 +136239,7 @@
Returns:
-Resource +WineShortcut
@@ -137207,6 +137207,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -137573,161 +137728,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -138591,7 +138591,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -138599,7 +138599,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -138635,7 +138635,7 @@

Parameters:
- trustlevel + trustLevel @@ -138651,7 +138651,7 @@
Parameters:
- + The trust level @@ -138692,7 +138692,7 @@
Parameters:
Source:
@@ -138721,7 +138721,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -138732,7 +138732,7 @@
Returns:
-QuickScript +WineShortcut
@@ -138750,7 +138750,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -138758,7 +138758,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -138794,7 +138794,7 @@

Parameters:
- trustLevel + trustlevel @@ -138810,7 +138810,7 @@
Parameters:
- The trust level + @@ -138851,7 +138851,7 @@
Parameters:
Source:
@@ -138880,7 +138880,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -138891,7 +138891,7 @@
Returns:
-WineShortcut +QuickScript
@@ -140216,13 +140216,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -140244,8 +140248,6 @@
Parameters:
Type - Attributes - @@ -140271,20 +140273,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -140325,7 +140317,7 @@
Parameters:
Source:
@@ -140353,6 +140345,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -140361,10 +140357,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -140382,7 +140375,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -140483,7 +140476,7 @@
Parameters:
Source:
@@ -140512,7 +140505,7 @@
Returns:
- The Resource object + The Downloader object
@@ -140523,7 +140516,7 @@
Returns:
-Resource +Downloader
@@ -140541,17 +140534,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -140573,6 +140562,8 @@
Parameters:
Type + Attributes + @@ -140598,10 +140589,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -140642,7 +140643,7 @@
Parameters:
Source:
@@ -140670,10 +140671,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -140682,7 +140679,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -140716,7 +140716,7 @@
Returns:

default()

-
Verb to install vcrun2008
+
Wine engine
@@ -140779,7 +140779,7 @@

new defaultSource:
@@ -142591,7 +142591,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -142599,7 +142599,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -142651,7 +142651,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -142692,7 +142692,7 @@
Parameters:
Source:
@@ -142721,7 +142721,7 @@
Returns:
- The Resource object + The Downloader object
@@ -142732,7 +142732,7 @@
Returns:
-Resource +Downloader
@@ -142750,7 +142750,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -142758,7 +142758,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -142810,7 +142810,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -142851,7 +142851,7 @@
Parameters:
Source:
@@ -142880,7 +142880,7 @@
Returns:
- The Downloader object + The Resource object
@@ -142891,7 +142891,7 @@
Returns:
-Downloader +Resource
@@ -142909,7 +142909,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -142917,7 +142917,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -142961,7 +142961,7 @@

createSource:
@@ -142989,6 +142989,10 @@

createReturns:

+
+ The Wine object +
+
@@ -142997,7 +143001,7 @@
Returns:
-void +Wine
@@ -143015,7 +143019,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -143023,7 +143027,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -143067,7 +143071,7 @@

createSource:
@@ -143095,10 +143099,6 @@

createReturns:

-
- The Wine object -
-
@@ -143107,7 +143107,7 @@
Returns:
-Wine +void
@@ -143602,7 +143602,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -143610,7 +143610,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -143662,7 +143662,7 @@

Parameters:
- variables + The environment variables @@ -143703,7 +143703,7 @@
Parameters:
Source:
@@ -143732,7 +143732,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -143743,7 +143743,7 @@
Returns:
-QuickScript +WineShortcut
@@ -143761,7 +143761,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -143769,7 +143769,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -143821,7 +143821,7 @@

Parameters:
- The environment variables + variables @@ -143862,7 +143862,7 @@
Parameters:
Source:
@@ -143891,7 +143891,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -143902,7 +143902,7 @@
Returns:
-WineShortcut +QuickScript
@@ -144176,7 +144176,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -144184,7 +144184,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -144195,55 +144195,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -144277,7 +144228,7 @@
Parameters:
Source:
@@ -144306,7 +144257,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -144317,7 +144268,7 @@
Returns:
-Resource +string
@@ -144335,7 +144286,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -144343,7 +144294,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -144387,7 +144338,7 @@

getSource:
@@ -144416,7 +144367,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -144427,7 +144378,7 @@
Returns:
-string +String
@@ -144445,7 +144396,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -144453,7 +144404,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -144464,114 +144415,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -144607,7 +144497,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -145671,155 +145671,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -145988,7 +145839,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -145996,7 +145847,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -146048,7 +146048,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -146089,7 +146089,7 @@
Parameters:
Source:
@@ -146118,7 +146118,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -146129,7 +146129,7 @@
Returns:
-WineShortcut +Resource
@@ -146147,7 +146147,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -146155,7 +146155,7 @@

name - Sets the resource name + Sets the shortcut name @@ -146207,7 +146207,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -146248,7 +146248,7 @@
Parameters:
Source:
@@ -146277,7 +146277,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -146288,7 +146288,7 @@
Returns:
-Resource +WineShortcut
@@ -147256,6 +147256,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -147622,161 +147777,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -148640,7 +148640,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -148648,7 +148648,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -148684,7 +148684,7 @@

Parameters:
- trustlevel + trustLevel @@ -148700,7 +148700,7 @@
Parameters:
- + The trust level @@ -148741,7 +148741,7 @@
Parameters:
Source:
@@ -148770,7 +148770,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -148781,7 +148781,7 @@
Returns:
-QuickScript +WineShortcut
@@ -148799,7 +148799,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -148807,7 +148807,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -148843,7 +148843,7 @@

Parameters:
- trustLevel + trustlevel @@ -148859,7 +148859,7 @@
Parameters:
- The trust level + @@ -148900,7 +148900,7 @@
Parameters:
Source:
@@ -148929,7 +148929,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -148940,7 +148940,7 @@
Returns:
-WineShortcut +QuickScript
@@ -150265,13 +150265,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -150293,8 +150297,6 @@
Parameters:
Type - Attributes - @@ -150320,20 +150322,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -150374,7 +150366,7 @@
Parameters:
Source:
@@ -150402,6 +150394,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -150410,10 +150406,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -150431,7 +150424,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -150532,7 +150525,7 @@
Parameters:
Source:
@@ -150561,7 +150554,7 @@
Returns:
- The Resource object + The Downloader object
@@ -150572,7 +150565,7 @@
Returns:
-Resource +Downloader
@@ -150590,17 +150583,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -150622,6 +150611,8 @@
Parameters:
Type + Attributes + @@ -150647,10 +150638,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -150691,7 +150692,7 @@
Parameters:
Source:
@@ -150719,10 +150720,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -150731,7 +150728,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -150765,7 +150765,7 @@
Returns:

default()

-
Verb to install vcrun2005
+
AppResource class
@@ -150828,7 +150828,7 @@

new defaultSource:
@@ -152640,7 +152640,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -152648,7 +152648,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -152700,7 +152700,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -152741,7 +152741,7 @@
Parameters:
Source:
@@ -152770,7 +152770,7 @@
Returns:
- The Resource object + The Downloader object
@@ -152781,7 +152781,7 @@
Returns:
-Resource +Downloader
@@ -152799,7 +152799,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -152807,7 +152807,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -152859,7 +152859,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -152900,7 +152900,7 @@
Parameters:
Source:
@@ -152929,7 +152929,7 @@
Returns:
- The Downloader object + The Resource object
@@ -152940,7 +152940,7 @@
Returns:
-Downloader +Resource
@@ -152958,7 +152958,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -152966,7 +152966,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -153010,7 +153010,7 @@

createSource:
@@ -153038,6 +153038,10 @@

createReturns:

+
+ The Wine object +
+
@@ -153046,7 +153050,7 @@
Returns:
-void +Wine
@@ -153064,7 +153068,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -153072,7 +153076,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -153116,7 +153120,7 @@

createSource:
@@ -153144,10 +153148,6 @@

createReturns:

-
- The Wine object -
-
@@ -153156,7 +153156,7 @@
Returns:
-Wine +void
@@ -153651,7 +153651,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -153659,7 +153659,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -153711,7 +153711,7 @@

Parameters:
- variables + The environment variables @@ -153752,7 +153752,7 @@
Parameters:
Source:
@@ -153781,7 +153781,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -153792,7 +153792,7 @@
Returns:
-QuickScript +WineShortcut
@@ -153810,7 +153810,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -153818,7 +153818,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -153870,7 +153870,7 @@

Parameters:
- The environment variables + variables @@ -153911,7 +153911,7 @@
Parameters:
Source:
@@ -153940,7 +153940,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -153951,7 +153951,7 @@
Returns:
-WineShortcut +QuickScript
@@ -154225,7 +154225,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -154233,7 +154233,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -154244,55 +154244,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -154326,7 +154277,7 @@
Parameters:
Source:
@@ -154355,7 +154306,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -154366,7 +154317,7 @@
Returns:
-Resource +string
@@ -154384,7 +154335,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -154392,7 +154343,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -154436,7 +154387,7 @@

getSource:
@@ -154465,7 +154416,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -154476,7 +154427,7 @@
Returns:
-string +String
@@ -154494,7 +154445,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -154502,7 +154453,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -154513,114 +154464,53 @@

get - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The content of downloaded file -
- + -
-
- Type -
-
-String + -
-
+ + + + + + + + + - - + - -

getContainer() → {string}

- + + - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - + +
NameTypeDescription
resourceName + + +string + + The name of the resource
@@ -154656,7 +154546,117 @@

getContai
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The found resource +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + + + + + + + + + + + + +

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -155720,155 +155720,6 @@
Returns:
- - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - @@ -156037,7 +155888,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -156045,7 +155896,156 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
miniature + + +URI + + + + + + <optional>
+ + + + + +
path to the miniature file
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

name(name) → {Resource}

+ + + + + + +
+ Sets the resource name
@@ -156097,7 +156097,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -156138,7 +156138,7 @@
Parameters:
Source:
@@ -156167,7 +156167,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -156178,7 +156178,7 @@
Returns:
-WineShortcut +Resource
@@ -156196,7 +156196,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -156204,7 +156204,7 @@

name - Sets the resource name + Sets the shortcut name @@ -156256,7 +156256,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -156297,7 +156297,7 @@
Parameters:
Source:
@@ -156326,7 +156326,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -156337,7 +156337,7 @@
Returns:
-Resource +WineShortcut
@@ -157305,13 +157305,17 @@
Returns:
-

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

+

run(userArguments) → {void}

+
+ Runs a shortcut with the given user arguments +
+ @@ -157333,12 +157337,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -157349,48 +157349,168 @@
Parameters:
- executable + userArguments -string +array - - - - - - - - - - + The user arguments + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + - - + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

+ + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + - + @@ -157423,13 +157539,13 @@
Parameters:
- + @@ -157462,13 +157578,13 @@
Parameters:
- + @@ -157501,502418 +157617,7 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
argsexecutable -array +string @@ -157399,8 +157519,6 @@
Parameters:
- <optional>
- @@ -157411,8 +157529,6 @@
Parameters:
- [] -
workingDirectoryargs -string +array @@ -157450,7 +157566,7 @@
Parameters:
- working container + []
captureOutputworkingDirectory -boolean +string @@ -157489,7 +157605,7 @@
Parameters:
- false + working container
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - - - - - - - - - - - -
- -
- -

default()

- -
Verb to install vcrun2003
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install secur32
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install a sandbox
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install quartz
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install msxml6
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install msxml3
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install mspatcha
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install msls31.dll
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install mfc42.dll and mfc42u.dll
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install luna
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install gdiplus
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install Gallium 9 Standalone
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.7.2
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.6.2
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.6.1
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
setting to set the DirectDraw renderer
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to set the Fonts Smoothing
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to enable/disable GLSL
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to enable/disable UseTakeFocus
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
setting to set always offscreen
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to enable/disable Retina
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to configure mouse warp override
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to configure multisampling
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to set the offscreen rendering mode
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to set the render target lock mode
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to configure strict draw ordering
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Setting to set the video memory size
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.6
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.5.2
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.5
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install .NET 4.0
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install dotnet20sp2
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
WineShortcut prototype
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install devenum
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install D3DX9
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install D3DX11
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Wine main prototype
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install d3drm
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install crypt32
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install corefonts
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install atmlib
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install amstream
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install adobeair
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Verb to install Windows XP Service Pack 3
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Tool to configure Wine
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Tool to kill running Wine processes
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Tool to reboot Wine
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Tool to repair a Wine prefix
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Tool to open the Wine registry editor
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - - - <optional>
- - - - - -
- - empty - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sets the executable which shall be used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - - - The executable name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

stop() → {void}

- - - - - - -
- Stops the running shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

to(localDestination) → {Downloader}

- - - - - - -
- Sets the download destination -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

trustLevel(trustlevel) → {QuickScript}

- - - - - - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

type(type) → {WineShortcut}

- - - - - - -
- Sets the shortcut type -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
type - - -string - - - - The shortcut type
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

uninstall(name) → {bool}

- - - - - - -
- uninstall application -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

url(url) → {Downloader}

- - - - - - -
- Sets the URL which shall be used for the download -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

url(url) → {Resource}

- - - - - - -
- Sets the resource URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wait() → {Wine}

- - - - - - -
- wait until wineserver finishes -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

wineServer(wineserver)

- - - - - - -
- executes wineserver in current prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

withScript(command) → {PlainInstaller}

- - - - - - -
- Sets the installation script consisting of a lambda function -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - - - The installation command
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Resource}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

wizard(wizard) → {Downloader}

- - - - - - -
- Sets the setup wizard -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -
- -
- - - - - - - -
- -
- -

default()

- -
Tool to open the Wine task manager
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -

Methods

- - - - - - - -

_createShortcut(prefixopt)

- - - - - - -
- creates shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
prefix name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

_fetchFileNameFromUrl(url) → {string}

- - - - - - -
- Fetches the file name from an URL -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - - - The URL
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Resource}

- - - - - - -
- Sets the checksum algorithm -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The algorithm to verify the checksum (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

algorithm(algorithm) → {Downloader}

- - - - - - -
- Sets the algorithm which shall be used to verify the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
algorithm - - -string - - - - The checksum algorithm (e.g. "SHA")
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

application(application) → {AppResource}

- - - - - - -
- Sets the application containing the resources -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
application - - -string - - - - The application with the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- architecture ("x86" or "amd64") -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

arguments(args) → {WineShortcut}

- - - - - - -
- Sets the shortcut arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
args - - -array - - - - The shortcut arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - - - <optional>
- - - - - -
- - current architecture - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

availableVersions(distribution nameopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Array.<string> - - -
-
- - - - - - - - - - - - - -

binPath(subCategoryopt, versionopt) → {string}

- - - - - - -
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- path to "wine" binary -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

category(category) → {WineShortcut}

- - - - - - -
- Sets the shortcut category -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Resource}

- - - - - - -
- Sets the checksum which shall be used to verify the resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

checksum(checksum) → {Downloader}

- - - - - - -
- Sets the checksum -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum which shall be used to verify the download
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Wine object -
- - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

description(description) → {WineShortcut}

- - - - - - -
- Sets the shortcut description -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

directory(directory) → {Resource}

- - - - - - -
- Sets the directory inside the resources directory where the Resource is stored -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

download(setupWizard) → {String}

- - - - - - -
- Download the setup resources in the same directory, and returns the path of the .exe -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The .exe file entry that can be used to continue the installation -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

environment(environment) → {QuickScript}

- - - - - - -
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - - - - - - - - - - - - -

environment(environment) → {WineShortcut}

- - - - - - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - - - The environment variables
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

executable(executable, args)

- - - - - - -
- set executable -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- font directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get(resourceName) → {Resource}

- - - - - - -
- Returns the searched resource -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The found resource -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

getContainer() → {string}

- - - - - - -
- Returns the name of the container belonging to a shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The container name -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

gogSetupFileName(setupFileName) → {GogScript}

- - - - - - -
- Sets one setup file name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

gogSetupFileNames(setupFileNames) → {GogScript}

- - - - - - -
- Sets the setup file(s) name so that the script can fetch it from gog.com -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

headers(headers) → {Downloader}

- - - - - - -
- Sets the http headers -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

json() → {any}

- - - - - - -
- Gets the content of the downloaded file and returns it as a JSON value -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The json value -
- - - -
-
- Type -
-
- -any - - -
-
- - - - - - - - - - - - - -

kill() → {Wine}

- - - - - - -
- kill wine server -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

loginToGog(setupWizard) → {GogScript}

- - - - - - -
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - - - - - - - - - - - - -

message(message) → {Downloader}

- - - - - - -
- Sets the download message text -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

miniature(miniatureopt)

- - - - - - -
- get/set miniature (for the installation and the shortcut) -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
miniature - - -URI - - - - - - <optional>
- - - - - -
path to the miniature file
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

miniature(miniature) → {WineShortcut}

- - - - - - -
- Sets the miniature for the shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
miniature - - -Array.<string> -| - -URI - - - - An array which specifies the application of which the miniature shall be used or URI of the miniature
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {WineShortcut}

- - - - - - -
- Sets the shortcut name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The shortcut name
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - - -

of(shortcut) → {void}

- - - - - - -
- Sets shortcut -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
shortcut - - -string - - - - shortcut
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

- - - - - - -
- Specifies if the download shall be executed only if a newer version is available -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - - - true the download shall be executed only if a newer version is available
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - - -

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - - - <optional>
- - - - - -
distribution - - -string - - - - - - <optional>
- - - - - -
architecture - - -string - - - - - - <optional>
- - - - - -
version - - -string - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - - - - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

programFiles() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- name of "Program Files" -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -660547,7 +157870,7 @@
Parameters:
- + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -660604,7 +158017,7 @@
Parameters:
Source:
@@ -660629,56 +158042,83 @@
Parameters:
-
Returns:
- -
- The WineShortcut object -
-
-
- Type -
-
+ -WineShortcut + + -
-
+ + + +
+ Sets the executable which shall be used +
+ + - - - - -

stop() → {void}

- + + +
Parameters:
+
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutputcaptureOutput @@ -660063,411 +157768,7 @@
Parameters:
Source:
- - - - - - - - - - - - - - - - - - - - - - - -
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - - -

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
@@ -660492,6 +157793,28 @@
Parameters:
+
Returns:
+ + +
+ output +
+ + + +
+
+ Type +
+
+ +String + + +
+
+ + @@ -660503,17 +157826,13 @@
Parameters:
- +

runInsidePrefix(executable, argsopt, waitopt)

-
- Sets the executable which shall be used -
- @@ -660535,8 +157854,12 @@
Parameters:
TypeAttributesDefaultDescription
searchexecutable @@ -660560,10 +157883,100 @@
Parameters:
+ + + + + The executable name + +
args + + +array + + + + + + <optional>
+ + + + + +
+ + [] + +
wait + + +boolean + + + + + + <optional>
+ + + + + +
+ + false + +
+ + + + + + -
- Stops the running shortcut -
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
search + + +string + + The executable name
@@ -660714,7 +158154,7 @@

stopSource:
@@ -660742,6 +158182,10 @@

stop + The WineShortcut object + +
@@ -660750,7 +158194,7 @@
Returns:
-void +WineShortcut
@@ -660768,13 +158212,17 @@
Returns:
-

system32directory() → {string}

+

stop() → {void}

+
+ Stops the running shortcut +
+ @@ -660816,7 +158264,7 @@

syst
Source:
@@ -660844,10 +158292,6 @@

syst

Returns:
-
- system32 directory -
-
@@ -660856,7 +158300,7 @@
Returns:
-string +void
@@ -660874,7 +158318,7 @@
Returns:
-

system64directory() → {string}

+

system32directory() → {string}

@@ -660922,7 +158366,7 @@

syst
Source:
@@ -660951,7 +158395,7 @@

Returns:
- system64 directory + system32 directory
@@ -660980,72 +158424,19 @@
Returns:
-

to(localDestination) → {Downloader}

+

system64directory() → {string}

-
- Sets the download destination -
- - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
localDestination - - -string - - - - The destination of the download. If it is a directory, the file will be placed inside
@@ -661081,7 +158472,7 @@
Parameters:
Source:
@@ -661110,7 +158501,7 @@
Returns:
- The Downloader object + system64 directory
@@ -661121,7 +158512,7 @@
Returns:
-Downloader +string
@@ -661139,7 +158530,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

to(localDestination) → {Downloader}

@@ -661147,7 +158538,7 @@

trustLevel<
- set trust level + Sets the download destination
@@ -661183,7 +158574,7 @@

Parameters:
- trustlevel + localDestination @@ -661199,7 +158590,7 @@
Parameters:
- + The destination of the download. If it is a directory, the file will be placed inside @@ -661240,7 +158631,7 @@
Parameters:
Source:
@@ -661269,7 +158660,7 @@
Returns:
- QuickScript object + The Downloader object
@@ -661280,7 +158671,7 @@
Returns:
-QuickScript +Downloader
@@ -661457,6 +158848,165 @@
Returns:
+

trustLevel(trustlevel) → {QuickScript}

+ + + + + + +
+ set trust level +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
trustlevel + + +string + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ QuickScript object +
+ + + +
+
+ Type +
+
+ +QuickScript + + +
+
+ + + + + + + + + + + + +

type(type) → {WineShortcut}

@@ -662764,13 +160314,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -662792,8 +160346,6 @@
Parameters:
Type - Attributes - @@ -662819,20 +160371,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -662873,7 +160415,7 @@
Parameters:
Source:
@@ -662901,6 +160443,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -662909,10 +160455,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -662930,7 +160473,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -663031,7 +160574,7 @@
Parameters:
Source:
@@ -663060,7 +160603,7 @@
Returns:
- The Resource object + The Downloader object
@@ -663071,7 +160614,7 @@
Returns:
-Resource +Downloader
@@ -663089,17 +160632,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -663121,6 +160660,8 @@
Parameters:
Type + Attributes + @@ -663146,10 +160687,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -663190,7 +160741,7 @@
Parameters:
Source:
@@ -663218,10 +160769,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -663230,7 +160777,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -663264,7 +160814,7 @@
Returns:

default()

-
Tool to open a terminal in a Wine prefix
+
WineShortcut prototype
@@ -663327,7 +160877,7 @@

new defaultSource:
@@ -665139,7 +162689,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -665147,7 +162697,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -665199,7 +162749,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -665240,7 +162790,7 @@
Parameters:
Source:
@@ -665269,7 +162819,7 @@
Returns:
- The Resource object + The Downloader object
@@ -665280,7 +162830,7 @@
Returns:
-Resource +Downloader
@@ -665298,7 +162848,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -665306,7 +162856,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -665358,7 +162908,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -665399,7 +162949,7 @@
Parameters:
Source:
@@ -665428,7 +162978,7 @@
Returns:
- The Downloader object + The Resource object
@@ -665439,7 +162989,7 @@
Returns:
-Downloader +Resource
@@ -665457,7 +163007,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -665465,7 +163015,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -665509,7 +163059,7 @@

createSource:
@@ -665537,6 +163087,10 @@

createReturns:

+
+ The Wine object +
+
@@ -665545,7 +163099,7 @@
Returns:
-void +Wine
@@ -665563,7 +163117,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -665571,7 +163125,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -665615,7 +163169,7 @@

createSource:
@@ -665643,10 +163197,6 @@

createReturns:

-
- The Wine object -
-
@@ -665655,7 +163205,7 @@
Returns:
-Wine +void
@@ -666150,7 +163700,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -666158,7 +163708,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -666210,7 +163760,7 @@

Parameters:
- variables + The environment variables @@ -666251,7 +163801,7 @@
Parameters:
Source:
@@ -666280,7 +163830,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -666291,7 +163841,7 @@
Returns:
-QuickScript +WineShortcut
@@ -666309,7 +163859,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -666317,7 +163867,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -666369,7 +163919,7 @@

Parameters:
- The environment variables + variables @@ -666410,7 +163960,7 @@
Parameters:
Source:
@@ -666439,7 +163989,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -666450,7 +164000,7 @@
Returns:
-WineShortcut +QuickScript
@@ -666724,7 +164274,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -666732,7 +164282,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -666743,53 +164293,114 @@

get + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + + + + + + + + + + - + + + + + + +
Returns:
+
+ The path leading to the downloaded resource +
+ + +
+
+ Type +
+
+string -
- - - + + + - - - - - + - + - - + +

get() → {String}

+ - -
NameTypeDescription
resourceName - - -string - - The name of the resource
+ + + +
+ Gets the content of the downloaded file +
+ + + + + + + @@ -666825,7 +164436,7 @@
Parameters:
Source:
@@ -666854,7 +164465,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -666865,7 +164476,7 @@
Returns:
-Resource +String
@@ -666883,7 +164494,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -666891,7 +164502,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the searched resource @@ -666902,6 +164513,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -666935,7 +164595,7 @@

getSource:
@@ -666964,7 +164624,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -666975,7 +164635,7 @@
Returns:
-string +Resource
@@ -666993,7 +164653,7 @@
Returns:
-

get() → {String}

+

getContainer() → {string}

@@ -667001,7 +164661,7 @@

get - Gets the content of the downloaded file + Returns the name of the container belonging to a shortcut @@ -667045,7 +164705,7 @@

getSource:
@@ -667074,7 +164734,7 @@
Returns:
- The content of downloaded file + The container name
@@ -667085,7 +164745,7 @@
Returns:
-String +string
@@ -667103,7 +164763,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -667111,7 +164771,7 @@

getContai
- Returns the name of the container belonging to a shortcut + Sets one setup file name so that the script can fetch it from gog.com
@@ -667122,6 +164782,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -667155,7 +164864,7 @@

getContai
Source:
@@ -667184,7 +164893,7 @@

Returns:
- The container name + This
@@ -667195,7 +164904,7 @@
Returns:
-string +GogScript
@@ -667213,7 +164922,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -667221,7 +164930,7 @@

gogSe
- Sets one setup file name so that the script can fetch it from gog.com + Sets the setup file(s) name so that the script can fetch it from gog.com
@@ -667257,13 +164966,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -667273,7 +164982,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -667314,7 +165023,7 @@
Parameters:
Source:
@@ -667372,7 +165081,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

headers(headers) → {Downloader}

@@ -667380,7 +165089,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Sets the http headers
@@ -667416,13 +165125,13 @@

Parameters:
- setupFileNames + headers -Array.<string> +Object @@ -667432,7 +165141,7 @@
Parameters:
- The setup file name(s) + The http headers @@ -667473,7 +165182,7 @@
Parameters:
Source:
@@ -667502,7 +165211,7 @@
Returns:
- This + The Downloader object
@@ -667513,7 +165222,7 @@
Returns:
-GogScript +Downloader
@@ -667531,7 +165240,7 @@
Returns:
-

headers(headers) → {Downloader}

+

json() → {any}

@@ -667539,7 +165248,7 @@

headers - Sets the http headers + Gets the content of the downloaded file and returns it as a JSON value @@ -667550,55 +165259,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -667632,7 +165292,7 @@
Parameters:
Source:
@@ -667661,7 +165321,7 @@
Returns:
- The Downloader object + The json value
@@ -667672,7 +165332,7 @@
Returns:
-Downloader +any
@@ -667690,7 +165350,7 @@
Returns:
-

json() → {any}

+

kill() → {Wine}

@@ -667698,7 +165358,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + kill wine server @@ -667742,7 +165402,7 @@

jsonSource:
@@ -667770,10 +165430,6 @@

json - The json value - -
@@ -667782,7 +165438,7 @@
Returns:
-any +Wine
@@ -667800,7 +165456,7 @@
Returns:
-

kill() → {Wine}

+

loginToGog(setupWizard) → {GogScript}

@@ -667808,7 +165464,8 @@

kill - kill wine server + Presents a Gog.com login window to the user, login to its account and return a token that can be used later. +Stores the tocken in a parameter @@ -667819,6 +165476,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupWizard + + + + + +SetupWizard + + + + + + + + + + The setupWizard to use + + + + + + + @@ -667852,7 +165558,7 @@

killSource:
@@ -667880,6 +165586,10 @@

kill + This + +
@@ -667888,7 +165598,7 @@
Returns:
-Wine +GogScript
@@ -667906,7 +165616,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -667914,8 +165624,7 @@

loginToGog<
- Presents a Gog.com login window to the user, login to its account and return a token that can be used later. -Stores the tocken in a parameter + Sets the download message text
@@ -667951,13 +165660,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -667967,7 +165676,7 @@
Parameters:
- The setupWizard to use + The download message @@ -668008,7 +165717,7 @@
Parameters:
Source:
@@ -668037,7 +165746,7 @@
Returns:
- This + The Downloader object
@@ -668048,7 +165757,7 @@
Returns:
-GogScript +Downloader
@@ -668066,7 +165775,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -668074,7 +165783,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -668110,13 +165819,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -668126,7 +165838,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -668167,7 +165879,7 @@
Parameters:
Source:
@@ -668196,7 +165908,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -668207,7 +165919,7 @@
Returns:
-Downloader +WineShortcut
@@ -668374,7 +166086,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -668382,7 +166094,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -668418,16 +166130,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -668437,7 +166146,7 @@
Parameters:
- An array which specifies the application of which the miniature shall be used or URI of the miniature + The name of the resource @@ -668478,7 +166187,7 @@
Parameters:
Source:
@@ -668507,7 +166216,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -668518,7 +166227,7 @@
Returns:
-WineShortcut +Resource
@@ -668695,165 +166404,6 @@
Returns:
-

name(name) → {Resource}

- - - - - - -
- Sets the resource name -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - The name of the resource
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - - - - - - - - - - - -

of(shortcut) → {void}

@@ -669698,19 +167248,178 @@
Returns:
-

programFiles() → {string}

+

programFiles() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ name of "Program Files" +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

run(userArguments) → {void}

+
+ Runs a shortcut with the given user arguments +
+ + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
@@ -669746,7 +167455,7 @@

programFi
Source:
@@ -669774,10 +167483,6 @@

programFi

Returns:
-
- name of "Program Files" -
-
@@ -669786,7 +167491,7 @@
Returns:
-string +void
@@ -670170,161 +167875,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -671188,7 +168738,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -671196,7 +168746,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -671232,7 +168782,7 @@

Parameters:
- trustlevel + trustLevel @@ -671248,7 +168798,7 @@
Parameters:
- + The trust level @@ -671289,7 +168839,7 @@
Parameters:
Source:
@@ -671318,7 +168868,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -671329,7 +168879,7 @@
Returns:
-QuickScript +WineShortcut
@@ -671347,7 +168897,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -671355,7 +168905,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -671391,7 +168941,7 @@

Parameters:
- trustLevel + trustlevel @@ -671407,7 +168957,7 @@
Parameters:
- The trust level + @@ -671448,7 +168998,7 @@
Parameters:
Source:
@@ -671477,7 +169027,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -671488,7 +169038,7 @@
Returns:
-WineShortcut +QuickScript
@@ -672813,13 +170363,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -672841,8 +170395,6 @@
Parameters:
Type - Attributes - @@ -672868,20 +170420,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -672922,7 +170464,7 @@
Parameters:
Source:
@@ -672950,6 +170492,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -672958,10 +170504,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -672979,7 +170522,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -673080,7 +170623,7 @@
Parameters:
Source:
@@ -673109,7 +170652,7 @@
Returns:
- The Resource object + The Downloader object
@@ -673120,7 +170663,7 @@
Returns:
-Resource +Downloader
@@ -673138,17 +170681,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -673170,6 +170709,8 @@
Parameters:
Type + Attributes + @@ -673195,10 +170736,20 @@
Parameters:
+ + + <optional>
+ + + + + - The setup wizard + + + @@ -673239,7 +170790,7 @@
Parameters:
Source:
@@ -673267,10 +170818,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -673279,7 +170826,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -673313,7 +170863,7 @@
Returns:

default()

-
Tool to uninstall Wine
+
A "plain" script installer that is fully configurable.
@@ -673376,7 +170926,7 @@

new defaultSource:
@@ -675188,7 +172738,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -675196,7 +172746,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -675248,7 +172798,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -675289,7 +172839,7 @@
Parameters:
Source:
@@ -675318,7 +172868,7 @@
Returns:
- The Resource object + The Downloader object
@@ -675329,7 +172879,7 @@
Returns:
-Resource +Downloader
@@ -675347,7 +172897,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -675355,7 +172905,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -675407,7 +172957,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -675448,7 +172998,7 @@
Parameters:
Source:
@@ -675477,7 +173027,7 @@
Returns:
- The Downloader object + The Resource object
@@ -675488,7 +173038,7 @@
Returns:
-Downloader +Resource
@@ -675506,7 +173056,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -675514,7 +173064,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -675558,7 +173108,7 @@

createSource:
@@ -675586,6 +173136,10 @@

createReturns:

+
+ The Wine object +
+
@@ -675594,7 +173148,7 @@
Returns:
-void +Wine
@@ -675612,7 +173166,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -675620,7 +173174,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -675664,7 +173218,7 @@

createSource:
@@ -675692,10 +173246,6 @@

createReturns:

-
- The Wine object -
-
@@ -675704,7 +173254,7 @@
Returns:
-Wine +void
@@ -676199,7 +173749,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -676207,7 +173757,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -676259,7 +173809,7 @@

Parameters:
- variables + The environment variables @@ -676300,7 +173850,7 @@
Parameters:
Source:
@@ -676329,7 +173879,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -676340,7 +173890,7 @@
Returns:
-QuickScript +WineShortcut
@@ -676358,7 +173908,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -676366,7 +173916,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -676418,7 +173968,7 @@

Parameters:
- The environment variables + variables @@ -676459,7 +174009,7 @@
Parameters:
Source:
@@ -676488,7 +174038,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -676499,7 +174049,7 @@
Returns:
-WineShortcut +QuickScript
@@ -676773,7 +174323,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -676781,7 +174331,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -676792,55 +174342,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -676874,7 +174375,7 @@
Parameters:
Source:
@@ -676903,7 +174404,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -676914,7 +174415,7 @@
Returns:
-Resource +string
@@ -676932,7 +174433,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -676940,7 +174441,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -676984,7 +174485,7 @@

getSource:
@@ -677013,7 +174514,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -677024,7 +174525,7 @@
Returns:
-string +String
@@ -677042,7 +174543,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -677050,7 +174551,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -677061,6 +174562,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -677094,7 +174644,7 @@

getSource:
@@ -677123,7 +174673,7 @@
Returns:
- The content of downloaded file + The found resource
@@ -677134,7 +174684,7 @@
Returns:
-String +Resource
@@ -678274,7 +175824,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -678282,7 +175832,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -678306,8 +175856,6 @@
Parameters:
Type - Attributes - @@ -678326,6 +175874,9 @@
Parameters:
+Array.<string> +| + URI @@ -678333,20 +175884,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -678387,7 +175928,7 @@
Parameters:
Source:
@@ -678412,6 +175953,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -678423,7 +175986,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -678431,7 +175994,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -678455,6 +176018,8 @@
Parameters:
Type + Attributes + @@ -678473,9 +176038,6 @@
Parameters:
-Array.<string> -| - URI @@ -678483,10 +176045,20 @@
Parameters:
+ + + <optional>
+ + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + + + path to the miniature file @@ -678527,7 +176099,7 @@
Parameters:
Source:
@@ -678552,28 +176124,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -678585,7 +176135,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -678593,7 +176143,7 @@

name - Sets the shortcut name + Sets the resource name @@ -678645,7 +176195,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -678686,7 +176236,7 @@
Parameters:
Source:
@@ -678715,7 +176265,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -678726,7 +176276,7 @@
Returns:
-WineShortcut +Resource
@@ -678744,7 +176294,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -678752,7 +176302,7 @@

name - Sets the resource name + Sets the shortcut name @@ -678804,7 +176354,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -678845,7 +176395,7 @@
Parameters:
Source:
@@ -678874,7 +176424,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -678885,7 +176435,7 @@
Returns:
-Resource +WineShortcut
@@ -679853,6 +177403,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -680219,161 +177924,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -680972,13 +178522,122 @@
Returns:
-

system64directory() → {string}

+

system64directory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ system64 directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

to(localDestination) → {Downloader}

+
+ Sets the download destination +
@@ -680988,6 +178647,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + + + The destination of the download. If it is a directory, the file will be placed inside
+ + + @@ -681020,7 +178729,7 @@

syst
Source:
@@ -681049,7 +178758,7 @@

Returns:
- system64 directory + The Downloader object
@@ -681060,7 +178769,7 @@
Returns:
-string +Downloader
@@ -681078,7 +178787,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -681086,7 +178795,7 @@

to - Sets the download destination + Sets the trust level @@ -681122,7 +178831,7 @@
Parameters:
- localDestination + trustLevel @@ -681138,7 +178847,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -681179,7 +178888,7 @@
Parameters:
Source:
@@ -681208,7 +178917,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -681219,7 +178928,7 @@
Returns:
-Downloader +WineShortcut
@@ -681396,7 +179105,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

type(type) → {WineShortcut}

@@ -681404,7 +179113,7 @@

trustLevel<
- Sets the trust level + Sets the shortcut type
@@ -681440,7 +179149,7 @@

Parameters:
- trustLevel + type @@ -681456,7 +179165,7 @@
Parameters:
- The trust level + The shortcut type @@ -681497,7 +179206,7 @@
Parameters:
Source:
@@ -681555,7 +179264,7 @@
Returns:
-

type(type) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -681563,7 +179272,7 @@

type - Sets the shortcut type + uninstall application @@ -681599,7 +179308,7 @@
Parameters:
- type + name @@ -681615,7 +179324,7 @@
Parameters:
- The shortcut type + of the application which shall be uninstalled @@ -681656,7 +179365,7 @@
Parameters:
Source:
@@ -681685,7 +179394,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -681696,7 +179405,7 @@
Returns:
-WineShortcut +bool
@@ -681714,7 +179423,7 @@
Returns:
-

uninstall(name) → {bool}

+

uninstall() → {void}

@@ -681722,7 +179431,113 @@

uninstall - uninstall application + Uninstalls the shortcut + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

url(url) → {Downloader}

+ + + + + + +
+ Sets the URL which shall be used for the download
@@ -681758,7 +179573,7 @@
Parameters:
- name + url @@ -681774,7 +179589,7 @@
Parameters:
- of the application which shall be uninstalled + The URL @@ -681815,7 +179630,7 @@
Parameters:
Source:
@@ -681844,7 +179659,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The Downloader object
@@ -681855,7 +179670,7 @@
Returns:
-bool +Downloader
@@ -681873,7 +179688,7 @@
Returns:
-

uninstall() → {void}

+

url(url) → {Resource}

@@ -681881,7 +179696,7 @@

uninstall - Uninstalls the shortcut + Sets the resource URL @@ -681892,6 +179707,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
+ + @@ -681925,7 +179789,7 @@

uninstallSource:
@@ -681953,6 +179817,10 @@

uninstallReturns:

+
+ The Resource object +
+
@@ -681961,7 +179829,7 @@
Returns:
-void +Resource
@@ -681979,7 +179847,7 @@
Returns:
-

url(url) → {Downloader}

+

wait() → {Wine}

@@ -681987,7 +179855,7 @@

url - Sets the URL which shall be used for the download + wait until wineserver finishes @@ -681998,55 +179866,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -682080,7 +179899,7 @@
Parameters:
Source:
@@ -682108,10 +179927,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -682120,7 +179935,7 @@
Returns:
-Downloader +Wine
@@ -682138,17 +179953,13 @@
Returns:
-

url(url) → {Resource}

+

winepath(pathopt) → {String}

-
- Sets the resource URL -
- @@ -682170,6 +179981,8 @@
Parameters:
Type + Attributes + @@ -682182,23 +179995,33 @@
Parameters:
- url + path -string +String + + + <optional>
+ + + + + + + - The URL + @@ -682239,7 +180062,7 @@
Parameters:
Source:
@@ -682267,10 +180090,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -682279,7 +180098,7 @@
Returns:
-Resource +String
@@ -682297,7 +180116,7 @@
Returns:
-

wait() → {Wine}

+

wineServer(wineserver)

@@ -682305,7 +180124,7 @@

wait - wait until wineserver finishes + executes wineserver in current prefix @@ -682316,108 +180135,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -682431,8 +180148,6 @@
Parameters:
Type - Attributes - @@ -682445,33 +180160,23 @@
Parameters:
- path + wineserver -String +string - - - <optional>
- - - - - - - - + parameter @@ -682512,7 +180217,7 @@
Parameters:
Source:
@@ -682537,24 +180242,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - @@ -682566,7 +180253,7 @@
Returns:
-

wineServer(wineserver)

+

withScript(command) → {PlainInstaller}

@@ -682574,7 +180261,7 @@

wineServer<
- executes wineserver in current prefix + Sets the installation script consisting of a lambda function
@@ -682610,13 +180297,13 @@

Parameters:
- wineserver + command -string +function @@ -682626,7 +180313,7 @@
Parameters:
- parameter + The installation command @@ -682667,7 +180354,7 @@
Parameters:
Source:
@@ -682692,6 +180379,28 @@
Parameters:
+
Returns:
+ + +
+ The PlainInstaller object +
+ + + +
+
+ Type +
+
+ +PlainInstaller + + +
+
+ + @@ -682703,7 +180412,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wizard(wizard) → {Resource}

@@ -682711,7 +180420,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the setup wizard
@@ -682747,13 +180456,13 @@

Parameters:
- command + wizard -function +SetupWizard @@ -682763,7 +180472,7 @@
Parameters:
- The installation command + The setup wizard @@ -682804,7 +180513,7 @@
Parameters:
Source:
@@ -682833,7 +180542,7 @@
Returns:
- The PlainInstaller object + The Resource object
@@ -682844,173 +180553,7 @@
Returns:
-PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine +Resource
@@ -683028,7 +180571,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -683129,7 +180672,7 @@
Parameters:
Source:
@@ -683158,7 +180701,7 @@
Returns:
- The Resource object + The Downloader object
@@ -683169,7 +180712,7 @@
Returns:
-Resource +Downloader
@@ -683187,17 +180730,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -683219,6 +180758,8 @@
Parameters:
Type + Attributes + @@ -683244,10 +180785,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -683288,7 +180839,7 @@
Parameters:
Source:
@@ -683316,10 +180867,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -683328,7 +180875,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -683362,7 +180912,7 @@
Returns:

default()

-
Tool to open a Wine console
+
setting to set the DirectDraw renderer
@@ -683425,7 +180975,7 @@

new defaultSource:
@@ -685237,7 +182787,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -685245,7 +182795,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -685297,7 +182847,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -685338,7 +182888,7 @@
Parameters:
Source:
@@ -685367,7 +182917,7 @@
Returns:
- The Resource object + The Downloader object
@@ -685378,7 +182928,7 @@
Returns:
-Resource +Downloader
@@ -685396,7 +182946,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -685404,7 +182954,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -685456,7 +183006,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -685497,7 +183047,7 @@
Parameters:
Source:
@@ -685526,7 +183076,7 @@
Returns:
- The Downloader object + The Resource object
@@ -685537,7 +183087,7 @@
Returns:
-Downloader +Resource
@@ -685555,7 +183105,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -685563,7 +183113,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -685607,7 +183157,7 @@

createSource:
@@ -685635,6 +183185,10 @@

createReturns:

+
+ The Wine object +
+
@@ -685643,7 +183197,7 @@
Returns:
-void +Wine
@@ -685661,7 +183215,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -685669,7 +183223,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -685713,7 +183267,7 @@

createSource:
@@ -685741,10 +183295,6 @@

createReturns:

-
- The Wine object -
-
@@ -685753,7 +183303,7 @@
Returns:
-Wine +void
@@ -686248,7 +183798,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -686256,7 +183806,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -686308,7 +183858,7 @@

Parameters:
- variables + The environment variables @@ -686349,7 +183899,7 @@
Parameters:
Source:
@@ -686378,7 +183928,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -686389,7 +183939,7 @@
Returns:
-QuickScript +WineShortcut
@@ -686407,7 +183957,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -686415,7 +183965,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -686467,7 +184017,7 @@

Parameters:
- The environment variables + variables @@ -686508,7 +184058,7 @@
Parameters:
Source:
@@ -686537,7 +184087,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -686548,7 +184098,7 @@
Returns:
-WineShortcut +QuickScript
@@ -686822,7 +184372,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -686830,7 +184380,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -686841,55 +184391,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -686923,7 +184424,7 @@
Parameters:
Source:
@@ -686952,7 +184453,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -686963,7 +184464,7 @@
Returns:
-Resource +string
@@ -686981,7 +184482,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -686989,7 +184490,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -687033,7 +184534,7 @@

getSource:
@@ -687062,7 +184563,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -687073,7 +184574,7 @@
Returns:
-string +String
@@ -687091,7 +184592,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -687099,7 +184600,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -687110,6 +184611,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -687143,7 +184693,7 @@

getSource:
@@ -687172,7 +184722,7 @@
Returns:
- The content of downloaded file + The found resource
@@ -687183,7 +184733,7 @@
Returns:
-String +Resource
@@ -688323,7 +185873,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -688331,7 +185881,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -688355,8 +185905,6 @@
Parameters:
Type - Attributes - @@ -688375,6 +185923,9 @@
Parameters:
+Array.<string> +| + URI @@ -688382,20 +185933,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -688436,7 +185977,7 @@
Parameters:
Source:
@@ -688461,6 +186002,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -688472,7 +186035,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -688480,7 +186043,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -688504,6 +186067,8 @@
Parameters:
Type + Attributes + @@ -688522,9 +186087,6 @@
Parameters:
-Array.<string> -| - URI @@ -688532,10 +186094,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + path to the miniature file @@ -688576,7 +186148,7 @@
Parameters:
Source:
@@ -688601,28 +186173,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -688634,7 +186184,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -688642,7 +186192,7 @@

name - Sets the shortcut name + Sets the resource name @@ -688694,7 +186244,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -688735,7 +186285,7 @@
Parameters:
Source:
@@ -688764,7 +186314,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -688775,7 +186325,7 @@
Returns:
-WineShortcut +Resource
@@ -688793,7 +186343,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -688801,7 +186351,7 @@

name - Sets the resource name + Sets the shortcut name @@ -688853,7 +186403,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -688894,7 +186444,7 @@
Parameters:
Source:
@@ -688923,7 +186473,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -688934,7 +186484,7 @@
Returns:
-Resource +WineShortcut
@@ -689902,6 +187452,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -690268,17 +187973,13 @@
Returns:
-

run(userArguments) → {void}

+

runInsidePrefix(executable, argsopt, waitopt)

-
- Runs a shortcut with the given user arguments -
- @@ -690300,8 +188001,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -690312,7 +188017,42 @@
Parameters:
- userArguments + executable + + + + + +string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args @@ -690325,10 +188065,65 @@
Parameters:
+ + + <optional>
+ + + + + - The user arguments + + + + [] + + + + + + + + + + + + wait + + + + + +boolean + + + + + + + + + <optional>
+ + + + + + + + + + + + false + + + + + @@ -690369,7 +188164,7 @@
Parameters:
Source:
@@ -690394,24 +188189,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - @@ -690423,13 +188200,17 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+ +
+ Sets the executable which shall be used +
+ @@ -690451,12 +188232,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -690467,7 +188244,7 @@
Parameters:
- executable + search @@ -690480,100 +188257,10 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - args - - - -array - - - - - - - - - <optional>
- - - - - - - - - - - - [] - - - - - - - - - - - - wait - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - - - false - - - - - + The executable name @@ -690614,7 +188301,7 @@
Parameters:
Source:
@@ -690639,83 +188326,56 @@
Parameters:
+
Returns:
+ +
+ The WineShortcut object +
- +
+
+ Type +
+
- +WineShortcut - - - - +
+
-
- Sets the executable which shall be used -
- - - - - - - -
Parameters:
- - - - - - - + - + - + +

stop() → {void}

+ - + - - - - - - - - - +
+ Stops the running shortcut +
- - - - - - - -
NameTypeDescription
search - - -string - - The executable name
@@ -690751,7 +188411,7 @@
Parameters:
Source:
@@ -690779,10 +188439,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -690791,7 +188447,7 @@
Returns:
-WineShortcut +void
@@ -690809,17 +188465,13 @@
Returns:
-

stop() → {void}

+

system32directory() → {string}

-
- Stops the running shortcut -
- @@ -690861,7 +188513,7 @@

stopSource:
@@ -690889,6 +188541,10 @@

stop + system32 directory + +
@@ -690897,7 +188553,7 @@
Returns:
-void +string
@@ -690915,7 +188571,7 @@
Returns:
-

system32directory() → {string}

+

system64directory() → {string}

@@ -690963,7 +188619,7 @@

syst
Source:
@@ -690992,7 +188648,7 @@

Returns:
- system32 directory + system64 directory
@@ -691021,19 +188677,72 @@
Returns:
-

system64directory() → {string}

+

to(localDestination) → {Downloader}

+
+ Sets the download destination +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + The destination of the download. If it is a directory, the file will be placed inside
@@ -691069,7 +188778,7 @@

syst
Source:
@@ -691098,7 +188807,7 @@

Returns:
- system64 directory + The Downloader object
@@ -691109,7 +188818,7 @@
Returns:
-string +Downloader
@@ -691127,7 +188836,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -691135,7 +188844,7 @@

to - Sets the download destination + Sets the trust level @@ -691171,7 +188880,7 @@
Parameters:
- localDestination + trustLevel @@ -691187,7 +188896,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -691228,7 +188937,7 @@
Parameters:
Source:
@@ -691257,7 +188966,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -691268,7 +188977,7 @@
Returns:
-Downloader +WineShortcut
@@ -691445,165 +189154,6 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

type(type) → {WineShortcut}

@@ -692911,13 +190461,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -692939,8 +190493,6 @@
Parameters:
Type - Attributes - @@ -692966,20 +190518,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -693020,7 +190562,7 @@
Parameters:
Source:
@@ -693048,6 +190590,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -693056,10 +190602,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -693077,7 +190620,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -693178,7 +190721,7 @@
Parameters:
Source:
@@ -693207,7 +190750,7 @@
Returns:
- The Resource object + The Downloader object
@@ -693218,7 +190761,7 @@
Returns:
-Resource +Downloader
@@ -693236,17 +190779,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -693268,6 +190807,8 @@
Parameters:
Type + Attributes + @@ -693293,10 +190834,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -693337,7 +190888,7 @@
Parameters:
Source:
@@ -693365,10 +190916,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -693377,7 +190924,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -693411,7 +190961,7 @@
Returns:

default()

-
Verb to install VK9
+
Tool to open a Wine console
@@ -693474,7 +191024,7 @@

new defaultSource:
@@ -695286,7 +192836,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -695294,7 +192844,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -695346,7 +192896,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -695387,7 +192937,7 @@
Parameters:
Source:
@@ -695416,7 +192966,7 @@
Returns:
- The Resource object + The Downloader object
@@ -695427,7 +192977,7 @@
Returns:
-Resource +Downloader
@@ -695445,7 +192995,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -695453,7 +193003,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -695505,7 +193055,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -695546,7 +193096,7 @@
Parameters:
Source:
@@ -695575,7 +193125,7 @@
Returns:
- The Downloader object + The Resource object
@@ -695586,7 +193136,7 @@
Returns:
-Downloader +Resource
@@ -695604,7 +193154,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -695612,7 +193162,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -695656,7 +193206,7 @@

createSource:
@@ -695684,6 +193234,10 @@

createReturns:

+
+ The Wine object +
+
@@ -695692,7 +193246,7 @@
Returns:
-void +Wine
@@ -695710,7 +193264,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -695718,7 +193272,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -695762,7 +193316,7 @@

createSource:
@@ -695790,10 +193344,6 @@

createReturns:

-
- The Wine object -
-
@@ -695802,7 +193352,7 @@
Returns:
-Wine +void
@@ -696297,7 +193847,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -696305,7 +193855,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -696357,7 +193907,7 @@

Parameters:
- variables + The environment variables @@ -696398,7 +193948,7 @@
Parameters:
Source:
@@ -696427,7 +193977,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -696438,7 +193988,7 @@
Returns:
-QuickScript +WineShortcut
@@ -696456,7 +194006,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -696464,7 +194014,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -696516,7 +194066,7 @@

Parameters:
- The environment variables + variables @@ -696557,7 +194107,7 @@
Parameters:
Source:
@@ -696586,7 +194136,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -696597,7 +194147,7 @@
Returns:
-WineShortcut +QuickScript
@@ -696729,7 +194279,201 @@
Parameters:
Source:
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

get() → {string}

+ + + + + + +
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -696754,6 +194498,28 @@
Parameters:
+
Returns:
+ + +
+ The path leading to the downloaded resource +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -696765,13 +194531,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {String}

+
+ Gets the content of the downloaded file +
+ @@ -696813,7 +194583,7 @@

fontDire
Source:
@@ -696842,7 +194612,7 @@

Returns:
- font directory + The content of downloaded file
@@ -696853,7 +194623,7 @@
Returns:
-string +String
@@ -697030,226 +194800,6 @@
Returns:
-

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -698372,7 +195922,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -698380,7 +195930,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -698404,8 +195954,6 @@
Parameters:
Type - Attributes - @@ -698424,6 +195972,9 @@
Parameters:
+Array.<string> +| + URI @@ -698431,20 +195982,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -698485,7 +196026,7 @@
Parameters:
Source:
@@ -698510,6 +196051,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -698521,7 +196084,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -698529,7 +196092,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -698553,6 +196116,8 @@
Parameters:
Type + Attributes + @@ -698571,9 +196136,6 @@
Parameters:
-Array.<string> -| - URI @@ -698581,10 +196143,20 @@
Parameters:
+ + + <optional>
+ + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + + + path to the miniature file @@ -698625,7 +196197,7 @@
Parameters:
Source:
@@ -698650,28 +196222,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -698683,7 +196233,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -698691,7 +196241,7 @@

name - Sets the shortcut name + Sets the resource name @@ -698743,7 +196293,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -698784,7 +196334,7 @@
Parameters:
Source:
@@ -698813,7 +196363,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -698824,7 +196374,7 @@
Returns:
-WineShortcut +Resource
@@ -698842,7 +196392,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -698850,7 +196400,7 @@

name - Sets the resource name + Sets the shortcut name @@ -698902,7 +196452,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -698943,7 +196493,7 @@
Parameters:
Source:
@@ -698972,7 +196522,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -698983,7 +196533,7 @@
Returns:
-Resource +WineShortcut
@@ -699951,6 +197501,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -700317,161 +198022,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -701070,13 +198620,122 @@
Returns:
-

system64directory() → {string}

+

system64directory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ system64 directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

to(localDestination) → {Downloader}

+
+ Sets the download destination +
@@ -701086,6 +198745,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + + + The destination of the download. If it is a directory, the file will be placed inside
+ + + @@ -701118,7 +198827,7 @@

syst
Source:
@@ -701147,7 +198856,7 @@

Returns:
- system64 directory + The Downloader object
@@ -701158,7 +198867,7 @@
Returns:
-string +Downloader
@@ -701176,7 +198885,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -701184,7 +198893,7 @@

to - Sets the download destination + Sets the trust level @@ -701220,7 +198929,7 @@
Parameters:
- localDestination + trustLevel @@ -701236,7 +198945,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -701277,7 +198986,7 @@
Parameters:
Source:
@@ -701306,7 +199015,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -701317,7 +199026,7 @@
Returns:
-Downloader +WineShortcut
@@ -701494,7 +199203,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

type(type) → {WineShortcut}

@@ -701502,7 +199211,7 @@

trustLevel<
- Sets the trust level + Sets the shortcut type
@@ -701538,7 +199247,7 @@

Parameters:
- trustLevel + type @@ -701554,7 +199263,7 @@
Parameters:
- The trust level + The shortcut type @@ -701595,7 +199304,7 @@
Parameters:
Source:
@@ -701653,7 +199362,7 @@
Returns:
-

type(type) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -701661,7 +199370,7 @@

type - Sets the shortcut type + uninstall application @@ -701697,7 +199406,7 @@
Parameters:
- type + name @@ -701713,7 +199422,7 @@
Parameters:
- The shortcut type + of the application which shall be uninstalled @@ -701754,7 +199463,7 @@
Parameters:
Source:
@@ -701783,7 +199492,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -701794,7 +199503,7 @@
Returns:
-WineShortcut +bool
@@ -701812,7 +199521,7 @@
Returns:
-

uninstall(name) → {bool}

+

uninstall() → {void}

@@ -701820,7 +199529,113 @@

uninstall - uninstall application + Uninstalls the shortcut + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

url(url) → {Downloader}

+ + + + + + +
+ Sets the URL which shall be used for the download
@@ -701856,7 +199671,7 @@
Parameters:
- name + url @@ -701872,7 +199687,7 @@
Parameters:
- of the application which shall be uninstalled + The URL @@ -701913,7 +199728,7 @@
Parameters:
Source:
@@ -701942,7 +199757,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The Downloader object
@@ -701953,7 +199768,7 @@
Returns:
-bool +Downloader
@@ -701971,7 +199786,7 @@
Returns:
-

uninstall() → {void}

+

url(url) → {Resource}

@@ -701979,7 +199794,7 @@

uninstall - Uninstalls the shortcut + Sets the resource URL @@ -701990,6 +199805,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
+ + @@ -702023,7 +199887,7 @@

uninstallSource:
@@ -702051,6 +199915,10 @@

uninstallReturns:

+
+ The Resource object +
+
@@ -702059,7 +199927,7 @@
Returns:
-void +Resource
@@ -702077,7 +199945,7 @@
Returns:
-

url(url) → {Downloader}

+

wait() → {Wine}

@@ -702085,7 +199953,7 @@

url - Sets the URL which shall be used for the download + wait until wineserver finishes @@ -702096,55 +199964,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -702178,7 +199997,7 @@
Parameters:
Source:
@@ -702206,10 +200025,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -702218,7 +200033,7 @@
Returns:
-Downloader +Wine
@@ -702236,17 +200051,13 @@
Returns:
-

url(url) → {Resource}

+

winepath(pathopt) → {String}

-
- Sets the resource URL -
- @@ -702268,6 +200079,8 @@
Parameters:
Type + Attributes + @@ -702280,23 +200093,33 @@
Parameters:
- url + path -string +String + + + <optional>
+ + + + + + + - The URL + @@ -702337,7 +200160,7 @@
Parameters:
Source:
@@ -702365,10 +200188,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -702377,7 +200196,7 @@
Returns:
-Resource +String
@@ -702395,7 +200214,7 @@
Returns:
-

wait() → {Wine}

+

wineServer(wineserver)

@@ -702403,7 +200222,7 @@

wait - wait until wineserver finishes + executes wineserver in current prefix @@ -702414,108 +200233,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -702529,8 +200246,6 @@
Parameters:
Type - Attributes - @@ -702543,33 +200258,23 @@
Parameters:
- path + wineserver -String +string - - - <optional>
- - - - - - - - + parameter @@ -702610,7 +200315,7 @@
Parameters:
Source:
@@ -702635,24 +200340,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - @@ -702664,7 +200351,7 @@
Returns:
-

wineServer(wineserver)

+

withScript(command) → {PlainInstaller}

@@ -702672,7 +200359,7 @@

wineServer<
- executes wineserver in current prefix + Sets the installation script consisting of a lambda function
@@ -702708,13 +200395,13 @@

Parameters:
- wineserver + command -string +function @@ -702724,7 +200411,7 @@
Parameters:
- parameter + The installation command @@ -702765,7 +200452,7 @@
Parameters:
Source:
@@ -702790,6 +200477,28 @@
Parameters:
+
Returns:
+ + +
+ The PlainInstaller object +
+ + + +
+
+ Type +
+
+ +PlainInstaller + + +
+
+ + @@ -702801,7 +200510,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wizard(wizard) → {Resource}

@@ -702809,7 +200518,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the setup wizard
@@ -702845,13 +200554,13 @@

Parameters:
- command + wizard -function +SetupWizard @@ -702861,7 +200570,7 @@
Parameters:
- The installation command + The setup wizard @@ -702902,7 +200611,7 @@
Parameters:
Source:
@@ -702931,7 +200640,7 @@
Returns:
- The PlainInstaller object + The Resource object
@@ -702942,173 +200651,7 @@
Returns:
-PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine +Resource
@@ -703126,7 +200669,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -703227,7 +200770,7 @@
Parameters:
Source:
@@ -703256,7 +200799,7 @@
Returns:
- The Resource object + The Downloader object
@@ -703267,7 +200810,7 @@
Returns:
-Resource +Downloader
@@ -703285,17 +200828,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -703317,6 +200856,8 @@
Parameters:
Type + Attributes + @@ -703342,10 +200883,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -703386,7 +200937,7 @@
Parameters:
Source:
@@ -703414,10 +200965,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -703426,7 +200973,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -703460,7 +201010,7 @@
Returns:

default()

-
Verb to install D9VK
+
Tool to uninstall Wine
@@ -703523,7 +201073,7 @@

new defaultSource:
@@ -705335,7 +202885,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -705343,7 +202893,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -705395,7 +202945,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -705436,7 +202986,7 @@
Parameters:
Source:
@@ -705465,7 +203015,7 @@
Returns:
- The Resource object + The Downloader object
@@ -705476,7 +203026,7 @@
Returns:
-Resource +Downloader
@@ -705494,7 +203044,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -705502,7 +203052,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -705554,7 +203104,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -705595,7 +203145,7 @@
Parameters:
Source:
@@ -705624,7 +203174,7 @@
Returns:
- The Downloader object + The Resource object
@@ -705635,7 +203185,7 @@
Returns:
-Downloader +Resource
@@ -705653,7 +203203,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -705661,7 +203211,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -705705,7 +203255,7 @@

createSource:
@@ -705733,6 +203283,10 @@

createReturns:

+
+ The Wine object +
+
@@ -705741,7 +203295,7 @@
Returns:
-void +Wine
@@ -705759,7 +203313,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -705767,7 +203321,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -705811,7 +203365,7 @@

createSource:
@@ -705839,10 +203393,6 @@

createReturns:

-
- The Wine object -
-
@@ -705851,7 +203401,7 @@
Returns:
-Wine +void
@@ -706346,7 +203896,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -706354,7 +203904,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -706406,7 +203956,7 @@

Parameters:
- variables + The environment variables @@ -706447,7 +203997,7 @@
Parameters:
Source:
@@ -706476,7 +204026,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -706487,7 +204037,7 @@
Returns:
-QuickScript +WineShortcut
@@ -706505,7 +204055,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -706513,7 +204063,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -706565,7 +204115,7 @@

Parameters:
- The environment variables + variables @@ -706606,7 +204156,7 @@
Parameters:
Source:
@@ -706635,7 +204185,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -706646,7 +204196,7 @@
Returns:
-WineShortcut +QuickScript
@@ -706920,7 +204470,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -706928,7 +204478,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -706939,55 +204489,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -707021,7 +204522,7 @@
Parameters:
Source:
@@ -707050,7 +204551,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -707061,7 +204562,7 @@
Returns:
-Resource +string
@@ -707079,7 +204580,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -707087,7 +204588,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -707131,7 +204632,7 @@

getSource:
@@ -707160,7 +204661,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -707171,7 +204672,7 @@
Returns:
-string +String
@@ -707189,7 +204690,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -707197,7 +204698,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -707208,6 +204709,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -707241,7 +204791,7 @@

getSource:
@@ -707270,7 +204820,7 @@
Returns:
- The content of downloaded file + The found resource
@@ -707281,7 +204831,7 @@
Returns:
-String +Resource
@@ -708421,7 +205971,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -708429,7 +205979,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -708453,8 +206003,6 @@
Parameters:
Type - Attributes - @@ -708473,6 +206021,9 @@
Parameters:
+Array.<string> +| + URI @@ -708480,20 +206031,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -708534,7 +206075,7 @@
Parameters:
Source:
@@ -708559,6 +206100,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -708570,7 +206133,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -708578,7 +206141,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -708602,6 +206165,8 @@
Parameters:
Type + Attributes + @@ -708620,9 +206185,6 @@
Parameters:
-Array.<string> -| - URI @@ -708630,10 +206192,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + path to the miniature file @@ -708674,7 +206246,7 @@
Parameters:
Source:
@@ -708699,28 +206271,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -708732,7 +206282,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -708740,7 +206290,7 @@

name - Sets the shortcut name + Sets the resource name @@ -708792,7 +206342,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -708833,7 +206383,7 @@
Parameters:
Source:
@@ -708862,7 +206412,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -708873,7 +206423,7 @@
Returns:
-WineShortcut +Resource
@@ -708891,7 +206441,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -708899,7 +206449,7 @@

name - Sets the resource name + Sets the shortcut name @@ -708951,7 +206501,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -708992,7 +206542,7 @@
Parameters:
Source:
@@ -709021,7 +206571,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -709032,7 +206582,7 @@
Returns:
-Resource +WineShortcut
@@ -710000,6 +207550,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -710366,17 +208071,13 @@
Returns:
-

run(userArguments) → {void}

+

runInsidePrefix(executable, argsopt, waitopt)

-
- Runs a shortcut with the given user arguments -
- @@ -710398,8 +208099,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -710410,7 +208115,42 @@
Parameters:
- userArguments + executable + + + + + +string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args @@ -710423,10 +208163,65 @@
Parameters:
+ + + <optional>
+ + + + + - The user arguments + + + + [] + + + + + + + + + + + + wait + + + + + +boolean + + + + + + + + + <optional>
+ + + + + + + + + + + + false + + + + + @@ -710467,7 +208262,7 @@
Parameters:
Source:
@@ -710492,24 +208287,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - @@ -710521,13 +208298,17 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+ +
+ Sets the executable which shall be used +
+ @@ -710549,12 +208330,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -710565,7 +208342,7 @@
Parameters:
- executable + search @@ -710578,100 +208355,10 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - args - - - -array - - - - - - - - - <optional>
- - - - - - - - - - - - [] - - - - - - - - - - - - wait - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - - - false - - - - - + The executable name @@ -710712,7 +208399,7 @@
Parameters:
Source:
@@ -710737,83 +208424,56 @@
Parameters:
+
Returns:
+ +
+ The WineShortcut object +
- +
+
+ Type +
+
- +WineShortcut - - - - +
+
-
- Sets the executable which shall be used -
- - - - - - - -
Parameters:
- - - - - - - + - + - + +

stop() → {void}

+ - + - - - - - - - - - +
+ Stops the running shortcut +
- - - - - - - -
NameTypeDescription
search - - -string - - The executable name
@@ -710849,7 +208509,7 @@
Parameters:
Source:
@@ -710877,10 +208537,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -710889,7 +208545,7 @@
Returns:
-WineShortcut +void
@@ -710907,17 +208563,13 @@
Returns:
-

stop() → {void}

+

system32directory() → {string}

-
- Stops the running shortcut -
- @@ -710959,7 +208611,7 @@

stopSource:
@@ -710987,6 +208639,10 @@

stop + system32 directory + +
@@ -710995,7 +208651,7 @@
Returns:
-void +string
@@ -711013,7 +208669,7 @@
Returns:
-

system32directory() → {string}

+

system64directory() → {string}

@@ -711061,7 +208717,7 @@

syst
Source:
@@ -711090,7 +208746,7 @@

Returns:
- system32 directory + system64 directory
@@ -711119,19 +208775,72 @@
Returns:
-

system64directory() → {string}

+

to(localDestination) → {Downloader}

+
+ Sets the download destination +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + The destination of the download. If it is a directory, the file will be placed inside
@@ -711167,7 +208876,7 @@

syst
Source:
@@ -711196,7 +208905,7 @@

Returns:
- system64 directory + The Downloader object
@@ -711207,7 +208916,7 @@
Returns:
-string +Downloader
@@ -711225,7 +208934,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -711233,7 +208942,7 @@

to - Sets the download destination + Sets the trust level @@ -711269,7 +208978,7 @@
Parameters:
- localDestination + trustLevel @@ -711285,7 +208994,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -711326,7 +209035,7 @@
Parameters:
Source:
@@ -711355,7 +209064,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -711366,7 +209075,7 @@
Returns:
-Downloader +WineShortcut
@@ -711543,165 +209252,6 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

type(type) → {WineShortcut}

@@ -713009,13 +210559,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -713037,8 +210591,6 @@
Parameters:
Type - Attributes - @@ -713064,20 +210616,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -713118,7 +210660,7 @@
Parameters:
Source:
@@ -713146,6 +210688,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -713154,10 +210700,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -713175,7 +210718,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -713276,7 +210819,7 @@
Parameters:
Source:
@@ -713305,7 +210848,7 @@
Returns:
- The Resource object + The Downloader object
@@ -713316,7 +210859,7 @@
Returns:
-Resource +Downloader
@@ -713334,17 +210877,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -713366,6 +210905,8 @@
Parameters:
Type + Attributes + @@ -713391,10 +210932,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -713435,7 +210986,7 @@
Parameters:
Source:
@@ -713463,10 +211014,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -713475,7 +211022,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -713509,7 +211059,7 @@
Returns:

default()

-
Verb to install Uplay
+
Tool to open a terminal in a Wine prefix
@@ -713572,7 +211122,7 @@

new defaultSource:
@@ -715384,7 +212934,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -715392,7 +212942,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -715444,7 +212994,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -715485,7 +213035,7 @@
Parameters:
Source:
@@ -715514,7 +213064,7 @@
Returns:
- The Resource object + The Downloader object
@@ -715525,7 +213075,7 @@
Returns:
-Resource +Downloader
@@ -715543,7 +213093,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -715551,7 +213101,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -715603,7 +213153,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -715644,7 +213194,7 @@
Parameters:
Source:
@@ -715673,7 +213223,7 @@
Returns:
- The Downloader object + The Resource object
@@ -715684,7 +213234,7 @@
Returns:
-Downloader +Resource
@@ -715702,7 +213252,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -715710,7 +213260,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -715754,7 +213304,7 @@

createSource:
@@ -715782,6 +213332,10 @@

createReturns:

+
+ The Wine object +
+
@@ -715790,7 +213344,7 @@
Returns:
-void +Wine
@@ -715808,7 +213362,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -715816,7 +213370,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -715860,7 +213414,7 @@

createSource:
@@ -715888,10 +213442,6 @@

createReturns:

-
- The Wine object -
-
@@ -715900,7 +213450,7 @@
Returns:
-Wine +void
@@ -716395,7 +213945,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -716403,7 +213953,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -716455,7 +214005,7 @@

Parameters:
- variables + The environment variables @@ -716496,7 +214046,7 @@
Parameters:
Source:
@@ -716525,7 +214075,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -716536,7 +214086,7 @@
Returns:
-QuickScript +WineShortcut
@@ -716554,7 +214104,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -716562,7 +214112,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -716614,7 +214164,7 @@

Parameters:
- The environment variables + variables @@ -716655,7 +214205,7 @@
Parameters:
Source:
@@ -716684,7 +214234,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -716695,7 +214245,7 @@
Returns:
-WineShortcut +QuickScript
@@ -716827,7 +214377,201 @@
Parameters:
Source:
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

get() → {string}

+ + + + + + +
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -716852,6 +214596,28 @@
Parameters:
+
Returns:
+ + +
+ The path leading to the downloaded resource +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -716863,13 +214629,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {String}

+
+ Gets the content of the downloaded file +
+ @@ -716911,7 +214681,7 @@

fontDire
Source:
@@ -716940,7 +214710,7 @@

Returns:
- font directory + The content of downloaded file
@@ -716951,7 +214721,7 @@
Returns:
-string +String
@@ -717128,226 +214898,6 @@
Returns:
-

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -718470,7 +216020,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -718478,7 +216028,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -718502,8 +216052,6 @@
Parameters:
Type - Attributes - @@ -718522,6 +216070,9 @@
Parameters:
+Array.<string> +| + URI @@ -718529,20 +216080,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -718583,7 +216124,7 @@
Parameters:
Source:
@@ -718608,6 +216149,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -718619,7 +216182,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -718627,7 +216190,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -718651,6 +216214,8 @@
Parameters:
Type + Attributes + @@ -718669,9 +216234,6 @@
Parameters:
-Array.<string> -| - URI @@ -718679,10 +216241,20 @@
Parameters:
+ + + <optional>
+ + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + + + path to the miniature file @@ -718723,7 +216295,7 @@
Parameters:
Source:
@@ -718748,28 +216320,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -718781,7 +216331,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -718789,7 +216339,7 @@

name - Sets the shortcut name + Sets the resource name @@ -718841,7 +216391,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -718882,7 +216432,7 @@
Parameters:
Source:
@@ -718911,7 +216461,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -718922,7 +216472,7 @@
Returns:
-WineShortcut +Resource
@@ -718940,7 +216490,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -718948,7 +216498,7 @@

name - Sets the resource name + Sets the shortcut name @@ -719000,7 +216550,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -719041,7 +216591,7 @@
Parameters:
Source:
@@ -719070,7 +216620,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -719081,7 +216631,7 @@
Returns:
-Resource +WineShortcut
@@ -720049,6 +217599,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -720415,161 +218120,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -721168,13 +218718,122 @@
Returns:
-

system64directory() → {string}

+

system64directory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ system64 directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

to(localDestination) → {Downloader}

+
+ Sets the download destination +
@@ -721184,6 +218843,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + + + The destination of the download. If it is a directory, the file will be placed inside
+ + + @@ -721216,7 +218925,7 @@

syst
Source:
@@ -721245,7 +218954,7 @@

Returns:
- system64 directory + The Downloader object
@@ -721256,7 +218965,7 @@
Returns:
-string +Downloader
@@ -721274,7 +218983,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -721282,7 +218991,7 @@

to - Sets the download destination + Sets the trust level @@ -721318,7 +219027,7 @@
Parameters:
- localDestination + trustLevel @@ -721334,7 +219043,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -721375,7 +219084,7 @@
Parameters:
Source:
@@ -721404,7 +219113,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -721415,7 +219124,7 @@
Returns:
-Downloader +WineShortcut
@@ -721592,7 +219301,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

type(type) → {WineShortcut}

@@ -721600,7 +219309,7 @@

trustLevel<
- Sets the trust level + Sets the shortcut type
@@ -721636,7 +219345,7 @@

Parameters:
- trustLevel + type @@ -721652,7 +219361,7 @@
Parameters:
- The trust level + The shortcut type @@ -721693,7 +219402,7 @@
Parameters:
Source:
@@ -721751,7 +219460,7 @@
Returns:
-

type(type) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -721759,7 +219468,7 @@

type - Sets the shortcut type + uninstall application @@ -721795,7 +219504,7 @@
Parameters:
- type + name @@ -721811,7 +219520,7 @@
Parameters:
- The shortcut type + of the application which shall be uninstalled @@ -721852,7 +219561,7 @@
Parameters:
Source:
@@ -721881,7 +219590,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -721892,7 +219601,7 @@
Returns:
-WineShortcut +bool
@@ -721910,7 +219619,7 @@
Returns:
-

uninstall(name) → {bool}

+

uninstall() → {void}

@@ -721918,7 +219627,113 @@

uninstall - uninstall application + Uninstalls the shortcut + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

url(url) → {Downloader}

+ + + + + + +
+ Sets the URL which shall be used for the download
@@ -721954,7 +219769,7 @@
Parameters:
- name + url @@ -721970,7 +219785,7 @@
Parameters:
- of the application which shall be uninstalled + The URL @@ -722011,7 +219826,7 @@
Parameters:
Source:
@@ -722040,7 +219855,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The Downloader object
@@ -722051,7 +219866,7 @@
Returns:
-bool +Downloader
@@ -722069,7 +219884,7 @@
Returns:
-

uninstall() → {void}

+

url(url) → {Resource}

@@ -722077,7 +219892,7 @@

uninstall - Uninstalls the shortcut + Sets the resource URL @@ -722088,6 +219903,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
+ + @@ -722121,7 +219985,7 @@

uninstallSource:
@@ -722149,6 +220013,10 @@

uninstallReturns:

+
+ The Resource object +
+
@@ -722157,7 +220025,7 @@
Returns:
-void +Resource
@@ -722175,7 +220043,7 @@
Returns:
-

url(url) → {Downloader}

+

wait() → {Wine}

@@ -722183,7 +220051,7 @@

url - Sets the URL which shall be used for the download + wait until wineserver finishes @@ -722194,55 +220062,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -722276,7 +220095,7 @@
Parameters:
Source:
@@ -722304,10 +220123,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -722316,7 +220131,7 @@
Returns:
-Downloader +Wine
@@ -722334,17 +220149,13 @@
Returns:
-

url(url) → {Resource}

+

winepath(pathopt) → {String}

-
- Sets the resource URL -
- @@ -722366,6 +220177,8 @@
Parameters:
Type + Attributes + @@ -722378,23 +220191,33 @@
Parameters:
- url + path -string +String + + + <optional>
+ + + + + + + - The URL + @@ -722435,7 +220258,7 @@
Parameters:
Source:
@@ -722463,10 +220286,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -722475,7 +220294,7 @@
Returns:
-Resource +String
@@ -722493,7 +220312,7 @@
Returns:
-

wait() → {Wine}

+

wineServer(wineserver)

@@ -722501,7 +220320,7 @@

wait - wait until wineserver finishes + executes wineserver in current prefix @@ -722512,108 +220331,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -722627,8 +220344,6 @@
Parameters:
Type - Attributes - @@ -722641,33 +220356,23 @@
Parameters:
- path + wineserver -String +string - - - <optional>
- - - - - - - - + parameter @@ -722708,7 +220413,7 @@
Parameters:
Source:
@@ -722733,24 +220438,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - @@ -722762,7 +220449,7 @@
Returns:
-

wineServer(wineserver)

+

withScript(command) → {PlainInstaller}

@@ -722770,7 +220457,7 @@

wineServer<
- executes wineserver in current prefix + Sets the installation script consisting of a lambda function
@@ -722806,13 +220493,13 @@

Parameters:
- wineserver + command -string +function @@ -722822,7 +220509,7 @@
Parameters:
- parameter + The installation command @@ -722863,7 +220550,7 @@
Parameters:
Source:
@@ -722888,6 +220575,28 @@
Parameters:
+
Returns:
+ + +
+ The PlainInstaller object +
+ + + +
+
+ Type +
+
+ +PlainInstaller + + +
+
+ + @@ -722899,7 +220608,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wizard(wizard) → {Resource}

@@ -722907,7 +220616,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the setup wizard
@@ -722943,13 +220652,13 @@

Parameters:
- command + wizard -function +SetupWizard @@ -722959,7 +220668,7 @@
Parameters:
- The installation command + The setup wizard @@ -723000,7 +220709,7 @@
Parameters:
Source:
@@ -723029,7 +220738,7 @@
Returns:
- The PlainInstaller object + The Resource object
@@ -723040,173 +220749,7 @@
Returns:
-PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine +Resource
@@ -723224,7 +220767,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -723325,7 +220868,7 @@
Parameters:
Source:
@@ -723354,7 +220897,7 @@
Returns:
- The Resource object + The Downloader object
@@ -723365,7 +220908,7 @@
Returns:
-Resource +Downloader
@@ -723383,17 +220926,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -723415,6 +220954,8 @@
Parameters:
Type + Attributes + @@ -723440,10 +220981,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -723484,7 +221035,7 @@
Parameters:
Source:
@@ -723512,10 +221063,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -723524,7 +221071,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -723558,7 +221108,7 @@
Returns:

default()

-
Verb to install DXVK
+
Tool to open the Wine task manager
@@ -723621,7 +221171,7 @@

new defaultSource:
@@ -725433,7 +222983,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -725441,7 +222991,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -725493,7 +223043,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -725534,7 +223084,7 @@
Parameters:
Source:
@@ -725563,7 +223113,7 @@
Returns:
- The Resource object + The Downloader object
@@ -725574,7 +223124,7 @@
Returns:
-Resource +Downloader
@@ -725592,7 +223142,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -725600,7 +223150,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -725652,7 +223202,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -725693,7 +223243,7 @@
Parameters:
Source:
@@ -725722,7 +223272,7 @@
Returns:
- The Downloader object + The Resource object
@@ -725733,7 +223283,7 @@
Returns:
-Downloader +Resource
@@ -725751,7 +223301,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -725759,7 +223309,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -725803,7 +223353,7 @@

createSource:
@@ -725831,6 +223381,10 @@

createReturns:

+
+ The Wine object +
+
@@ -725839,7 +223393,7 @@
Returns:
-void +Wine
@@ -725857,7 +223411,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -725865,7 +223419,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -725909,7 +223463,7 @@

createSource:
@@ -725937,10 +223491,6 @@

createReturns:

-
- The Wine object -
-
@@ -725949,7 +223499,7 @@
Returns:
-Wine +void
@@ -726444,7 +223994,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -726452,7 +224002,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -726504,7 +224054,7 @@

Parameters:
- variables + The environment variables @@ -726545,7 +224095,7 @@
Parameters:
Source:
@@ -726574,7 +224124,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -726585,7 +224135,7 @@
Returns:
-QuickScript +WineShortcut
@@ -726603,7 +224153,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -726611,7 +224161,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -726663,7 +224213,7 @@

Parameters:
- The environment variables + variables @@ -726704,7 +224254,7 @@
Parameters:
Source:
@@ -726733,7 +224283,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -726744,7 +224294,7 @@
Returns:
-WineShortcut +QuickScript
@@ -727018,7 +224568,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -727026,7 +224576,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -727037,55 +224587,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -727119,7 +224620,7 @@
Parameters:
Source:
@@ -727148,7 +224649,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -727159,7 +224660,7 @@
Returns:
-Resource +string
@@ -727177,7 +224678,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -727185,7 +224686,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -727229,7 +224730,7 @@

getSource:
@@ -727258,7 +224759,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -727269,7 +224770,7 @@
Returns:
-string +String
@@ -727287,7 +224788,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -727295,7 +224796,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -727306,6 +224807,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -727339,7 +224889,7 @@

getSource:
@@ -727368,7 +224918,7 @@
Returns:
- The content of downloaded file + The found resource
@@ -727379,7 +224929,7 @@
Returns:
-String +Resource
@@ -728519,7 +226069,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -728527,7 +226077,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -728551,8 +226101,6 @@
Parameters:
Type - Attributes - @@ -728571,6 +226119,9 @@
Parameters:
+Array.<string> +| + URI @@ -728578,20 +226129,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -728632,7 +226173,7 @@
Parameters:
Source:
@@ -728657,6 +226198,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -728668,7 +226231,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -728676,7 +226239,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -728700,6 +226263,8 @@
Parameters:
Type + Attributes + @@ -728718,9 +226283,6 @@
Parameters:
-Array.<string> -| - URI @@ -728728,10 +226290,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + path to the miniature file @@ -728772,7 +226344,7 @@
Parameters:
Source:
@@ -728797,28 +226369,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -728830,7 +226380,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -728838,7 +226388,7 @@

name - Sets the shortcut name + Sets the resource name @@ -728890,7 +226440,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -728931,7 +226481,7 @@
Parameters:
Source:
@@ -728960,7 +226510,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -728971,7 +226521,7 @@
Returns:
-WineShortcut +Resource
@@ -728989,7 +226539,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -728997,7 +226547,7 @@

name - Sets the resource name + Sets the shortcut name @@ -729049,7 +226599,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -729090,7 +226640,7 @@
Parameters:
Source:
@@ -729119,7 +226669,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -729130,7 +226680,7 @@
Returns:
-Resource +WineShortcut
@@ -730098,6 +227648,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -730464,17 +228169,13 @@
Returns:
-

run(userArguments) → {void}

+

runInsidePrefix(executable, argsopt, waitopt)

-
- Runs a shortcut with the given user arguments -
- @@ -730496,8 +228197,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -730508,7 +228213,42 @@
Parameters:
- userArguments + executable + + + + + +string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args @@ -730521,10 +228261,65 @@
Parameters:
+ + + <optional>
+ + + + + - The user arguments + + + + [] + + + + + + + + + + + + wait + + + + + +boolean + + + + + + + + + <optional>
+ + + + + + + + + + + + false + + + + + @@ -730565,7 +228360,7 @@
Parameters:
Source:
@@ -730590,24 +228385,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - @@ -730619,13 +228396,17 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+ +
+ Sets the executable which shall be used +
+ @@ -730647,12 +228428,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -730663,7 +228440,7 @@
Parameters:
- executable + search @@ -730676,100 +228453,10 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - args - - - -array - - - - - - - - - <optional>
- - - - - - - - - - - - [] - - - - - - - - - - - - wait - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - - - false - - - - - + The executable name @@ -730810,7 +228497,7 @@
Parameters:
Source:
@@ -730835,83 +228522,56 @@
Parameters:
+
Returns:
+ +
+ The WineShortcut object +
- +
+
+ Type +
+
- +WineShortcut - - - - +
+
-
- Sets the executable which shall be used -
- - - - - - - -
Parameters:
- - - - - - - + - + - + +

stop() → {void}

+ - + - - - - - - - - - +
+ Stops the running shortcut +
- - - - - - - -
NameTypeDescription
search - - -string - - The executable name
@@ -730947,7 +228607,7 @@
Parameters:
Source:
@@ -730975,10 +228635,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -730987,7 +228643,7 @@
Returns:
-WineShortcut +void
@@ -731005,17 +228661,13 @@
Returns:
-

stop() → {void}

+

system32directory() → {string}

-
- Stops the running shortcut -
- @@ -731057,7 +228709,7 @@

stopSource:
@@ -731085,6 +228737,10 @@

stop + system32 directory + +
@@ -731093,7 +228749,7 @@
Returns:
-void +string
@@ -731111,7 +228767,7 @@
Returns:
-

system32directory() → {string}

+

system64directory() → {string}

@@ -731159,7 +228815,7 @@

syst
Source:
@@ -731188,7 +228844,7 @@

Returns:
- system32 directory + system64 directory
@@ -731217,19 +228873,72 @@
Returns:
-

system64directory() → {string}

+

to(localDestination) → {Downloader}

+
+ Sets the download destination +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + The destination of the download. If it is a directory, the file will be placed inside
@@ -731265,7 +228974,7 @@

syst
Source:
@@ -731294,7 +229003,7 @@

Returns:
- system64 directory + The Downloader object
@@ -731305,7 +229014,7 @@
Returns:
-string +Downloader
@@ -731323,7 +229032,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -731331,7 +229040,7 @@

to - Sets the download destination + Sets the trust level @@ -731367,7 +229076,7 @@
Parameters:
- localDestination + trustLevel @@ -731383,7 +229092,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -731424,7 +229133,7 @@
Parameters:
Source:
@@ -731453,7 +229162,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -731464,7 +229173,7 @@
Returns:
-Downloader +WineShortcut
@@ -731641,165 +229350,6 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

type(type) → {WineShortcut}

@@ -733107,13 +230657,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -733135,8 +230689,6 @@
Parameters:
Type - Attributes - @@ -733162,20 +230714,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -733216,7 +230758,7 @@
Parameters:
Source:
@@ -733244,6 +230786,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -733252,10 +230798,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -733273,7 +230816,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -733374,7 +230917,7 @@
Parameters:
Source:
@@ -733403,7 +230946,7 @@
Returns:
- The Resource object + The Downloader object
@@ -733414,7 +230957,7 @@
Returns:
-Resource +Downloader
@@ -733432,17 +230975,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -733464,6 +231003,8 @@
Parameters:
Type + Attributes + @@ -733489,10 +231030,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -733533,7 +231084,7 @@
Parameters:
Source:
@@ -733561,10 +231112,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -733573,7 +231120,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -733607,7 +231157,7 @@
Returns:

default()

-
Verb to install the Tahoma font
+
Tool to open the Wine registry editor
@@ -733670,7 +231220,7 @@

new defaultSource:
@@ -735482,7 +233032,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -735490,7 +233040,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -735542,7 +233092,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -735583,7 +233133,7 @@
Parameters:
Source:
@@ -735612,7 +233162,7 @@
Returns:
- The Resource object + The Downloader object
@@ -735623,7 +233173,7 @@
Returns:
-Resource +Downloader
@@ -735641,7 +233191,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -735649,7 +233199,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -735701,7 +233251,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -735742,7 +233292,7 @@
Parameters:
Source:
@@ -735771,7 +233321,7 @@
Returns:
- The Downloader object + The Resource object
@@ -735782,7 +233332,7 @@
Returns:
-Downloader +Resource
@@ -735800,7 +233350,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -735808,7 +233358,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -735852,7 +233402,7 @@

createSource:
@@ -735880,6 +233430,10 @@

createReturns:

+
+ The Wine object +
+
@@ -735888,7 +233442,7 @@
Returns:
-void +Wine
@@ -735906,7 +233460,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -735914,7 +233468,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -735958,7 +233512,7 @@

createSource:
@@ -735986,10 +233540,6 @@

createReturns:

-
- The Wine object -
-
@@ -735998,7 +233548,7 @@
Returns:
-Wine +void
@@ -736493,7 +234043,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -736501,7 +234051,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -736553,7 +234103,7 @@

Parameters:
- variables + The environment variables @@ -736594,7 +234144,7 @@
Parameters:
Source:
@@ -736623,7 +234173,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -736634,7 +234184,7 @@
Returns:
-QuickScript +WineShortcut
@@ -736652,7 +234202,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -736660,7 +234210,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -736712,7 +234262,7 @@

Parameters:
- The environment variables + variables @@ -736753,7 +234303,7 @@
Parameters:
Source:
@@ -736782,7 +234332,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -736793,7 +234343,7 @@
Returns:
-WineShortcut +QuickScript
@@ -736925,7 +234475,201 @@
Parameters:
Source:
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

get() → {string}

+ + + + + + +
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -736950,6 +234694,28 @@
Parameters:
+
Returns:
+ + +
+ The path leading to the downloaded resource +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -736961,13 +234727,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {String}

+
+ Gets the content of the downloaded file +
+ @@ -737009,7 +234779,7 @@

fontDire
Source:
@@ -737038,7 +234808,7 @@

Returns:
- font directory + The content of downloaded file
@@ -737049,7 +234819,7 @@
Returns:
-string +String
@@ -737226,226 +234996,6 @@
Returns:
-

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -738568,7 +236118,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -738576,7 +236126,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -738600,8 +236150,6 @@
Parameters:
Type - Attributes - @@ -738620,6 +236168,9 @@
Parameters:
+Array.<string> +| + URI @@ -738627,20 +236178,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -738681,7 +236222,7 @@
Parameters:
Source:
@@ -738706,6 +236247,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -738717,7 +236280,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -738725,7 +236288,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -738749,6 +236312,8 @@
Parameters:
Type + Attributes + @@ -738767,9 +236332,6 @@
Parameters:
-Array.<string> -| - URI @@ -738777,10 +236339,20 @@
Parameters:
+ + + <optional>
+ + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + + + path to the miniature file @@ -738821,7 +236393,7 @@
Parameters:
Source:
@@ -738846,28 +236418,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -738879,7 +236429,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -738887,7 +236437,7 @@

name - Sets the shortcut name + Sets the resource name @@ -738939,7 +236489,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -738980,7 +236530,7 @@
Parameters:
Source:
@@ -739009,7 +236559,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -739020,7 +236570,7 @@
Returns:
-WineShortcut +Resource
@@ -739038,7 +236588,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -739046,7 +236596,7 @@

name - Sets the resource name + Sets the shortcut name @@ -739098,7 +236648,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -739139,7 +236689,7 @@
Parameters:
Source:
@@ -739168,7 +236718,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -739179,7 +236729,7 @@
Returns:
-Resource +WineShortcut
@@ -740147,6 +237697,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -740513,161 +238218,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -741266,13 +238816,122 @@
Returns:
-

system64directory() → {string}

+

system64directory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ system64 directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

to(localDestination) → {Downloader}

+
+ Sets the download destination +
@@ -741282,6 +238941,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + + + The destination of the download. If it is a directory, the file will be placed inside
+ + + @@ -741314,7 +239023,7 @@

syst
Source:
@@ -741343,7 +239052,7 @@

Returns:
- system64 directory + The Downloader object
@@ -741354,7 +239063,7 @@
Returns:
-string +Downloader
@@ -741372,7 +239081,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -741380,7 +239089,7 @@

to - Sets the download destination + Sets the trust level @@ -741416,7 +239125,7 @@
Parameters:
- localDestination + trustLevel @@ -741432,7 +239141,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -741473,7 +239182,7 @@
Parameters:
Source:
@@ -741502,7 +239211,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -741513,7 +239222,7 @@
Returns:
-Downloader +WineShortcut
@@ -741690,7 +239399,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

type(type) → {WineShortcut}

@@ -741698,7 +239407,7 @@

trustLevel<
- Sets the trust level + Sets the shortcut type
@@ -741734,7 +239443,7 @@

Parameters:
- trustLevel + type @@ -741750,7 +239459,7 @@
Parameters:
- The trust level + The shortcut type @@ -741791,7 +239500,7 @@
Parameters:
Source:
@@ -741849,7 +239558,7 @@
Returns:
-

type(type) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -741857,7 +239566,7 @@

type - Sets the shortcut type + uninstall application @@ -741893,7 +239602,7 @@
Parameters:
- type + name @@ -741909,7 +239618,7 @@
Parameters:
- The shortcut type + of the application which shall be uninstalled @@ -741950,7 +239659,7 @@
Parameters:
Source:
@@ -741979,7 +239688,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -741990,7 +239699,7 @@
Returns:
-WineShortcut +bool
@@ -742008,7 +239717,7 @@
Returns:
-

uninstall(name) → {bool}

+

uninstall() → {void}

@@ -742016,7 +239725,113 @@

uninstall - uninstall application + Uninstalls the shortcut + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

url(url) → {Downloader}

+ + + + + + +
+ Sets the URL which shall be used for the download
@@ -742052,7 +239867,7 @@
Parameters:
- name + url @@ -742068,7 +239883,7 @@
Parameters:
- of the application which shall be uninstalled + The URL @@ -742109,7 +239924,7 @@
Parameters:
Source:
@@ -742138,7 +239953,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The Downloader object
@@ -742149,7 +239964,7 @@
Returns:
-bool +Downloader
@@ -742167,7 +239982,7 @@
Returns:
-

uninstall() → {void}

+

url(url) → {Resource}

@@ -742175,7 +239990,7 @@

uninstall - Uninstalls the shortcut + Sets the resource URL @@ -742186,6 +240001,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
+ + @@ -742219,7 +240083,7 @@

uninstallSource:
@@ -742247,6 +240111,10 @@

uninstallReturns:

+
+ The Resource object +
+
@@ -742255,7 +240123,7 @@
Returns:
-void +Resource
@@ -742273,7 +240141,7 @@
Returns:
-

url(url) → {Downloader}

+

wait() → {Wine}

@@ -742281,7 +240149,7 @@

url - Sets the URL which shall be used for the download + wait until wineserver finishes @@ -742292,55 +240160,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -742374,7 +240193,7 @@
Parameters:
Source:
@@ -742402,10 +240221,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -742414,7 +240229,7 @@
Returns:
-Downloader +Wine
@@ -742432,17 +240247,13 @@
Returns:
-

url(url) → {Resource}

+

winepath(pathopt) → {String}

-
- Sets the resource URL -
- @@ -742464,6 +240275,8 @@
Parameters:
Type + Attributes + @@ -742476,23 +240289,33 @@
Parameters:
- url + path -string +String + + + <optional>
+ + + + + + + - The URL + @@ -742533,7 +240356,7 @@
Parameters:
Source:
@@ -742561,10 +240384,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -742573,7 +240392,7 @@
Returns:
-Resource +String
@@ -742591,7 +240410,7 @@
Returns:
-

wait() → {Wine}

+

wineServer(wineserver)

@@ -742599,7 +240418,7 @@

wait - wait until wineserver finishes + executes wineserver in current prefix @@ -742610,108 +240429,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -742725,8 +240442,6 @@
Parameters:
Type - Attributes - @@ -742739,33 +240454,23 @@
Parameters:
- path + wineserver -String +string - - - <optional>
- - - - - - - - + parameter @@ -742806,7 +240511,7 @@
Parameters:
Source:
@@ -742831,24 +240536,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - @@ -742860,7 +240547,7 @@
Returns:
-

wineServer(wineserver)

+

withScript(command) → {PlainInstaller}

@@ -742868,7 +240555,7 @@

wineServer<
- executes wineserver in current prefix + Sets the installation script consisting of a lambda function
@@ -742904,13 +240591,13 @@

Parameters:
- wineserver + command -string +function @@ -742920,7 +240607,7 @@
Parameters:
- parameter + The installation command @@ -742961,7 +240648,7 @@
Parameters:
Source:
@@ -742986,6 +240673,28 @@
Parameters:
+
Returns:
+ + +
+ The PlainInstaller object +
+ + + +
+
+ Type +
+
+ +PlainInstaller + + +
+
+ + @@ -742997,7 +240706,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wizard(wizard) → {Resource}

@@ -743005,7 +240714,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the setup wizard
@@ -743041,13 +240750,13 @@

Parameters:
- command + wizard -function +SetupWizard @@ -743057,7 +240766,7 @@
Parameters:
- The installation command + The setup wizard @@ -743098,7 +240807,7 @@
Parameters:
Source:
@@ -743127,7 +240836,7 @@
Returns:
- The PlainInstaller object + The Resource object
@@ -743138,173 +240847,7 @@
Returns:
-PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine +Resource
@@ -743322,7 +240865,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -743423,7 +240966,7 @@
Parameters:
Source:
@@ -743452,7 +240995,7 @@
Returns:
- The Resource object + The Downloader object
@@ -743463,7 +241006,7 @@
Returns:
-Resource +Downloader
@@ -743481,17 +241024,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -743513,6 +241052,8 @@
Parameters:
Type + Attributes + @@ -743538,10 +241079,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -743582,7 +241133,7 @@
Parameters:
Source:
@@ -743610,10 +241161,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -743622,7 +241169,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -743656,7 +241206,7 @@
Returns:

default()

-
Verb to install FAudio
+
Tool to repair a Wine prefix
@@ -743719,7 +241269,7 @@

new defaultSource:
@@ -745531,7 +243081,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -745539,7 +243089,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -745591,7 +243141,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -745632,7 +243182,7 @@
Parameters:
Source:
@@ -745661,7 +243211,7 @@
Returns:
- The Resource object + The Downloader object
@@ -745672,7 +243222,7 @@
Returns:
-Resource +Downloader
@@ -745690,7 +243240,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -745698,7 +243248,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -745750,7 +243300,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -745791,7 +243341,7 @@
Parameters:
Source:
@@ -745820,7 +243370,7 @@
Returns:
- The Downloader object + The Resource object
@@ -745831,7 +243381,7 @@
Returns:
-Downloader +Resource
@@ -745849,7 +243399,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -745857,7 +243407,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -745901,7 +243451,7 @@

createSource:
@@ -745929,6 +243479,10 @@

createReturns:

+
+ The Wine object +
+
@@ -745937,7 +243491,7 @@
Returns:
-void +Wine
@@ -745955,7 +243509,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -745963,7 +243517,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -746007,7 +243561,7 @@

createSource:
@@ -746035,10 +243589,6 @@

createReturns:

-
- The Wine object -
-
@@ -746047,7 +243597,7 @@
Returns:
-Wine +void
@@ -746542,7 +244092,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -746550,7 +244100,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -746602,7 +244152,7 @@

Parameters:
- variables + The environment variables @@ -746643,7 +244193,7 @@
Parameters:
Source:
@@ -746672,7 +244222,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -746683,7 +244233,7 @@
Returns:
-QuickScript +WineShortcut
@@ -746701,7 +244251,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -746709,7 +244259,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -746761,7 +244311,7 @@

Parameters:
- The environment variables + variables @@ -746802,7 +244352,7 @@
Parameters:
Source:
@@ -746831,7 +244381,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -746842,7 +244392,7 @@
Returns:
-WineShortcut +QuickScript
@@ -747116,7 +244666,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -747124,7 +244674,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -747135,55 +244685,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -747217,7 +244718,7 @@
Parameters:
Source:
@@ -747246,7 +244747,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -747257,7 +244758,7 @@
Returns:
-Resource +string
@@ -747275,7 +244776,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -747283,7 +244784,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -747327,7 +244828,7 @@

getSource:
@@ -747356,7 +244857,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -747367,7 +244868,7 @@
Returns:
-string +String
@@ -747385,7 +244886,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -747393,7 +244894,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -747404,6 +244905,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -747437,7 +244987,7 @@

getSource:
@@ -747466,7 +245016,7 @@
Returns:
- The content of downloaded file + The found resource
@@ -747477,7 +245027,7 @@
Returns:
-String +Resource
@@ -748617,7 +246167,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -748625,7 +246175,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -748649,8 +246199,6 @@
Parameters:
Type - Attributes - @@ -748669,6 +246217,9 @@
Parameters:
+Array.<string> +| + URI @@ -748676,20 +246227,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -748730,7 +246271,7 @@
Parameters:
Source:
@@ -748755,6 +246296,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -748766,7 +246329,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -748774,7 +246337,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -748798,6 +246361,8 @@
Parameters:
Type + Attributes + @@ -748816,9 +246381,6 @@
Parameters:
-Array.<string> -| - URI @@ -748826,10 +246388,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + path to the miniature file @@ -748870,7 +246442,7 @@
Parameters:
Source:
@@ -748895,28 +246467,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -748928,7 +246478,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -748936,7 +246486,7 @@

name - Sets the shortcut name + Sets the resource name @@ -748988,7 +246538,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -749029,7 +246579,7 @@
Parameters:
Source:
@@ -749058,7 +246608,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -749069,7 +246619,7 @@
Returns:
-WineShortcut +Resource
@@ -749087,7 +246637,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -749095,7 +246645,7 @@

name - Sets the resource name + Sets the shortcut name @@ -749147,7 +246697,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -749188,7 +246738,7 @@
Parameters:
Source:
@@ -749217,7 +246767,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -749228,7 +246778,7 @@
Returns:
-Resource +WineShortcut
@@ -750196,6 +247746,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -750562,17 +248267,13 @@
Returns:
-

run(userArguments) → {void}

+

runInsidePrefix(executable, argsopt, waitopt)

-
- Runs a shortcut with the given user arguments -
- @@ -750594,8 +248295,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -750606,7 +248311,42 @@
Parameters:
- userArguments + executable + + + + + +string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args @@ -750619,10 +248359,65 @@
Parameters:
+ + + <optional>
+ + + + + - The user arguments + + + + [] + + + + + + + + + + + + wait + + + + + +boolean + + + + + + + + + <optional>
+ + + + + + + + + + + + false + + + + + @@ -750663,7 +248458,7 @@
Parameters:
Source:
@@ -750688,24 +248483,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - @@ -750717,13 +248494,17 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+ +
+ Sets the executable which shall be used +
+ @@ -750745,12 +248526,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -750761,7 +248538,7 @@
Parameters:
- executable + search @@ -750774,100 +248551,10 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - args - - - -array - - - - - - - - - <optional>
- - - - - - - - - - - - [] - - - - - - - - - - - - wait - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - - - false - - - - - + The executable name @@ -750908,7 +248595,7 @@
Parameters:
Source:
@@ -750933,83 +248620,56 @@
Parameters:
+
Returns:
+ +
+ The WineShortcut object +
- +
+
+ Type +
+
- +WineShortcut - - - - +
+
-
- Sets the executable which shall be used -
- - - - - - - -
Parameters:
- - - - - - - + - + - + +

stop() → {void}

+ - + - - - - - - - - - +
+ Stops the running shortcut +
- - - - - - - -
NameTypeDescription
search - - -string - - The executable name
@@ -751045,7 +248705,7 @@
Parameters:
Source:
@@ -751073,10 +248733,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -751085,7 +248741,7 @@
Returns:
-WineShortcut +void
@@ -751103,17 +248759,13 @@
Returns:
-

stop() → {void}

+

system32directory() → {string}

-
- Stops the running shortcut -
- @@ -751155,7 +248807,7 @@

stopSource:
@@ -751183,6 +248835,10 @@

stop + system32 directory + +
@@ -751191,7 +248847,7 @@
Returns:
-void +string
@@ -751209,7 +248865,7 @@
Returns:
-

system32directory() → {string}

+

system64directory() → {string}

@@ -751257,7 +248913,7 @@

syst
Source:
@@ -751286,7 +248942,7 @@

Returns:
- system32 directory + system64 directory
@@ -751315,19 +248971,72 @@
Returns:
-

system64directory() → {string}

+

to(localDestination) → {Downloader}

+
+ Sets the download destination +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + The destination of the download. If it is a directory, the file will be placed inside
@@ -751363,7 +249072,7 @@

syst
Source:
@@ -751392,7 +249101,7 @@

Returns:
- system64 directory + The Downloader object
@@ -751403,7 +249112,7 @@
Returns:
-string +Downloader
@@ -751421,7 +249130,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -751429,7 +249138,7 @@

to - Sets the download destination + Sets the trust level @@ -751465,7 +249174,7 @@
Parameters:
- localDestination + trustLevel @@ -751481,7 +249190,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -751522,7 +249231,7 @@
Parameters:
Source:
@@ -751551,7 +249260,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -751562,7 +249271,7 @@
Returns:
-Downloader +WineShortcut
@@ -751739,165 +249448,6 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

type(type) → {WineShortcut}

@@ -753205,13 +250755,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -753233,8 +250787,6 @@
Parameters:
Type - Attributes - @@ -753260,20 +250812,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -753314,7 +250856,7 @@
Parameters:
Source:
@@ -753342,6 +250884,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -753350,10 +250896,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -753371,7 +250914,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -753472,7 +251015,7 @@
Parameters:
Source:
@@ -753501,7 +251044,7 @@
Returns:
- The Resource object + The Downloader object
@@ -753512,7 +251055,7 @@
Returns:
-Resource +Downloader
@@ -753530,17 +251073,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -753562,6 +251101,8 @@
Parameters:
Type + Attributes + @@ -753587,10 +251128,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -753631,7 +251182,7 @@
Parameters:
Source:
@@ -753659,10 +251210,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -753671,7 +251218,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -753705,7 +251255,7 @@
Returns:

default()

-
Verb to remove mono
+
Tool to reboot Wine
@@ -753768,7 +251318,7 @@

new defaultSource:
@@ -755580,7 +253130,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -755588,7 +253138,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -755640,7 +253190,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -755681,7 +253231,7 @@
Parameters:
Source:
@@ -755710,7 +253260,7 @@
Returns:
- The Resource object + The Downloader object
@@ -755721,7 +253271,7 @@
Returns:
-Resource +Downloader
@@ -755739,7 +253289,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -755747,7 +253297,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -755799,7 +253349,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -755840,7 +253390,7 @@
Parameters:
Source:
@@ -755869,7 +253419,7 @@
Returns:
- The Downloader object + The Resource object
@@ -755880,7 +253430,7 @@
Returns:
-Downloader +Resource
@@ -755898,7 +253448,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -755906,7 +253456,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -755950,7 +253500,7 @@

createSource:
@@ -755978,6 +253528,10 @@

createReturns:

+
+ The Wine object +
+
@@ -755986,7 +253540,7 @@
Returns:
-void +Wine
@@ -756004,7 +253558,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -756012,7 +253566,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -756056,7 +253610,7 @@

createSource:
@@ -756084,10 +253638,6 @@

createReturns:

-
- The Wine object -
-
@@ -756096,7 +253646,7 @@
Returns:
-Wine +void
@@ -756591,7 +254141,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -756599,7 +254149,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -756651,7 +254201,7 @@

Parameters:
- variables + The environment variables @@ -756692,7 +254242,7 @@
Parameters:
Source:
@@ -756721,7 +254271,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -756732,7 +254282,7 @@
Returns:
-QuickScript +WineShortcut
@@ -756750,7 +254300,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -756758,7 +254308,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -756810,7 +254360,7 @@

Parameters:
- The environment variables + variables @@ -756851,7 +254401,7 @@
Parameters:
Source:
@@ -756880,7 +254430,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -756891,7 +254441,7 @@
Returns:
-WineShortcut +QuickScript
@@ -757023,7 +254573,201 @@
Parameters:
Source:
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

get() → {string}

+ + + + + + +
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -757048,6 +254792,28 @@
Parameters:
+
Returns:
+ + +
+ The path leading to the downloaded resource +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -757059,13 +254825,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {String}

+
+ Gets the content of the downloaded file +
+ @@ -757107,7 +254877,7 @@

fontDire
Source:
@@ -757136,7 +254906,7 @@

Returns:
- font directory + The content of downloaded file
@@ -757147,7 +254917,7 @@
Returns:
-string +String
@@ -757324,226 +255094,6 @@
Returns:
-

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -758666,7 +256216,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -758674,7 +256224,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -758698,8 +256248,6 @@
Parameters:
Type - Attributes - @@ -758718,6 +256266,9 @@
Parameters:
+Array.<string> +| + URI @@ -758725,20 +256276,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -758779,7 +256320,7 @@
Parameters:
Source:
@@ -758804,6 +256345,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -758815,7 +256378,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -758823,7 +256386,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -758847,6 +256410,8 @@
Parameters:
Type + Attributes + @@ -758865,9 +256430,6 @@
Parameters:
-Array.<string> -| - URI @@ -758875,10 +256437,20 @@
Parameters:
+ + + <optional>
+ + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + + + path to the miniature file @@ -758919,7 +256491,7 @@
Parameters:
Source:
@@ -758944,28 +256516,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -758977,7 +256527,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -758985,7 +256535,7 @@

name - Sets the shortcut name + Sets the resource name @@ -759037,7 +256587,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -759078,7 +256628,7 @@
Parameters:
Source:
@@ -759107,7 +256657,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -759118,7 +256668,7 @@
Returns:
-WineShortcut +Resource
@@ -759136,7 +256686,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -759144,7 +256694,7 @@

name - Sets the resource name + Sets the shortcut name @@ -759196,7 +256746,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -759237,7 +256787,7 @@
Parameters:
Source:
@@ -759266,7 +256816,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -759277,7 +256827,7 @@
Returns:
-Resource +WineShortcut
@@ -760245,6 +257795,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -760611,161 +258316,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -761364,13 +258914,122 @@
Returns:
-

system64directory() → {string}

+

system64directory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ system64 directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

to(localDestination) → {Downloader}

+
+ Sets the download destination +
@@ -761380,6 +259039,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + + + The destination of the download. If it is a directory, the file will be placed inside
+ + + @@ -761412,7 +259121,7 @@

syst
Source:
@@ -761441,7 +259150,7 @@

Returns:
- system64 directory + The Downloader object
@@ -761452,7 +259161,7 @@
Returns:
-string +Downloader
@@ -761470,7 +259179,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -761478,7 +259187,7 @@

to - Sets the download destination + Sets the trust level @@ -761514,7 +259223,7 @@
Parameters:
- localDestination + trustLevel @@ -761530,7 +259239,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -761571,7 +259280,7 @@
Parameters:
Source:
@@ -761600,7 +259309,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -761611,7 +259320,7 @@
Returns:
-Downloader +WineShortcut
@@ -761788,7 +259497,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

type(type) → {WineShortcut}

@@ -761796,7 +259505,7 @@

trustLevel<
- Sets the trust level + Sets the shortcut type
@@ -761832,7 +259541,7 @@

Parameters:
- trustLevel + type @@ -761848,7 +259557,7 @@
Parameters:
- The trust level + The shortcut type @@ -761889,7 +259598,7 @@
Parameters:
Source:
@@ -761947,7 +259656,7 @@
Returns:
-

type(type) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -761955,7 +259664,7 @@

type - Sets the shortcut type + uninstall application @@ -761991,7 +259700,7 @@
Parameters:
- type + name @@ -762007,7 +259716,7 @@
Parameters:
- The shortcut type + of the application which shall be uninstalled @@ -762048,7 +259757,7 @@
Parameters:
Source:
@@ -762077,7 +259786,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -762088,7 +259797,7 @@
Returns:
-WineShortcut +bool
@@ -762106,7 +259815,7 @@
Returns:
-

uninstall(name) → {bool}

+

uninstall() → {void}

@@ -762114,7 +259823,113 @@

uninstall - uninstall application + Uninstalls the shortcut + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

url(url) → {Downloader}

+ + + + + + +
+ Sets the URL which shall be used for the download
@@ -762150,7 +259965,7 @@
Parameters:
- name + url @@ -762166,7 +259981,7 @@
Parameters:
- of the application which shall be uninstalled + The URL @@ -762207,7 +260022,7 @@
Parameters:
Source:
@@ -762236,7 +260051,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The Downloader object
@@ -762247,7 +260062,7 @@
Returns:
-bool +Downloader
@@ -762265,7 +260080,7 @@
Returns:
-

uninstall() → {void}

+

url(url) → {Resource}

@@ -762273,7 +260088,7 @@

uninstall - Uninstalls the shortcut + Sets the resource URL @@ -762284,6 +260099,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
+ + @@ -762317,7 +260181,7 @@

uninstallSource:
@@ -762345,6 +260209,10 @@

uninstallReturns:

+
+ The Resource object +
+
@@ -762353,7 +260221,7 @@
Returns:
-void +Resource
@@ -762371,7 +260239,7 @@
Returns:
-

url(url) → {Downloader}

+

wait() → {Wine}

@@ -762379,7 +260247,7 @@

url - Sets the URL which shall be used for the download + wait until wineserver finishes @@ -762390,55 +260258,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -762472,7 +260291,7 @@
Parameters:
Source:
@@ -762500,10 +260319,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -762512,7 +260327,7 @@
Returns:
-Downloader +Wine
@@ -762530,17 +260345,13 @@
Returns:
-

url(url) → {Resource}

+

winepath(pathopt) → {String}

-
- Sets the resource URL -
- @@ -762562,6 +260373,8 @@
Parameters:
Type + Attributes + @@ -762574,23 +260387,33 @@
Parameters:
- url + path -string +String + + + <optional>
+ + + + + + + - The URL + @@ -762631,7 +260454,7 @@
Parameters:
Source:
@@ -762659,10 +260482,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -762671,7 +260490,7 @@
Returns:
-Resource +String
@@ -762689,7 +260508,7 @@
Returns:
-

wait() → {Wine}

+

wineServer(wineserver)

@@ -762697,7 +260516,7 @@

wait - wait until wineserver finishes + executes wineserver in current prefix @@ -762708,108 +260527,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -762823,8 +260540,6 @@
Parameters:
Type - Attributes - @@ -762837,33 +260552,23 @@
Parameters:
- path + wineserver -String +string - - - <optional>
- - - - - - - - + parameter @@ -762904,7 +260609,7 @@
Parameters:
Source:
@@ -762929,24 +260634,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -String - - -
-
- - @@ -762958,7 +260645,7 @@
Returns:
-

wineServer(wineserver)

+

withScript(command) → {PlainInstaller}

@@ -762966,7 +260653,7 @@

wineServer<
- executes wineserver in current prefix + Sets the installation script consisting of a lambda function
@@ -763002,13 +260689,13 @@

Parameters:
- wineserver + command -string +function @@ -763018,7 +260705,7 @@
Parameters:
- parameter + The installation command @@ -763059,7 +260746,7 @@
Parameters:
Source:
@@ -763084,6 +260771,28 @@
Parameters:
+
Returns:
+ + +
+ The PlainInstaller object +
+ + + +
+
+ Type +
+
+ +PlainInstaller + + +
+
+ + @@ -763095,7 +260804,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wizard(wizard) → {Resource}

@@ -763103,7 +260812,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the setup wizard
@@ -763139,13 +260848,13 @@

Parameters:
- command + wizard -function +SetupWizard @@ -763155,7 +260864,7 @@
Parameters:
- The installation command + The setup wizard @@ -763196,7 +260905,7 @@
Parameters:
Source:
@@ -763225,7 +260934,7 @@
Returns:
- The PlainInstaller object + The Resource object
@@ -763236,173 +260945,7 @@
Returns:
-PlainInstaller - - -
-
- - - - - - - - - - - - - -

wizard(wizardopt) → {SetupWizard|Wine}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
wizard - - -SetupWizard - - - - - - <optional>
- - - - - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine +Resource
@@ -763420,7 +260963,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -763521,7 +261064,7 @@
Parameters:
Source:
@@ -763550,7 +261093,7 @@
Returns:
- The Resource object + The Downloader object
@@ -763561,7 +261104,7 @@
Returns:
-Resource +Downloader
@@ -763579,17 +261122,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -763611,6 +261150,8 @@
Parameters:
Type + Attributes + @@ -763636,10 +261177,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -763680,7 +261231,7 @@
Parameters:
Source:
@@ -763708,10 +261259,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -763720,7 +261267,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -763754,7 +261304,7 @@
Returns:

default()

-
Verb to install Nvidia PhysX
+
Tool to kill running Wine processes
@@ -763817,7 +261367,7 @@

new defaultSource:
@@ -765629,7 +263179,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -765637,7 +263187,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -765689,7 +263239,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -765730,7 +263280,7 @@
Parameters:
Source:
@@ -765759,7 +263309,7 @@
Returns:
- The Resource object + The Downloader object
@@ -765770,7 +263320,7 @@
Returns:
-Resource +Downloader
@@ -765788,7 +263338,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -765796,7 +263346,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -765848,7 +263398,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -765889,7 +263439,7 @@
Parameters:
Source:
@@ -765918,7 +263468,7 @@
Returns:
- The Downloader object + The Resource object
@@ -765929,7 +263479,7 @@
Returns:
-Downloader +Resource
@@ -765947,7 +263497,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -765955,7 +263505,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -765999,7 +263549,7 @@

createSource:
@@ -766027,6 +263577,10 @@

createReturns:

+
+ The Wine object +
+
@@ -766035,7 +263589,7 @@
Returns:
-void +Wine
@@ -766053,7 +263607,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -766061,7 +263615,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -766105,7 +263659,7 @@

createSource:
@@ -766133,10 +263687,6 @@

createReturns:

-
- The Wine object -
-
@@ -766145,7 +263695,7 @@
Returns:
-Wine +void
@@ -766640,7 +264190,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -766648,7 +264198,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -766700,7 +264250,7 @@

Parameters:
- variables + The environment variables @@ -766741,7 +264291,7 @@
Parameters:
Source:
@@ -766770,7 +264320,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -766781,7 +264331,7 @@
Returns:
-QuickScript +WineShortcut
@@ -766799,7 +264349,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -766807,7 +264357,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -766859,7 +264409,7 @@

Parameters:
- The environment variables + variables @@ -766900,7 +264450,7 @@
Parameters:
Source:
@@ -766929,7 +264479,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -766940,7 +264490,7 @@
Returns:
-WineShortcut +QuickScript
@@ -767214,7 +264764,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {string}

@@ -767222,7 +264772,7 @@

get - Returns the searched resource + Fetches the Resource and returns the path leading to the downloaded resource @@ -767233,55 +264783,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -767315,7 +264816,7 @@
Parameters:
Source:
@@ -767344,7 +264845,7 @@
Returns:
- The found resource + The path leading to the downloaded resource
@@ -767355,7 +264856,7 @@
Returns:
-Resource +string
@@ -767373,7 +264874,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -767381,7 +264882,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Gets the content of the downloaded file @@ -767425,7 +264926,7 @@

getSource:
@@ -767454,7 +264955,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -767465,7 +264966,7 @@
Returns:
-string +String
@@ -767483,7 +264984,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -767491,7 +264992,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -767502,6 +265003,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -767535,7 +265085,7 @@

getSource:
@@ -767564,7 +265114,7 @@
Returns:
- The content of downloaded file + The found resource
@@ -767575,7 +265125,7 @@
Returns:
-String +Resource
@@ -768715,7 +266265,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -768723,7 +266273,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -768747,8 +266297,6 @@
Parameters:
Type - Attributes - @@ -768767,6 +266315,9 @@
Parameters:
+Array.<string> +| + URI @@ -768774,20 +266325,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -768828,7 +266369,7 @@
Parameters:
Source:
@@ -768853,6 +266394,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -768864,7 +266427,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -768872,7 +266435,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -768896,6 +266459,8 @@
Parameters:
Type + Attributes + @@ -768914,9 +266479,6 @@
Parameters:
-Array.<string> -| - URI @@ -768924,10 +266486,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + path to the miniature file @@ -768968,7 +266540,7 @@
Parameters:
Source:
@@ -768993,28 +266565,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -769026,7 +266576,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -769034,7 +266584,7 @@

name - Sets the shortcut name + Sets the resource name @@ -769086,7 +266636,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -769127,7 +266677,7 @@
Parameters:
Source:
@@ -769156,7 +266706,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -769167,7 +266717,7 @@
Returns:
-WineShortcut +Resource
@@ -769185,7 +266735,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -769193,7 +266743,7 @@

name - Sets the resource name + Sets the shortcut name @@ -769245,7 +266795,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -769286,7 +266836,7 @@
Parameters:
Source:
@@ -769315,7 +266865,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -769326,7 +266876,7 @@
Returns:
-Resource +WineShortcut
@@ -770294,6 +267844,161 @@
Returns:
+

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

run(executable, argsopt, workingDirectoryopt, captureOutputopt, waitopt, userDataopt) → {String}

@@ -770660,17 +268365,13 @@
Returns:
-

run(userArguments) → {void}

+

runInsidePrefix(executable, argsopt, waitopt)

-
- Runs a shortcut with the given user arguments -
- @@ -770692,8 +268393,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -770704,7 +268409,42 @@
Parameters:
- userArguments + executable + + + + + +string + + + + + + + + + + + + + + + + + + + + + + + + + + + + + args @@ -770717,10 +268457,65 @@
Parameters:
+ + + <optional>
+ + + + + - The user arguments + + + + [] + + + + + + + + + + + + wait + + + + + +boolean + + + + + + + + + <optional>
+ + + + + + + + + + + + false + + + + + @@ -770761,7 +268556,7 @@
Parameters:
Source:
@@ -770786,24 +268581,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - @@ -770815,13 +268592,17 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+ +
+ Sets the executable which shall be used +
+ @@ -770843,12 +268624,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -770859,7 +268636,7 @@
Parameters:
- executable + search @@ -770872,100 +268649,10 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - args - - - -array - - - - - - - - - <optional>
- - - - - - - - - - - - [] - - - - - - - - - - - - wait - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - - - false - - - - - + The executable name @@ -771006,7 +268693,7 @@
Parameters:
Source:
@@ -771031,83 +268718,56 @@
Parameters:
+
Returns:
+ +
+ The WineShortcut object +
- +
+
+ Type +
+
- +WineShortcut - - - - +
+
-
- Sets the executable which shall be used -
- - - - - - - -
Parameters:
- - - - - - - + - + - + +

stop() → {void}

+ - + - - - - - - - - - +
+ Stops the running shortcut +
- - - - - - - -
NameTypeDescription
search - - -string - - The executable name
@@ -771143,7 +268803,7 @@
Parameters:
Source:
@@ -771171,10 +268831,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -771183,7 +268839,7 @@
Returns:
-WineShortcut +void
@@ -771201,17 +268857,13 @@
Returns:
-

stop() → {void}

+

system32directory() → {string}

-
- Stops the running shortcut -
- @@ -771253,7 +268905,7 @@

stopSource:
@@ -771281,6 +268933,10 @@

stop + system32 directory + +
@@ -771289,7 +268945,7 @@
Returns:
-void +string
@@ -771307,7 +268963,7 @@
Returns:
-

system32directory() → {string}

+

system64directory() → {string}

@@ -771355,7 +269011,7 @@

syst
Source:
@@ -771384,7 +269040,7 @@

Returns:
- system32 directory + system64 directory
@@ -771413,19 +269069,72 @@
Returns:
-

system64directory() → {string}

+

to(localDestination) → {Downloader}

+
+ Sets the download destination +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + The destination of the download. If it is a directory, the file will be placed inside
@@ -771461,7 +269170,7 @@

syst
Source:
@@ -771490,7 +269199,7 @@

Returns:
- system64 directory + The Downloader object
@@ -771501,7 +269210,7 @@
Returns:
-string +Downloader
@@ -771519,7 +269228,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -771527,7 +269236,7 @@

to - Sets the download destination + Sets the trust level @@ -771563,7 +269272,7 @@
Parameters:
- localDestination + trustLevel @@ -771579,7 +269288,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -771620,7 +269329,7 @@
Parameters:
Source:
@@ -771649,7 +269358,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -771660,7 +269369,7 @@
Returns:
-Downloader +WineShortcut
@@ -771837,165 +269546,6 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

- - - - - - -
- Sets the trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

type(type) → {WineShortcut}

@@ -773303,13 +270853,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -773331,8 +270885,6 @@
Parameters:
Type - Attributes - @@ -773358,20 +270910,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -773412,7 +270954,7 @@
Parameters:
Source:
@@ -773440,6 +270982,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -773448,10 +270994,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -773469,7 +271012,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -773570,7 +271113,7 @@
Parameters:
Source:
@@ -773599,7 +271142,7 @@
Returns:
- The Resource object + The Downloader object
@@ -773610,7 +271153,7 @@
Returns:
-Resource +Downloader
@@ -773628,17 +271171,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -773660,6 +271199,8 @@
Parameters:
Type + Attributes + @@ -773685,10 +271226,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -773729,7 +271280,7 @@
Parameters:
Source:
@@ -773757,10 +271308,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -773769,7 +271316,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -773803,7 +271353,7 @@
Returns:

default()

-
Verb to install QuickTime 7.6
+
Tool to configure Wine
@@ -773866,7 +271416,7 @@

new defaultSource:
@@ -775678,7 +273228,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -775686,7 +273236,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -775738,7 +273288,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -775779,7 +273329,7 @@
Parameters:
Source:
@@ -775808,7 +273358,7 @@
Returns:
- The Resource object + The Downloader object
@@ -775819,7 +273369,7 @@
Returns:
-Resource +Downloader
@@ -775837,7 +273387,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -775845,7 +273395,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -775897,7 +273447,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -775938,7 +273488,7 @@
Parameters:
Source:
@@ -775967,7 +273517,7 @@
Returns:
- The Downloader object + The Resource object
@@ -775978,7 +273528,7 @@
Returns:
-Downloader +Resource
@@ -775996,7 +273546,7 @@
Returns:
-

create() → {void}

+

create() → {Wine}

@@ -776004,7 +273554,7 @@

create - Creates a new shortcut + runs "wineboot" @@ -776048,7 +273598,7 @@

createSource:
@@ -776076,6 +273626,10 @@

createReturns:

+
+ The Wine object +
+
@@ -776084,7 +273638,7 @@
Returns:
-void +Wine
@@ -776102,7 +273656,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -776110,7 +273664,7 @@

create - runs "wineboot" + Creates a new shortcut @@ -776154,7 +273708,7 @@

createSource:
@@ -776182,10 +273736,6 @@

createReturns:

-
- The Wine object -
-
@@ -776194,7 +273744,7 @@
Returns:
-Wine +void
@@ -776689,7 +274239,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -776697,7 +274247,7 @@

environmen
- set environment + Sets the shortcut environment variables
@@ -776749,7 +274299,7 @@

Parameters:
- variables + The environment variables @@ -776790,7 +274340,7 @@
Parameters:
Source:
@@ -776819,7 +274369,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -776830,7 +274380,7 @@
Returns:
-QuickScript +WineShortcut
@@ -776848,7 +274398,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -776856,7 +274406,7 @@

environmen
- Sets the shortcut environment variables + set environment
@@ -776908,7 +274458,7 @@

Parameters:
- The environment variables + variables @@ -776949,7 +274499,7 @@
Parameters:
Source:
@@ -776978,7 +274528,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -776989,7 +274539,7 @@
Returns:
-WineShortcut +QuickScript
@@ -777121,7 +274671,201 @@
Parameters:
Source:
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

get() → {string}

+ + + + + + +
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -777146,6 +274890,28 @@
Parameters:
+
Returns:
+ + +
+ The path leading to the downloaded resource +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -777157,13 +274923,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {String}

+
+ Gets the content of the downloaded file +
+ @@ -777205,7 +274975,7 @@

fontDire
Source:
@@ -777234,7 +275004,7 @@

Returns:
- font directory + The content of downloaded file
@@ -777245,7 +275015,7 @@
Returns:
-string +String
@@ -777422,226 +275192,6 @@
Returns:
-

get() → {string}

- - - - - - -
- Fetches the Resource and returns the path leading to the downloaded resource -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The path leading to the downloaded resource -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -778764,7 +276314,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -778772,7 +276322,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -778796,8 +276346,6 @@
Parameters:
Type - Attributes - @@ -778816,6 +276364,9 @@
Parameters:
+Array.<string> +| + URI @@ -778823,20 +276374,10 @@
Parameters:
- - - <optional>
- - - - - - - - path to the miniature file + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -778877,7 +276418,7 @@
Parameters:
Source:
@@ -778902,6 +276443,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -778913,7 +276476,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -778921,7 +276484,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -778945,6 +276508,8 @@
Parameters:
Type + Attributes + @@ -778963,9 +276528,6 @@
Parameters:
-Array.<string> -| - URI @@ -778973,10 +276535,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - An array which specifies the application of which the miniature shall be used or URI of the miniature + path to the miniature file @@ -779017,7 +276589,7 @@
Parameters:
Source:
@@ -779042,28 +276614,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -779075,7 +276625,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -779083,7 +276633,7 @@

name - Sets the shortcut name + Sets the resource name @@ -779135,7 +276685,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -779176,7 +276726,7 @@
Parameters:
Source:
@@ -779205,7 +276755,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -779216,7 +276766,7 @@
Returns:
-WineShortcut +Resource
@@ -779234,7 +276784,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -779242,7 +276792,7 @@

name - Sets the resource name + Sets the shortcut name @@ -779294,7 +276844,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -779335,7 +276885,7 @@
Parameters:
Source:
@@ -779364,7 +276914,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -779375,7 +276925,7 @@
Returns:
-Resource +WineShortcut
@@ -780313,10 +277863,165 @@

programFi

Returns:
-
- name of "Program Files" -
- +
+ name of "Program Files" +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

run(userArguments) → {void}

+ + + + + + +
+ Runs a shortcut with the given user arguments +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
userArguments + + +array + + + + The user arguments
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ +
@@ -780325,7 +278030,7 @@
Returns:
-string +void
@@ -780709,161 +278414,6 @@
Returns:
-

run(userArguments) → {void}

- - - - - - -
- Runs a shortcut with the given user arguments -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
userArguments - - -array - - - - The user arguments
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - -

runInsidePrefix(executable, argsopt, waitopt)

@@ -781727,7 +279277,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -781735,7 +279285,7 @@

trustLevel<
- set trust level + Sets the trust level
@@ -781771,7 +279321,7 @@

Parameters:
- trustlevel + trustLevel @@ -781787,7 +279337,7 @@
Parameters:
- + The trust level @@ -781828,7 +279378,7 @@
Parameters:
Source:
@@ -781857,7 +279407,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -781868,7 +279418,7 @@
Returns:
-QuickScript +WineShortcut
@@ -781886,7 +279436,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -781894,7 +279444,7 @@

trustLevel<
- Sets the trust level + set trust level
@@ -781930,7 +279480,7 @@

Parameters:
- trustLevel + trustlevel @@ -781946,7 +279496,7 @@
Parameters:
- The trust level + @@ -781987,7 +279537,7 @@
Parameters:
Source:
@@ -782016,7 +279566,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -782027,7 +279577,7 @@
Returns:
-WineShortcut +QuickScript
@@ -783352,13 +280902,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -783380,8 +280934,6 @@
Parameters:
Type - Attributes - @@ -783407,20 +280959,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -783461,7 +281003,7 @@
Parameters:
Source:
@@ -783489,6 +281031,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -783497,10 +281043,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -783518,7 +281061,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -783619,7 +281162,7 @@
Parameters:
Source:
@@ -783648,7 +281191,7 @@
Returns:
- The Resource object + The Downloader object
@@ -783659,7 +281202,7 @@
Returns:
-Resource +Downloader
@@ -783677,17 +281220,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -783709,6 +281248,8 @@
Parameters:
Type + Attributes + @@ -783734,10 +281275,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -783778,7 +281329,7 @@
Parameters:
Source:
@@ -783806,10 +281357,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -783818,7 +281365,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -783846,7 +281396,7 @@
Returns:

diff --git a/i18n/Messages.properties b/i18n/Messages.properties index 6616e9d8dc..77444c6aee 100644 --- a/i18n/Messages.properties +++ b/i18n/Messages.properties @@ -239,10 +239,10 @@ Call\ of\ Juarez\u00ae\ Gunslinger=Call of Juarez\u00ae Gunslinger #: i18n/tmp/Applications/Games/Mount & Blade/application.js:2 Calradia\ is\ a\ land\ at\ war,\ offering\ great\ riches\ and\ even\ greater\ dangers\ to\ adventurers\ and\ mercenaries\ that\ flock\ to\ shed\ their\ blood\ on\ its\ soil.\ With\ courage\ and\ a\ strong\ sword,\ an\ unknown\ stranger\ can\ make\ a\ name\ as\ a\ warrior.=Calradia is a land at war, offering great riches and even greater dangers to adventurers and mercenaries that flock to shed their blood on its soil. With courage and a strong sword, an unknown stranger can make a name as a warrior. -#: Engines/Wine/Engine/Implementation/script.js:403 +#: Engines/Wine/Engine/Implementation/script.js:411 Cannot\ run\ 64bit\ executable\ in\ a\ 32bit\ Wine\ prefix.=Cannot run 64bit executable in a 32bit Wine prefix. -#: Engines/Wine/Engine/Implementation/script.js:484 +#: Engines/Wine/Engine/Implementation/script.js:492 Change\ {0}\ container\ Wine\ version=Change {0} container Wine version #: Utils/Functions/Filesystem/Files/script.js:215 @@ -301,7 +301,7 @@ Custom\ Installer\ Script=Custom Installer Script #: i18n/tmp/Engines/Wine/Verbs/D9VK/script.js:1 D9VK=D9VK -#: Engines/Wine/Verbs/D9VK/script.js:21 +#: Engines/Wine/Verbs/D9VK/script.js:44 D9VK\ might\ not\ work\ correctly\ on\ macOS.\ This\ is\ depending\ on\ Metal\ api\ support\ and\ MoltenVK\ compatibility\ layer\ advancement=D9VK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement #: i18n/tmp/Applications/Games/DC Universe Online/application.js:1 @@ -319,7 +319,7 @@ DRAGON\ BALL\ XENOVERSE\ 2\ builds\ upon\ the\ highly\ popular\ DRAGON\ BALL\ XE #: i18n/tmp/Engines/Wine/Verbs/DXVK/script.js:1 DXVK=DXVK -#: Engines/Wine/Verbs/DXVK/script.js:21 +#: Engines/Wine/Verbs/DXVK/script.js:45 DXVK\ might\ not\ work\ correctly\ on\ macOS.\ This\ is\ depending\ on\ Metal\ api\ support\ and\ MoltenVK\ compatibility\ layer\ advancement=DXVK might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement #: Engines/Wine/Settings/GLSL/script.js:11 Engines/Wine/Settings/mouse warp @@ -353,20 +353,20 @@ DirectDraw\ renderer=DirectDraw renderer #: mode/script.js:11 Engines/Wine/Settings/strict draw ordering/script.js:11 Disabled=Disabled -#: Engines/Wine/QuickScript/Origin Script/script.js:45 +#: Engines/Wine/QuickScript/Origin Script/script.js:46 Download\ "{0}"\ in\ Origin\ and\ shut\ it\ down\ once\ "{0}"\ is\ installed=Download "{0}" in Origin and shut it down once "{0}" is installed #: i18n/tmp/Utils/Functions/Net/Download/script.js:1 Downloader=Downloader -#: Engines/Wine/Engine/Implementation/script.js:214 +#: Engines/Wine/Engine/Implementation/script.js:220 Downloading\ amd64\ runtime...=Downloading amd64 runtime... -#: Engines/Wine/Engine/Implementation/script.js:124 -#: Engines/Wine/Engine/Implementation/script.js:155 +#: Engines/Wine/Engine/Implementation/script.js:130 +#: Engines/Wine/Engine/Implementation/script.js:161 Downloading\ runtime\ json...=Downloading runtime json... -#: Engines/Wine/Engine/Implementation/script.js:245 +#: Engines/Wine/Engine/Implementation/script.js:251 Downloading\ x86\ runtime...=Downloading x86 runtime... #: i18n/tmp/Applications/Games/Dr. Langeskov, The Tiger, and Terribly Cursed @@ -382,10 +382,10 @@ Dragon\ Ball\ Xenoverse\ 2=Dragon Ball Xenoverse 2 #: i18n/tmp/Applications/Games/Druid Soccer/application.js:1 Druid\ Soccer=Druid Soccer -#: Applications/Games/Space Engineers/Steam/script.js:25 +#: Applications/Games/Space Engineers/Steam/script.js:49 Due\ to\ JIT\ compiler\ issues\ and\ the\ way\ this\ game\ uses\ multithreating,\ there\ are\ audio\ stutters.\ This\ script\ will\ attempt\ to\ minimize\ them\ but\ you\ might\ also\ have\ to\ enter\ the\ alsoft-conf\ command\ in\ terminal\ and\ set\ sample\ depth\ to\ 32bit\ float\ and\ period\ size\ to\ 2048.=Due to JIT compiler issues and the way this game uses multithreating, there are audio stutters. This script will attempt to minimize them but you might also have to enter the alsoft-conf command in terminal and set sample depth to 32bit float and period size to 2048. -#: Applications/Games/Subnautica/Steam/script.js:30 +#: Applications/Games/Subnautica/Steam/script.js:32 Due\ to\ a\ potential\ confilct\ with\ Vulkan,\ shader\ mods\ break\ the\ game\ (the\ executable\ file\ works\ but\ no\ window\ is\ displayed).=Due to a potential confilct with Vulkan, shader mods break the game (the executable file works but no window is displayed). #: i18n/tmp/Applications/Games/Earth Eternal - Valkal's Shadow/application.js:1 @@ -456,15 +456,15 @@ Experience\ the\ magical\ universe\ of\ Rayman\ with\ legendary\ 2D\ gameplay\ t #: i18n/tmp/Applications/Games/Batman™: Arkham Asylum/application.js:2 Experience\ what\ it\u2019s\ like\ to\ be\ Batman\ and\ face\ off\ against\ Gotham's\ greatest\ villians.\ Explore\ every\ inch\ of\ Arkham\ Asylum\ and\ roam\ freely\ on\ the\ infamous\ island.

Critically\ acclaimed\ Batman\:\ Arkham\ Asylum\ returns\ with\ a\ remastered\ Game\ of\ the\ Year\ Edition,\ featuring\ 4\ extra\ Challenge\ Maps.\ The\ additional\ Challenge\ Maps\ are\ Crime\ Alley;\ Scarecrow\ Nightmare;\ Totally\ Insane\ and\ Nocturnal\ Hunter\ (both\ from\ the\ Insane\ Night\ Map\ Pack).=Experience what it\u2019s like to be Batman and face off against Gotham's greatest villians. Explore every inch of Arkham Asylum and roam freely on the infamous island.

Critically acclaimed Batman\: Arkham Asylum returns with a remastered Game of the Year Edition, featuring 4 extra Challenge Maps. The additional Challenge Maps are Crime Alley; Scarecrow Nightmare; Totally Insane and Nocturnal Hunter (both from the Insane Night Map Pack). -#: Engines/Wine/Verbs/d3dx10/script.js:15 -#: Engines/Wine/Verbs/d3dx10/script.js:17 -#: Engines/Wine/Verbs/d3dx10/script.js:39 -#: Engines/Wine/Verbs/d3dx11/script.js:15 -#: Engines/Wine/Verbs/d3dx11/script.js:17 -#: Engines/Wine/Verbs/d3dx11/script.js:40 Engines/Wine/Verbs/xact/script.js:17 -#: Engines/Wine/Verbs/xact/script.js:19 Engines/Wine/Verbs/xact/script.js:55 -#: Engines/Wine/Verbs/d3dx9/script.js:15 Engines/Wine/Verbs/d3dx9/script.js:17 -#: Engines/Wine/Verbs/d3dx9/script.js:39 +#: Engines/Wine/Verbs/d3dx10/script.js:31 +#: Engines/Wine/Verbs/d3dx10/script.js:33 +#: Engines/Wine/Verbs/d3dx10/script.js:62 +#: Engines/Wine/Verbs/d3dx11/script.js:31 +#: Engines/Wine/Verbs/d3dx11/script.js:33 +#: Engines/Wine/Verbs/d3dx11/script.js:63 Engines/Wine/Verbs/xact/script.js:34 +#: Engines/Wine/Verbs/xact/script.js:36 Engines/Wine/Verbs/xact/script.js:85 +#: Engines/Wine/Verbs/d3dx9/script.js:31 Engines/Wine/Verbs/d3dx9/script.js:33 +#: Engines/Wine/Verbs/d3dx9/script.js:62 Extracting\ {0}...=Extracting {0}... #: i18n/tmp/Applications/Games/Assassin's Creed Revelations/application.js:2 @@ -491,7 +491,7 @@ Far\ Cry\u00ae\ 2=Far Cry\u00ae 2 #: i18n/tmp/Applications/Games/Far Cry 3 - Blood Dragon/application.js:2 Far\ Cry\u00ae\ 3\:\ Blood\ Dragon\ is\ THE\ Kick-Ass\ Cyber\ Shooter.Welcome\ to\ an\ 80\u2019s\ vision\ of\ the\ future.\ The\ year\ is\ 2007\ and\ you\ are\ Sargent\ Rex\ Colt,\ a\ Mark\ IV\ Cyber\ Commando.\ Your\ mission\:\ get\ the\ girl,\ kill\ the\ baddies,\ and\ save\ the\ world.=Far Cry\u00ae 3\: Blood Dragon is THE Kick-Ass Cyber Shooter.Welcome to an 80\u2019s vision of the future. The year is 2007 and you are Sargent Rex Colt, a Mark IV Cyber Commando. Your mission\: get the girl, kill the baddies, and save the world. -#: Engines/Wine/Engine/Implementation/script.js:313 +#: Engines/Wine/Engine/Implementation/script.js:321 Fetching\ available\ Wine\ versions...=Fetching available Wine versions... #: i18n/tmp/Utils/Functions/Filesystem/Extract/script.js:1 @@ -621,7 +621,7 @@ Icy\ Tower\ 1.5=Icy Tower 1.5 #: i18n/tmp/Applications/Games/Icy Tower/application.js:2 Icy\ Tower\ is\ a\ platform\ game\ set\ in\ a\ tower,\ where\ the\ player's\ goal\ is\ to\ jump\ from\ one\ floor\ to\ the\ next\ and\ go\ as\ high\ as\ possible\ without\ falling\ and\ plunging\ off\ the\ screen.=Icy Tower is a platform game set in a tower, where the player's goal is to jump from one floor to the next and go as high as possible without falling and plunging off the screen. -#: Applications/Games/Total War Rome II/Steam/script.js:23 +#: Applications/Games/Total War Rome II/Steam/script.js:24 If\ you\ are\ experiencing\ issues\ with\ game\ (e.g.\ it\ crashes\ at\ start\ or\ rendering\ is\ broken),\ you\ can\ try\ to\ enable\ de\ OpenGL\ renderer,\ by\ modifying\ \:\n\n\ gfx_device_type\ to\ 2\n\n\ in\ the\ {0}/drive_c/users/USERNAME/Application\ Data/The\ Creative\ Assembly/Rome2/scripts/preferences_script.txt=If you are experiencing issues with game (e.g. it crashes at start or rendering is broken), you can try to enable de OpenGL renderer, by modifying \:\n\n gfx_device_type to 2\n\n in the {0}/drive_c/users/USERNAME/Application Data/The Creative Assembly/Rome2/scripts/preferences_script.txt #: Applications/Games/Mass Effect 2/Origin/script.js:17 @@ -661,12 +661,12 @@ Infiltrate\ terrorists'\ positions,\ acquire\ critical\ intelligence\ by\ any\ m #: i18n/tmp/Engines/Wine/QuickScript/Installer Script/script.js:1 Installer\ Script=Installer Script -#: Engines/Wine/Engine/Implementation/script.js:61 +#: Engines/Wine/Engine/Implementation/script.js:62 Installing\ version\:\ {0}=Installing version\: {0} -#: Applications/Internet/Internet Explorer 7.0/Online/script.js:303 -#: 6.0/Online/script.js:149 Engines/Wine/Verbs/corefonts/script.js:87 -#: Engines/Wine/Verbs/corefonts/script.js:91 +#: Applications/Internet/Internet Explorer 7.0/Online/script.js:304 +#: 6.0/Online/script.js:148 Engines/Wine/Verbs/corefonts/script.js:94 +#: Engines/Wine/Verbs/corefonts/script.js:98 Installing\ {0}...=Installing {0}... #: i18n/tmp/Applications/Internet/category.js:1 @@ -847,7 +847,7 @@ Office=Office #: Engines/Wine/Settings/offscreen rendering mode/script.js:17 Offscreen\ rendering\ mode=Offscreen rendering mode -#: Applications/Games/Wildlife Park 2/Steam/script.js:14 2/Local/script.js:15 +#: Applications/Games/Wildlife Park 2/Steam/script.js:15 2/Local/script.js:16 On\ first\ run\ the\ game\ might\ not\ go\ into\ full\ screen.\ If\ that\ happens\ go\ to\ options\ and\ set\ the\ resolution\ to\ 1280x960.\ You\ will\ be\ asked\ to\ close\ the\ game\ in\ order\ to\ apply\ the\ new\ settings.\ Click\ Yes.\ Once\ you\ start\ the\ game\ again\ you\ should\ see\ a\ window\ where\ you\ can\ set\ your\ game\ resolution\ to\ match\ your\ screen.=On first run the game might not go into full screen. If that happens go to options and set the resolution to 1280x960. You will be asked to close the game in order to apply the new settings. Click Yes. Once you start the game again you should see a window where you can set your game resolution to match your screen. #: i18n/tmp/Applications/Custom/OnlineInstaller/Online/script.js:1 @@ -967,13 +967,13 @@ Please\ ensure\ that\ winbind\ is\ installed\ before\ you\ continue.=Please ensu #: Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js:17 Please\ ensure\ you\ have\ the\ latest\ drivers\ (415.25\ minimum\ for\ NVIDIA\ and\ mesa\ 19\ for\ AMD)\ or\ else\ this\ game\ will\ not\ work.=Please ensure you have the latest drivers (415.25 minimum for NVIDIA and mesa 19 for AMD) or else this game will not work. -#: Engines/Wine/Verbs/D9VK/script.js:24 +#: Engines/Wine/Verbs/D9VK/script.js:50 Please\ ensure\ you\ have\ the\ latest\ drivers\ (418.30\ minimum\ for\ NVIDIA\ and\ mesa\ 19\ for\ AMD)\ or\ else\ D9VK\ might\ not\ work\ correctly.=Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else D9VK might not work correctly. -#: Engines/Wine/Verbs/DXVK/script.js:24 +#: Engines/Wine/Verbs/DXVK/script.js:51 Please\ ensure\ you\ have\ the\ latest\ drivers\ (418.30\ minimum\ for\ NVIDIA\ and\ mesa\ 19\ for\ AMD)\ or\ else\ DXVK\ might\ not\ work\ correctly.=Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else DXVK might not work correctly. -#: Engines/Wine/Verbs/VK9/script.js:21 +#: Engines/Wine/Verbs/VK9/script.js:48 Please\ ensure\ you\ have\ the\ latest\ drivers\ (418.30\ minimum\ for\ NVIDIA\ and\ mesa\ 19\ for\ AMD)\ or\ else\ VK9\ might\ not\ work\ correctly.=Please ensure you have the latest drivers (418.30 minimum for NVIDIA and mesa 19 for AMD) or else VK9 might not work correctly. #: Engines/Wine/QuickScript/Installer Script/script.js:22 @@ -982,7 +982,7 @@ Please\ enter\ the\ name\ of\ your\ application.=Please enter the name of your a #: Engines/Wine/QuickScript/Steam Script/script.js:117 Please\ follow\ the\ steps\ of\ the\ Steam\ setup.\ Then,\ wait\ until\ Steam\ is\ updated,\ log\ in\ and\ finally\ close\ Steam\ completely\ so\ the\ installation\ of\ "{0}"\ can\ continue.=Please follow the steps of the Steam setup. Then, wait until Steam is updated, log in and finally close Steam completely so the installation of "{0}" can continue. -#: Engines/Wine/Verbs/Uplay/script.js:16 +#: Engines/Wine/Verbs/Uplay/script.js:25 Please\ follow\ the\ steps\ of\ the\ Uplay\ setup.\n\nUncheck\ "Run\ Uplay"\ or\ close\ Uplay\ completely\ after\ the\ setup\ so\ that\ the\ installation\ can\ continue.=Please follow the steps of the Uplay setup.\n\nUncheck "Run Uplay" or close Uplay completely after the setup so that the installation can continue. #: Engines/Wine/QuickScript/Uplay Script/script.js:58 @@ -991,19 +991,19 @@ Please\ follow\ the\ steps\ of\ the\ Uplay\ setup.\n\nUncheck\ "Run\ Uplay"\ or\ #: Engines/Wine/QuickScript/GoG Script/script.js:44 Please\ login\ to\ your\ GoG.com\ account\ so\ that\ we\ can\ download\ the\ game\ for\ you\:=Please login to your GoG.com account so that we can download the game for you\: -#: Engines/Wine/QuickScript/Zip Script/script.js:42 +#: Engines/Wine/QuickScript/Zip Script/script.js:44 Please\ select\ the\ .zip\ file.=Please select the .zip file. -#: Engines/Wine/Verbs/Windows XP SP 3/script.js:58 +#: Engines/Wine/Verbs/Windows XP SP 3/script.js:64 Please\ select\ the\ SP3\ file.=Please select the SP3 file. -#: Engines/Wine/Engine/Implementation/script.js:512 +#: Engines/Wine/Engine/Implementation/script.js:520 Please\ select\ the\ distribution\ of\ wine.=Please select the distribution of wine. #: Engines/Wine/QuickScript/Online Installer Script/script.js:34 Please\ select\ the\ download\ URL.=Please select the download URL. -#: Engines/Wine/QuickScript/Installer Script/script.js:91 +#: Engines/Wine/QuickScript/Installer Script/script.js:93 Please\ select\ the\ executable.=Please select the executable. #: Engines/Wine/QuickScript/Local Installer Script/script.js:25 @@ -1012,12 +1012,11 @@ Please\ select\ the\ installation\ file.=Please select the installation file. #: Applications/Office/ElsterFormular/Online/script.js:11 Please\ select\ the\ installation\ file.\nYou\ can\ download\ it\ from\ https\://www.elster.de/elfo_down.php.=Please select the installation file.\nYou can download it from https\://www.elster.de/elfo_down.php. -#: Engines/Wine/Engine/Implementation/script.js:514 +#: Engines/Wine/Engine/Implementation/script.js:522 Please\ select\ the\ version\ of\ wine.=Please select the version of wine. -#: Engines/Wine/Verbs/DXVK/script.js:114 Engines/Wine/Verbs/FAudio/script.js:71 -#: Engines/Wine/Verbs/gallium9/script.js:92 Engines/Wine/Verbs/VK9/script.js:90 -#: Engines/Wine/Verbs/D9VK/script.js:87 +#: Engines/Wine/Verbs/DXVK/script.js:166 Engines/Wine/Verbs/FAudio/script.js:81 +#: Engines/Wine/Verbs/VK9/script.js:114 Engines/Wine/Verbs/D9VK/script.js:106 Please\ select\ the\ version.=Please select the version. #: Engines/Wine/QuickScript/Installer Script/script.js:36 @@ -1043,66 +1042,63 @@ Please\ wait\ while\ {0}\ is\ downloaded...=Please wait while {0} is downloaded. #: Utils/Functions/Filesystem/Extract/script.js:160 Please\ wait\ while\ {0}\ is\ extracted...=Please wait while {0} is extracted... -#: Engines/Wine/Verbs/dotnet472/script.js:37 -#: Engines/Wine/Verbs/vcrun2012/script.js:20 -#: Engines/Wine/Verbs/vcrun2012/script.js:31 -#: Engines/Wine/Verbs/vcrun2003/script.js:20 -#: Engines/Wine/Verbs/d3drm/script.js:21 -#: Engines/Wine/Verbs/dotnet20sp2/script.js:37 -#: Engines/Wine/Verbs/dotnet20sp2/script.js:53 -#: Engines/Wine/Verbs/msxml3/script.js:26 -#: Engines/Wine/Verbs/vcrun2013/script.js:20 -#: Engines/Wine/Verbs/vcrun2013/script.js:31 -#: Engines/Wine/Verbs/dotnet462/script.js:37 -#: Engines/Wine/Verbs/vcrun2017/script.js:20 -#: Engines/Wine/Verbs/vcrun2017/script.js:31 -#: Engines/Wine/Verbs/dotnet46/script.js:36 -#: Engines/Wine/Verbs/vcrun2005/script.js:19 -#: Engines/Wine/Verbs/dotnet452/script.js:37 -#: Engines/Wine/Verbs/amstream/script.js:23 -#: Engines/Wine/Verbs/amstream/script.js:42 -#: Engines/Wine/Verbs/devenum/script.js:22 -#: Engines/Wine/Verbs/dotnet461/script.js:37 -#: Engines/Wine/Verbs/vcrun2015/script.js:20 -#: Engines/Wine/Verbs/vcrun2015/script.js:31 -#: Engines/Wine/Verbs/dotnet40/script.js:37 -#: Engines/Wine/Verbs/vcrun2010/script.js:20 -#: Engines/Wine/Verbs/vcrun2010/script.js:31 -#: Engines/Wine/Verbs/dotnet45/script.js:37 -#: Engines/Wine/Verbs/vcrun6sp6/script.js:32 -#: Engines/Wine/Verbs/msxml6/script.js:37 -#: Engines/Wine/Verbs/msxml6/script.js:40 -#: Engines/Wine/Verbs/gdiplus/script.js:20 -#: Engines/Wine/Verbs/vcrun2008/script.js:20 -#: Engines/Wine/Verbs/vcrun2008/script.js:31 Engines/Wine/Verbs/QuickTime -#: 7.6/script.js:17 Engines/Wine/Verbs/PhysX/script.js:19 -#: Engines/Wine/Verbs/dotnet20/script.js:29 -#: Engines/Wine/Verbs/dotnet20/script.js:48 +#: Engines/Wine/Verbs/dotnet472/script.js:46 +#: Engines/Wine/Verbs/vcrun2012/script.js:28 +#: Engines/Wine/Verbs/vcrun2012/script.js:42 +#: Engines/Wine/Verbs/vcrun2003/script.js:27 +#: Engines/Wine/Verbs/d3drm/script.js:31 +#: Engines/Wine/Verbs/dotnet20sp2/script.js:44 +#: Engines/Wine/Verbs/dotnet20sp2/script.js:61 +#: Engines/Wine/Verbs/vcrun2013/script.js:26 +#: Engines/Wine/Verbs/vcrun2013/script.js:40 +#: Engines/Wine/Verbs/dotnet462/script.js:46 +#: Engines/Wine/Verbs/vcrun2017/script.js:28 +#: Engines/Wine/Verbs/vcrun2017/script.js:42 +#: Engines/Wine/Verbs/dotnet46/script.js:46 +#: Engines/Wine/Verbs/vcrun2005/script.js:26 +#: Engines/Wine/Verbs/dotnet452/script.js:46 +#: Engines/Wine/Verbs/amstream/script.js:33 +#: Engines/Wine/Verbs/amstream/script.js:66 +#: Engines/Wine/Verbs/devenum/script.js:32 +#: Engines/Wine/Verbs/dotnet461/script.js:46 +#: Engines/Wine/Verbs/vcrun2015/script.js:26 +#: Engines/Wine/Verbs/vcrun2015/script.js:40 +#: Engines/Wine/Verbs/dotnet40/script.js:50 +#: Engines/Wine/Verbs/vcrun2010/script.js:26 +#: Engines/Wine/Verbs/vcrun2010/script.js:40 +#: Engines/Wine/Verbs/dotnet45/script.js:54 +#: Engines/Wine/Verbs/msxml6/script.js:41 +#: Engines/Wine/Verbs/msxml6/script.js:54 +#: Engines/Wine/Verbs/vcrun2008/script.js:26 +#: Engines/Wine/Verbs/vcrun2008/script.js:40 Engines/Wine/Verbs/QuickTime +#: 7.6/script.js:24 Engines/Wine/Verbs/PhysX/script.js:24 +#: Engines/Wine/Verbs/dotnet20/script.js:36 +#: Engines/Wine/Verbs/dotnet20/script.js:55 Please\ wait\ while\ {0}\ is\ installed...=Please wait while {0} is installed... #: Engines/Wine/Engine/Object/script.js:185 Please\ wait\ while\ {0}\ is\ uninstalled...=Please wait while {0} is uninstalled... -#: Applications/Internet/Internet Explorer 6.0/Online/script.js:145 -#: Engines/Wine/Verbs/dotnet472/script.js:40 Engines/Wine/Verbs/Remove -#: Mono/script.js:13 Mono/script.js:16 Mono/script.js:19 -#: Engines/Wine/Verbs/dotnet462/script.js:40 -#: Engines/Wine/Verbs/dotnet46/script.js:39 -#: Engines/Wine/Verbs/d3dx10/script.js:38 -#: Engines/Wine/Verbs/dotnet452/script.js:40 -#: Engines/Wine/Verbs/dotnet461/script.js:40 -#: Engines/Wine/Verbs/dotnet40/script.js:40 -#: Engines/Wine/Verbs/dotnet40/script.js:47 -#: Engines/Wine/Verbs/dotnet45/script.js:40 -#: Engines/Wine/Verbs/d3dx11/script.js:39 -#: Engines/Wine/Verbs/corefonts/script.js:86 -#: Engines/Wine/Verbs/xact/script.js:54 Engines/Wine/Verbs/d3dx9/script.js:38 +#: Applications/Internet/Internet Explorer 6.0/Online/script.js:144 +#: Engines/Wine/Verbs/dotnet472/script.js:50 Engines/Wine/Verbs/Remove +#: Mono/script.js:22 Mono/script.js:26 Mono/script.js:30 +#: Engines/Wine/Verbs/dotnet462/script.js:50 +#: Engines/Wine/Verbs/dotnet46/script.js:50 +#: Engines/Wine/Verbs/d3dx10/script.js:61 +#: Engines/Wine/Verbs/dotnet452/script.js:50 +#: Engines/Wine/Verbs/dotnet461/script.js:50 +#: Engines/Wine/Verbs/dotnet40/script.js:54 +#: Engines/Wine/Verbs/dotnet40/script.js:63 +#: Engines/Wine/Verbs/dotnet45/script.js:58 +#: Engines/Wine/Verbs/d3dx11/script.js:62 +#: Engines/Wine/Verbs/corefonts/script.js:93 +#: Engines/Wine/Verbs/xact/script.js:84 Engines/Wine/Verbs/d3dx9/script.js:61 #: Engines/Wine/QuickScript/Steam Script/script.js:142 Script/script.js:147 #: Script/script.js:167 Script/script.js:182 Engines/Wine/QuickScript/Zip -#: Script/script.js:38 Script/script.js:64 Engines/Wine/QuickScript/Installer -#: Script/script.js:84 Script/script.js:100 Engines/Wine/QuickScript/Origin -#: Script/script.js:52 Script/script.js:57 Script/script.js:65 -#: Engines/Wine/QuickScript/Uplay Script/script.js:70 Script/script.js:90 +#: Script/script.js:40 Script/script.js:66 Engines/Wine/QuickScript/Installer +#: Script/script.js:86 Script/script.js:102 Engines/Wine/QuickScript/Origin +#: Script/script.js:53 Script/script.js:58 Engines/Wine/QuickScript/Uplay +#: Script/script.js:65 Script/script.js:70 Script/script.js:90 Please\ wait...=Please wait... #: i18n/tmp/Engines/Wine/Plugins/application.js:2 @@ -1170,9 +1166,6 @@ Red\ Trigger=Red Trigger #: i18n/tmp/Applications/Games/Red Trigger/application.js:2 Red\ Trigger\ is\ a\ First\ Person\ Shooter\ (FPS)\ Puzzle\ game.\ Can\ you\ infiltrate\ and\ corrupt\ the\ system?=Red Trigger is a First Person Shooter (FPS) Puzzle game. Can you infiltrate and corrupt the system? -#: Engines/Wine/Verbs/xact/script.js:34 Engines/Wine/Verbs/xact/script.js:36 -Registering\ {0}...=Registering {0}... - #: i18n/tmp/Engines/Wine/Tools/Wine Registry Editor/script.js:1 Registry\ Editor=Registry Editor @@ -1265,7 +1258,7 @@ Scribblenauts\ Unlimited=Scribblenauts Unlimited #: (1.0->1.6)/script.js:14 Select\ your\ region\ for\ the\ patch\ (1.0\ to\ 1.60).=Select your region for the patch (1.0 to 1.60). -#: Applications/Games/League of Legends/Online/script.js:34 +#: Applications/Games/League of Legends/Online/script.js:33 Select\ your\ region\:=Select your region\: #: i18n/tmp/Applications/Games/Earth Eternal - Valkal's Shadow/application.js:2 @@ -1613,28 +1606,28 @@ The\ world\ is\ changing\ and\ Tropico\ is\ moving\ with\ the\ times\ -\ geograp #: i18n/tmp/Applications/Games/Assassin's Creed IV Black Flag/application.js:2 The\ year\ is\ 1715.\ Pirates\ rule\ the\ Caribbean\ and\ have\ established\ their\ own\ lawless\ Republic\ where\ corruption,\ greediness\ and\ cruelty\ are\ commonplace.Among\ these\ outlaws\ is\ a\ brash\ young\ captain\ named\ Edward\ Kenway.=The year is 1715. Pirates rule the Caribbean and have established their own lawless Republic where corruption, greediness and cruelty are commonplace.Among these outlaws is a brash young captain named Edward Kenway. -#: Applications/Games/Lego Rock Raiders/Local/script.js:28 +#: Applications/Games/Lego Rock Raiders/Local/script.js:29 This\ game\ needs\ a\ copy\ protection\ patch\ to\ work.\ It\ may\ be\ illegal\ in\ your\ country\ to\ patch\ copy\ protection.\ You\ must\ patch\ the\ game\ yourself.=This game needs a copy protection patch to work. It may be illegal in your country to patch copy protection. You must patch the game yourself. #: Applications/Games/Sprouts Adventure/Local/script.js:13 This\ game\ requires\ winebind\ (for\ Ubuntu)\ or\ samba\ and\ libwbclient/lib32-libwbclient\ (for\ Arch\ Linux).=This game requires winebind (for Ubuntu) or samba and libwbclient/lib32-libwbclient (for Arch Linux). -#: Engines/Wine/Verbs/dotnet472/script.js:17 -#: Engines/Wine/Verbs/dotnet472/script.js:65 -#: Engines/Wine/Verbs/dotnet462/script.js:17 -#: Engines/Wine/Verbs/dotnet462/script.js:65 -#: Engines/Wine/Verbs/dotnet46/script.js:16 -#: Engines/Wine/Verbs/dotnet46/script.js:64 -#: Engines/Wine/Verbs/dotnet452/script.js:17 -#: Engines/Wine/Verbs/dotnet452/script.js:69 -#: Engines/Wine/Verbs/dotnet461/script.js:17 -#: Engines/Wine/Verbs/dotnet461/script.js:65 +#: Engines/Wine/Verbs/dotnet472/script.js:24 +#: Engines/Wine/Verbs/dotnet472/script.js:69 +#: Engines/Wine/Verbs/dotnet462/script.js:24 +#: Engines/Wine/Verbs/dotnet462/script.js:69 +#: Engines/Wine/Verbs/dotnet46/script.js:24 +#: Engines/Wine/Verbs/dotnet46/script.js:69 +#: Engines/Wine/Verbs/dotnet452/script.js:24 +#: Engines/Wine/Verbs/dotnet452/script.js:73 +#: Engines/Wine/Verbs/dotnet461/script.js:24 +#: Engines/Wine/Verbs/dotnet461/script.js:69 This\ package\ ({0})\ does\ not\ work\ currently.\ Use\ it\ only\ for\ testing\!=This package ({0}) does not work currently. Use it only for testing\! -#: Engines/Wine/Verbs/dotnet40/script.js:17 -#: Engines/Wine/Verbs/dotnet40/script.js:79 -#: Engines/Wine/Verbs/dotnet45/script.js:16 -#: Engines/Wine/Verbs/dotnet45/script.js:70 +#: Engines/Wine/Verbs/dotnet40/script.js:26 +#: Engines/Wine/Verbs/dotnet40/script.js:91 +#: Engines/Wine/Verbs/dotnet45/script.js:28 +#: Engines/Wine/Verbs/dotnet45/script.js:84 This\ package\ ({0})\ may\ not\ fully\ work\ on\ a\ 64-bit\ installation.\ 32-bit\ prefixes\ may\ work\ better.=This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better. #: i18n/tmp/Applications/Games/Worms Armageddon/application.js:2 @@ -1727,7 +1720,7 @@ Use\ Take\ Focus=Use Take Focus #: i18n/tmp/Engines/Wine/Settings/UseTakeFocus/script.js:1 UseTakeFocus=UseTakeFocus -#: Engines/Wine/Verbs/gallium9/script.js:22 +#: Engines/Wine/Verbs/gallium9/script.js:42 Using\ Gallium\ 9\ requires\ to\ have\ a\ driver\ supporting\ the\ Gallium\ 9\ state\ tracker,\ as\ well\ as\ d3dapater9.so\ installed\ (ex\:\ libd3d9adapter-mesa\ package).\ Please\ be\ sure\ it\ is\ installed\ (both\ 32\ and\ 64\ bits).=Using Gallium 9 requires to have a driver supporting the Gallium 9 state tracker, as well as d3dapater9.so installed (ex\: libd3d9adapter-mesa package). Please be sure it is installed (both 32 and 64 bits). #: i18n/tmp/Utils/Functions/Apps/application.js:2 @@ -1745,7 +1738,7 @@ Utils\ for\ system\ interaction.=Utils for system interaction. #: i18n/tmp/Engines/Wine/Verbs/VK9/script.js:1 VK9=VK9 -#: Engines/Wine/Verbs/VK9/script.js:19 +#: Engines/Wine/Verbs/VK9/script.js:42 VK9\ might\ not\ work\ correctly\ on\ macOS.\ This\ is\ depending\ on\ Metal\ api\ support\ and\ MoltenVK\ compatibility\ layer\ advancement=VK9 might not work correctly on macOS. This is depending on Metal api support and MoltenVK compatibility layer advancement #: i18n/tmp/Applications/Games/Scribblenauts Unlimited/application.js:2 @@ -1782,13 +1775,13 @@ Welcome\ to\ Unholy\ Heights,\ a\ mashup\ of\ Tower\ Defense\ and\ Apartment\ Ma #: Applications/Games/Origin/Local (Legacy)/script.js:17 When\ Origin\ launches,\ you\ will\ get\ an\ error\ message\ ("Your\ update\ could\ not\ be\ completed.").\ This\ is\ ok.\ Just\ close\ the\ popup.=When Origin launches, you will get an error message ("Your update could not be completed."). This is ok. Just close the popup. -#: Applications/Games/Lego Rock Raiders/Local/script.js:46 +#: Applications/Games/Lego Rock Raiders/Local/script.js:47 When\ installing\ Indeo\ codecs\ you\ must\ choose\ custom\ installation\ type.\ Then\ uncheck\ ownload\ DirectShow\ filter\ and\ Indeo\ 5\ Netscape\ Browser\ Extension\ or\ else\ the\ installer\ will\ crash.=When installing Indeo codecs you must choose custom installation type. Then uncheck ownload DirectShow filter and Indeo 5 Netscape Browser Extension or else the installer will crash. -#: Applications/Games/Lego Rock Raiders/Local/script.js:23 +#: Applications/Games/Lego Rock Raiders/Local/script.js:24 When\ the\ game\ ask\ to\ install\ DirectX\ Media\ click\ yes.\ Click\ no\ when\ it\ ask\ for\ DirectX\ 6.=When the game ask to install DirectX Media click yes. Click no when it ask for DirectX 6. -#: Applications/Internet/Internet Explorer 7.0/Online/script.js:79 +#: Applications/Internet/Internet Explorer 7.0/Online/script.js:80 Which\ language\ version\ would\ you\ like\ to\ install?=Which language version would you like to install? #: i18n/tmp/Applications/Games/Wildlife Park 2/application.js:1 @@ -1880,7 +1873,7 @@ You\ can\ make\ the\ game\ smoother\ by\ using\ this\:\ https\://github.com/lutr #: i18n/tmp/Applications/Games/BRINK/application.js:2 You\ decide\ the\ combat\ role\ you\ want\ to\ assume\ in\ the\ world\ of\ Brink\ as\ you\ fight\ to\ save\ yourself\ and\ mankind\u2019s\ last\ refuge\!=You decide the combat role you want to assume in the world of Brink as you fight to save yourself and mankind\u2019s last refuge\! -#: Applications/Games/Space Engineers/Steam/script.js:24 +#: Applications/Games/Space Engineers/Steam/script.js:44 You\ have\ to\ install\ libjpeg62\ and\ libjpeg62-dev\ or\ else\ the\ thumbnails\ in\ New\ Game\ menu\ will\ be\ dispalyed\ as\ magenta\ rectangles.=You have to install libjpeg62 and libjpeg62-dev or else the thumbnails in New Game menu will be dispalyed as magenta rectangles. #: i18n/tmp/Applications/Games/Druid Soccer/application.js:2 @@ -1931,8 +1924,8 @@ devenum=devenum #: i18n/tmp/Engines/Wine/Verbs/FAudio/script.js:1 faudio=faudio -#: Engines/Wine/Verbs/corefonts/script.js:87 -#: Engines/Wine/Verbs/corefonts/script.js:91 +#: Engines/Wine/Verbs/corefonts/script.js:94 +#: Engines/Wine/Verbs/corefonts/script.js:98 fonts=fonts #: i18n/tmp/Engines/Wine/Verbs/gallium9/script.js:1 @@ -1941,6 +1934,9 @@ gallium9=gallium9 #: i18n/tmp/Engines/Wine/Verbs/gdiplus/script.js:1 gdiplus=gdiplus +#: i18n/tmp/Engines/Wine/Verbs/gdiplus_winxp/script.js:1 +gdiplus_winxp=gdiplus_winxp + #: i18n/tmp/Engines/Wine/Plugins/hdpi/script.js:1 hdpi=hdpi @@ -2074,8 +2070,8 @@ vulkanSDK=vulkanSDK #: i18n/tmp/Engines/Wine/Verbs/xact/script.js:1 xact=xact -#: Engines/Wine/Verbs/dotnet452/script.js:50 -#: Engines/Wine/Verbs/dotnet45/script.js:50 +#: Engines/Wine/Verbs/dotnet452/script.js:62 +#: Engines/Wine/Verbs/dotnet45/script.js:70 {0}\ applications\ can\ have\ issues\ when\ windows\ version\ is\ not\ set\ to\ "win2003"={0} applications can have issues when windows version is not set to "win2003" #: i18n/tmp/Applications/Games/It came from space and ate our