From c1bf3755e2c8cb6831695fb8ef98038e13fcd1a7 Mon Sep 17 00:00:00 2001 From: plata Date: Sun, 25 Aug 2019 09:16:34 +0200 Subject: [PATCH 01/18] Update Wine LATEST_STABLE_VERSION to 4.0.2 (#1102) --- Engines/Wine/Engine/Versions/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engines/Wine/Engine/Versions/script.js b/Engines/Wine/Engine/Versions/script.js index 9fb13113b5..d0440ebafb 100644 --- a/Engines/Wine/Engine/Versions/script.js +++ b/Engines/Wine/Engine/Versions/script.js @@ -1,5 +1,5 @@ /* 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"; /* exported LATEST_STAGING_VERSION */ From 773a6dd909fe9869a7412d9765676b32613d18fd Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Sun, 25 Aug 2019 19:20:37 +0200 Subject: [PATCH 02/18] Update Space Engineers: bumped up wine version and fixed few typos (#1110) --- Applications/Games/Space Engineers/Steam/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Applications/Games/Space Engineers/Steam/script.js b/Applications/Games/Space Engineers/Steam/script.js index 2179ddf4c6..d7ce0b08dd 100644 --- a/Applications/Games/Space Engineers/Steam/script.js +++ b/Applications/Games/Space Engineers/Steam/script.js @@ -9,8 +9,8 @@ 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) { @@ -24,4 +24,4 @@ new SteamScript() 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"]) From 1772189fb95f8908cd276c879f75df301f6c4c75 Mon Sep 17 00:00:00 2001 From: madoar Date: Mon, 2 Sep 2019 21:46:58 +0200 Subject: [PATCH 03/18] Add Documentation about the Module System (#1114) --- docs/_docs/General/best-practices.md | 2 +- docs/_docs/General/classes.md | 2 +- docs/_docs/General/module-system.md | 88 ++++++++++++++++++++++++++++ docs/_docs/General/tools.md | 2 +- docs/_docs/General/translation.md | 2 +- 5 files changed, 92 insertions(+), 4 deletions(-) create mode 100644 docs/_docs/General/module-system.md 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 --- From d68c960d3148b82b7cc4e0b3d1371ea099408cd8 Mon Sep 17 00:00:00 2001 From: plata Date: Tue, 3 Sep 2019 19:47:01 +0200 Subject: [PATCH 04/18] Update Wine LATEST_DEVELOPMENT_VERSION and LATEST_STAGING_VERSION to 4.15 (#1115) --- Engines/Wine/Engine/Versions/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engines/Wine/Engine/Versions/script.js b/Engines/Wine/Engine/Versions/script.js index d0440ebafb..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.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"; From ea069879f7e976814837bb01052c4822e4578b07 Mon Sep 17 00:00:00 2001 From: Zemogiter Date: Fri, 6 Sep 2019 14:26:36 +0200 Subject: [PATCH 05/18] Update FAudio, added new versions (#1108) --- Engines/Wine/Verbs/FAudio/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Engines/Wine/Verbs/FAudio/script.js b/Engines/Wine/Verbs/FAudio/script.js index 344a23083e..c23617df31 100644 --- a/Engines/Wine/Verbs/FAudio/script.js +++ b/Engines/Wine/Verbs/FAudio/script.js @@ -17,7 +17,7 @@ Wine.prototype.faudio = function (faudioVersion) { throw "FAudio does not support 32bit architecture."; } if (typeof faudioVersion !== "string") { - faudioVersion = "19.06.07"; + faudioVersion = "19.08"; } var setupFile = new Resource() @@ -66,9 +66,9 @@ module.default = class FAudioVerb { 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 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.06.07"); + const selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.08"); const wine = new Wine(); wine.prefix(container); From 78ec0c5c726e7b8101c996a9e518ef7d12f39449 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 6 Sep 2019 12:30:08 +0000 Subject: [PATCH 06/18] Update JSDoc --- docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html index c63d3ab572..b1e374d858 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html @@ -45,7 +45,7 @@

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

throw "FAudio does not support 32bit architecture."; } if (typeof faudioVersion !== "string") { - faudioVersion = "19.06.07"; + faudioVersion = "19.08"; } var setupFile = new Resource() @@ -94,9 +94,9 @@

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

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 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.06.07"); + const selectedVersion = wizard.menu(tr("Please select the version."), versions, "19.08"); const wine = new Wine(); wine.prefix(container); From 3880af0a42d91148b80f8255888e1100c5f95b30 Mon Sep 17 00:00:00 2001 From: madoar Date: Tue, 10 Sep 2019 19:30:39 +0200 Subject: [PATCH 07/18] Introduce the Module System to the Verbs (#1112) - introduce the module system to the verbs - update all verbs including uplay- improve documentation --- .../Steam/script.js | 8 +- Applications/Games/Anno 2070/Local/script.js | 17 +- Applications/Games/Anno 2070/Uplay/script.js | 4 +- .../Steam/script.js | 4 +- .../Steam/script.js | 4 +- .../Steam/script.js | 4 +- Applications/Games/Audiosurf/Steam/script.js | 13 +- .../Games/Blizzard app/Online/script.js | 9 +- .../Local/script.js | 4 +- .../Games/DC Universe Online/Online/script.js | 9 +- .../Online/script.js | 14 +- .../Games/Elite:Dangerous/Steam/script.js | 16 +- Applications/Games/Far Cry 2/Steam/script.js | 6 +- .../Games/GOG Galaxy/Online/script.js | 18 +- .../Games/Hearthstone/Online/script.js | 10 +- .../Heroes of the Storm/Online/script.js | 13 +- .../Steam/script.js | 4 +- .../Games/League of Legends/Online/script.js | 5 +- .../Games/Lego Rock Raiders/Local/script.js | 19 +- .../Online/script.js | 6 +- .../Games/Mirror's Edge/Steam/script.js | 8 +- .../Niko: Through The Dream/Steam/script.js | 4 +- Applications/Games/Overwatch/Online/script.js | 22 +- .../PC Building Simulator/Steam/script.js | 4 +- .../Q.U.B.E: Director's Cut/Steam/script.js | 4 +- .../Games/Quantum Conundrum/Steam/script.js | 5 +- .../Rayman Legends/Steam (Demo)/script.js | 4 +- .../Games/Rayman Legends/Steam/script.js | 4 +- Applications/Games/RimWorld/Local/script.js | 13 +- Applications/Games/RimWorld/Steam/script.js | 13 +- .../Local/script.js | 4 +- .../Steam/script.js | 4 +- .../Online/script.js | 4 +- .../Games/Space Colony/Steam/script.js | 14 +- .../Games/Space Engineers/Steam/script.js | 50 ++- .../Games/Sprouts Adventure/Local/script.js | 5 +- .../Games/Star Craft II/Online/script.js | 11 +- Applications/Games/Steam/Online/script.js | 4 +- .../Subnautica Below Zero/Steam/script.js | 16 +- Applications/Games/Subnautica/Steam/script.js | 16 +- Applications/Games/The Sims 3/Local/script.js | 16 +- Applications/Games/The Sims 3/Steam/script.js | 16 +- .../The Witcher 3: Wild Hunt/Steam/script.js | 7 +- .../Steam (Demo)/script.js | 4 +- .../Tom Clancy's The Division/Steam/script.js | 4 +- .../Games/Total War Rome II/Steam/script.js | 19 +- .../Trackmania Turbo/Steam (Demo)/script.js | 4 +- .../Games/Trackmania Turbo/Steam/script.js | 4 +- .../Games/Unholy Heights/Steam/script.js | 4 +- Applications/Games/Uplay/Online/script.js | 4 +- .../Online/script.js | 13 +- .../Steam/script.js | 22 +- .../Games/Wildlife Park 2/Local/script.js | 6 +- .../Games/Wildlife Park 2/Steam/script.js | 6 +- Applications/Games/osu!/Online/script.js | 8 +- .../Internet Explorer 6.0/Online/script.js | 19 +- .../Internet Explorer 7.0/Online/script.js | 63 +-- .../Adobe Acrobat Reader DC/Online/script.js | 6 +- .../Office/ElsterFormular/Online/script.js | 5 +- Engines/Wine/QuickScript/GoG Script/script.js | 11 +- .../QuickScript/Installer Script/script.js | 6 +- .../Wine/QuickScript/Origin Script/script.js | 7 +- .../Wine/QuickScript/Steam Script/script.js | 10 +- .../Wine/QuickScript/Uplay Script/script.js | 10 +- Engines/Wine/QuickScript/Zip Script/script.js | 14 +- Engines/Wine/Verbs/D9VK/script.js | 150 ++++--- Engines/Wine/Verbs/DXVK/script.js | 213 +++++---- Engines/Wine/Verbs/FAudio/script.js | 119 ++--- Engines/Wine/Verbs/PhysX/script.js | 50 +-- Engines/Wine/Verbs/QuickTime 7.6/script.js | 61 ++- Engines/Wine/Verbs/Remove Mono/script.js | 65 +-- Engines/Wine/Verbs/Tahoma/script.js | 82 ++-- Engines/Wine/Verbs/Uplay/script.js | 52 ++- Engines/Wine/Verbs/VK9/script.js | 151 ++++--- Engines/Wine/Verbs/Windows XP SP 3/script.js | 80 ++-- Engines/Wine/Verbs/adobeair/script.js | 54 ++- Engines/Wine/Verbs/amstream/script.js | 139 +++--- Engines/Wine/Verbs/atmlib/script.js | 82 ++-- Engines/Wine/Verbs/corefonts/script.js | 277 ++++++------ Engines/Wine/Verbs/crypt32/script.js | 44 +- Engines/Wine/Verbs/d3drm/script.js | 79 ++-- Engines/Wine/Verbs/d3dx10/script.js | 200 +++++---- Engines/Wine/Verbs/d3dx11/script.js | 132 +++--- Engines/Wine/Verbs/d3dx9/script.js | 249 ++++++----- Engines/Wine/Verbs/devenum/script.js | 91 ++-- Engines/Wine/Verbs/dotnet20/script.js | 99 ++-- Engines/Wine/Verbs/dotnet20sp2/script.js | 125 +++--- Engines/Wine/Verbs/dotnet40/script.js | 122 ++--- Engines/Wine/Verbs/dotnet45/script.js | 109 +++-- Engines/Wine/Verbs/dotnet452/script.js | 97 ++-- Engines/Wine/Verbs/dotnet46/script.js | 90 ++-- Engines/Wine/Verbs/dotnet461/script.js | 91 ++-- Engines/Wine/Verbs/dotnet462/script.js | 91 ++-- Engines/Wine/Verbs/dotnet472/script.js | 91 ++-- Engines/Wine/Verbs/gallium9/script.js | 153 ++++--- Engines/Wine/Verbs/gdiplus/script.js | 65 +-- Engines/Wine/Verbs/luna/script.js | 64 +-- Engines/Wine/Verbs/mfc42/script.js | 91 ++-- Engines/Wine/Verbs/msls31/script.js | 62 +-- Engines/Wine/Verbs/mspatcha/script.js | 97 ++-- Engines/Wine/Verbs/msxml3/script.js | 62 +-- Engines/Wine/Verbs/msxml6/script.js | 95 ++-- Engines/Wine/Verbs/quartz/script.js | 94 ++-- Engines/Wine/Verbs/sandbox/script.js | 49 +- Engines/Wine/Verbs/secur32/script.js | 125 +++--- Engines/Wine/Verbs/vcrun2003/script.js | 57 ++- Engines/Wine/Verbs/vcrun2005/script.js | 68 ++- Engines/Wine/Verbs/vcrun2008/script.js | 90 ++-- Engines/Wine/Verbs/vcrun2010/script.js | 89 ++-- Engines/Wine/Verbs/vcrun2012/script.js | 91 ++-- Engines/Wine/Verbs/vcrun2013/script.js | 81 ++-- Engines/Wine/Verbs/vcrun2015/script.js | 116 ++--- Engines/Wine/Verbs/vcrun2017/script.js | 118 ++--- Engines/Wine/Verbs/vcrun6sp6/script.js | 83 ++-- Engines/Wine/Verbs/vulkanSDK/script.js | 118 ++--- Engines/Wine/Verbs/xact/script.js | 422 ++++++++++-------- docs/_docs/Develop/script-js.md | 54 ++- docs/_docs/Develop/verbs.md | 65 +-- 118 files changed, 3467 insertions(+), 2911 deletions(-) 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 d7ce0b08dd..1d194da5c4 100644 --- a/Applications/Games/Space Engineers/Steam/script.js +++ b/Applications/Games/Space Engineers/Steam/script.js @@ -1,8 +1,9 @@ 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() @@ -14,14 +15,39 @@ new SteamScript() .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-cef-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/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..e97c495e72 100644 --- a/Engines/Wine/Verbs/D9VK/script.js +++ b/Engines/Wine/Verbs/D9VK/script.js @@ -1,93 +1,117 @@ 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"); - 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 (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; diff --git a/Engines/Wine/Verbs/DXVK/script.js b/Engines/Wine/Verbs/DXVK/script.js index ec17de3548..7dd5046980 100644 --- a/Engines/Wine/Verbs/DXVK/script.js +++ b/Engines/Wine/Verbs/DXVK/script.js @@ -1,121 +1,174 @@ 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(); + + 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 (this.wine.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 c23617df31..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.08"; + + /** + * 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.08", "19.07", "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.08"); + 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..207b405014 100644 --- a/Engines/Wine/Verbs/adobeair/script.js +++ b/Engines/Wine/Verbs/adobeair/script.js @@ -1,52 +1,48 @@ 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() { + // 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(this.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..4ed2cf4e92 100644 --- a/Engines/Wine/Verbs/amstream/script.js +++ b/Engines/Wine/Verbs/amstream/script.js @@ -1,76 +1,105 @@ 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 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 (this.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..d66a5e908c 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,112 @@ 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 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 (this.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..554bd10f72 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,80 @@ 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 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 (this.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..ed45bfe376 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,137 @@ 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 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 (this.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..f7540feb3b 100755 --- a/Engines/Wine/Verbs/dotnet45/script.js +++ b/Engines/Wine/Verbs/dotnet45/script.js @@ -1,76 +1,95 @@ 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(); - 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 (this.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..0db50e40fb 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"; + } + + 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(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..54ca7ab51b 100644 --- a/Engines/Wine/Verbs/gdiplus/script.js +++ b/Engines/Wine/Verbs/gdiplus/script.js @@ -1,49 +1,56 @@ const Wine = include("engines.wine.engine.object"); const Resource = include("utils.functions.net.resource"); -const {cp} = include("utils.functions.filesystem.files"); +const { cp } = 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(); - this.overrideDLL() - .set("native", ["gdiplus"]) - .do(); + const setupFile = new Resource() + .wizard(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(); - cp(this.prefixDirectory() + "/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll", this.system32directory()); + wizard.wait(tr("Please wait while {0} is installed...", "GDI+")); - return this; -}; + this.wine.run(setupFile, ["/extract:C:\\Tmp", "/q"], null, true, true); -/** - * 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/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..ff48fd0017 100644 --- a/Engines/Wine/Verbs/secur32/script.js +++ b/Engines/Wine/Verbs/secur32/script.js @@ -1,74 +1,97 @@ 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 system64directory = this.wine.system64directory(); + + 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 (this.architecture() == "amd64") { + 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(); - return this; -} + 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" + ]); -/** - * Verb to install secur32 - */ -// eslint-disable-next-line no-unused-vars -module.default = class Secur32Verb { - constructor() { - // do nothing + 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..be383594c6 100644 --- a/Engines/Wine/Verbs/xact/script.js +++ b/Engines/Wine/Verbs/xact/script.js @@ -3,252 +3,286 @@ 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 system64directory = this.wine.system64directory(); + + 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 (this.architecture() == "amd64") { + //---------------------------------------------------------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(); ``` From 19254e6a3568eb6f65c28b07a24214ffcc6ccbb8 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 10 Sep 2019 17:32:58 +0000 Subject: [PATCH 08/18] Update translations --- i18n/Messages.properties | 216 +++++++++++++++++++-------------------- 1 file changed, 105 insertions(+), 111 deletions(-) diff --git a/i18n/Messages.properties b/i18n/Messages.properties index 6616e9d8dc..fd1324593f 100644 --- a/i18n/Messages.properties +++ b/i18n/Messages.properties @@ -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:43 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:44 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,7 +353,7 @@ 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 @@ -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:61 +#: Engines/Wine/Verbs/d3dx11/script.js:31 +#: Engines/Wine/Verbs/d3dx11/script.js:33 +#: Engines/Wine/Verbs/d3dx11/script.js:62 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:61 Extracting\ {0}...=Extracting {0}... #: i18n/tmp/Applications/Games/Assassin's Creed Revelations/application.js:2 @@ -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 @@ -664,9 +664,9 @@ Installer\ Script=Installer Script #: Engines/Wine/Engine/Implementation/script.js:61 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:49 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:50 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,10 +991,10 @@ 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 @@ -1003,7 +1003,7 @@ Please\ select\ the\ distribution\ of\ wine.=Please select the distribution of w #: 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 @@ -1015,9 +1015,8 @@ Please\ select\ the\ installation\ file.\nYou\ can\ download\ it\ from\ https\:/ #: Engines/Wine/Engine/Implementation/script.js:514 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:165 Engines/Wine/Verbs/FAudio/script.js:81 +#: Engines/Wine/Verbs/VK9/script.js:114 Engines/Wine/Verbs/D9VK/script.js:105 Please\ select\ the\ version.=Please select the version. #: Engines/Wine/QuickScript/Installer Script/script.js:36 @@ -1043,66 +1042,64 @@ 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:32 +#: Engines/Wine/Verbs/amstream/script.js:65 +#: 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:53 +#: Engines/Wine/Verbs/msxml6/script.js:41 +#: Engines/Wine/Verbs/msxml6/script.js:54 +#: Engines/Wine/Verbs/gdiplus/script.js:31 +#: 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:60 +#: 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:57 +#: Engines/Wine/Verbs/d3dx11/script.js:61 +#: Engines/Wine/Verbs/corefonts/script.js:93 +#: Engines/Wine/Verbs/xact/script.js:84 Engines/Wine/Verbs/d3dx9/script.js:60 #: 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 +1167,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 +1259,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 +1607,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:27 +#: Engines/Wine/Verbs/dotnet45/script.js:83 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 +1721,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 +1739,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 +1776,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 +1874,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 +1925,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 @@ -2074,8 +2068,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:69 {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 From 30a1e372f167625f3ea6fedd275ac8a338c26160 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Tue, 10 Sep 2019 17:36:30 +0000 Subject: [PATCH 09/18] Update JSDoc --- docs/jsdoc/AdobeAir.html | 170 + docs/jsdoc/Amstream.html | 170 + docs/jsdoc/Atmlib.html | 170 + docs/jsdoc/Corefonts.html | 170 + docs/jsdoc/Crypt32.html | 170 + docs/jsdoc/D3DX10.html | 398 + docs/jsdoc/D3DX11.html | 398 + docs/jsdoc/D3DX9.html | 398 + docs/jsdoc/D3drm.html | 170 + docs/jsdoc/D9VK.html | 334 + docs/jsdoc/DXVK.html | 335 + docs/jsdoc/Devenum.html | 170 + docs/jsdoc/DotNET20.html | 170 + docs/jsdoc/DotNET20SP2.html | 170 + docs/jsdoc/DotNET40.html | 170 + docs/jsdoc/DotNET45.html | 170 + docs/jsdoc/DotNET452.html | 170 + docs/jsdoc/DotNET46.html | 170 + docs/jsdoc/DotNET461.html | 170 + docs/jsdoc/DotNET462.html | 170 + docs/jsdoc/DotNET472.html | 170 + ..._Wine_Engine_Implementation_script.js.html | 2 +- .../Engines_Wine_Engine_Object_script.js.html | 2 +- ...es_Wine_Plugins_DOS support_script.js.html | 2 +- ...Plugins_DirectDraw renderer_script.js.html | 2 +- ...Wine_Plugins_Font smoothing_script.js.html | 2 +- .../Engines_Wine_Plugins_GLSL_script.js.html | 2 +- ...Wine_Plugins_OpenGL version_script.js.html | 2 +- ...s_Wine_Plugins_UseTakeFocus_script.js.html | 2 +- ...ine_Plugins_Windows version_script.js.html | 2 +- .../Engines_Wine_Plugins_csmt_script.js.html | 2 +- .../Engines_Wine_Plugins_hdpi_script.js.html | 2 +- ...ngines_Wine_Plugins_managed_script.js.html | 2 +- ..._Plugins_native application_script.js.html | 2 +- ..._Wine_Plugins_nocrashdialog_script.js.html | 2 +- ...ngines_Wine_Plugins_regedit_script.js.html | 2 +- ...gines_Wine_Plugins_regsvr32_script.js.html | 2 +- ...s_Wine_Plugins_sound driver_script.js.html | 2 +- ...ine_Plugins_virtual desktop_script.js.html | 2 +- ...Wine_QuickScript_GoG Script_script.js.html | 13 +- ...ne_QuickScript_Quick Script_script.js.html | 2 +- ...ettings_DirectDraw renderer_script.js.html | 2 +- ...ine_Settings_Font smoothing_script.js.html | 2 +- .../Engines_Wine_Settings_GLSL_script.js.html | 2 +- ..._Wine_Settings_UseTakeFocus_script.js.html | 2 +- ...e_Settings_always offscreen_script.js.html | 2 +- .../Engines_Wine_Settings_hdpi_script.js.html | 2 +- ...ettings_mouse warp override_script.js.html | 2 +- ...Wine_Settings_multisampling_script.js.html | 2 +- ...gs_offscreen rendering mode_script.js.html | 2 +- ...ngs_render target lock mode_script.js.html | 2 +- ...ttings_strict draw ordering_script.js.html | 2 +- ..._Settings_video memory size_script.js.html | 2 +- ...gines_Wine_Shortcuts_Reader_script.js.html | 2 +- ...Engines_Wine_Shortcuts_Wine_script.js.html | 2 +- ...s_Wine_Tools_Configure Wine_script.js.html | 2 +- ...e_Tools_Kill Wine Processes_script.js.html | 2 +- ...ines_Wine_Tools_Reboot Wine_script.js.html | 2 +- ...ne_Tools_Repair Wine Prefix_script.js.html | 2 +- ..._Tools_Wine Registry Editor_script.js.html | 2 +- ...ine_Tools_Wine Task Manager_script.js.html | 2 +- ..._Tools_Wine Terminal Opener_script.js.html | 2 +- ...Wine_Tools_Wine Uninstaller_script.js.html | 2 +- ...ines_Wine_Tools_WineConsole_script.js.html | 2 +- .../Engines_Wine_Verbs_D9VK_script.js.html | 152 +- .../Engines_Wine_Verbs_DXVK_script.js.html | 215 +- .../Engines_Wine_Verbs_FAudio_script.js.html | 121 +- .../Engines_Wine_Verbs_PhysX_script.js.html | 52 +- ...es_Wine_Verbs_QuickTime 7.6_script.js.html | 67 +- ...ines_Wine_Verbs_Remove Mono_script.js.html | 67 +- .../Engines_Wine_Verbs_Tahoma_script.js.html | 84 +- .../Engines_Wine_Verbs_Uplay_script.js.html | 54 +- .../Engines_Wine_Verbs_VK9_script.js.html | 153 +- ..._Wine_Verbs_Windows XP SP 3_script.js.html | 88 +- ...Engines_Wine_Verbs_adobeair_script.js.html | 56 +- ...Engines_Wine_Verbs_amstream_script.js.html | 143 +- .../Engines_Wine_Verbs_atmlib_script.js.html | 84 +- ...ngines_Wine_Verbs_corefonts_script.js.html | 279 +- .../Engines_Wine_Verbs_crypt32_script.js.html | 46 +- .../Engines_Wine_Verbs_d3drm_script.js.html | 91 +- .../Engines_Wine_Verbs_d3dx10_script.js.html | 202 +- .../Engines_Wine_Verbs_d3dx11_script.js.html | 134 +- .../Engines_Wine_Verbs_d3dx9_script.js.html | 251 +- .../Engines_Wine_Verbs_devenum_script.js.html | 93 +- ...Engines_Wine_Verbs_dotnet20_script.js.html | 101 +- ...ines_Wine_Verbs_dotnet20sp2_script.js.html | 131 +- ...Engines_Wine_Verbs_dotnet40_script.js.html | 124 +- ...ngines_Wine_Verbs_dotnet452_script.js.html | 99 +- ...Engines_Wine_Verbs_dotnet45_script.js.html | 111 +- ...ngines_Wine_Verbs_dotnet461_script.js.html | 93 +- ...ngines_Wine_Verbs_dotnet462_script.js.html | 93 +- ...Engines_Wine_Verbs_dotnet46_script.js.html | 92 +- ...ngines_Wine_Verbs_dotnet472_script.js.html | 93 +- ...Engines_Wine_Verbs_gallium9_script.js.html | 159 +- .../Engines_Wine_Verbs_gdiplus_script.js.html | 67 +- .../Engines_Wine_Verbs_luna_script.js.html | 66 +- .../Engines_Wine_Verbs_mfc42_script.js.html | 93 +- .../Engines_Wine_Verbs_msls31_script.js.html | 64 +- ...Engines_Wine_Verbs_mspatcha_script.js.html | 99 +- .../Engines_Wine_Verbs_msxml3_script.js.html | 64 +- .../Engines_Wine_Verbs_msxml6_script.js.html | 103 +- .../Engines_Wine_Verbs_quartz_script.js.html | 96 +- .../Engines_Wine_Verbs_sandbox_script.js.html | 51 +- .../Engines_Wine_Verbs_secur32_script.js.html | 135 +- ...ngines_Wine_Verbs_vcrun2003_script.js.html | 59 +- ...ngines_Wine_Verbs_vcrun2005_script.js.html | 70 +- ...ngines_Wine_Verbs_vcrun2008_script.js.html | 92 +- ...ngines_Wine_Verbs_vcrun2010_script.js.html | 91 +- ...ngines_Wine_Verbs_vcrun2012_script.js.html | 93 +- ...ngines_Wine_Verbs_vcrun2013_script.js.html | 83 +- ...ngines_Wine_Verbs_vcrun2015_script.js.html | 120 +- ...ngines_Wine_Verbs_vcrun2017_script.js.html | 122 +- ...ngines_Wine_Verbs_vcrun6sp6_script.js.html | 85 +- ...ngines_Wine_Verbs_vulkanSDK_script.js.html | 122 +- .../Engines_Wine_Verbs_xact_script.js.html | 424 +- docs/jsdoc/FAudio.html | 334 + docs/jsdoc/GDIPlus.html | 170 + docs/jsdoc/Gallium9.html | 334 + docs/jsdoc/Luna.html | 170 + docs/jsdoc/Mfc42.html | 170 + docs/jsdoc/Msls31.html | 170 + docs/jsdoc/Mspatcha.html | 170 + docs/jsdoc/Msxml3.html | 170 + docs/jsdoc/Msxml6.html | 170 + docs/jsdoc/PhysX.html | 170 + docs/jsdoc/Quartz.html | 170 + docs/jsdoc/QuickTime76.html | 170 + docs/jsdoc/RemoveMono.html | 170 + docs/jsdoc/Sandbox.html | 170 + docs/jsdoc/Secur32.html | 170 + docs/jsdoc/Tahoma.html | 170 + docs/jsdoc/Uplay.html | 170 + ...nctions_Apps_PlainInstaller_script.js.html | 2 +- ...ls_Functions_Apps_Resources_script.js.html | 2 +- ...unctions_Filesystem_Extract_script.js.html | 2 +- ..._Functions_Filesystem_Files_script.js.html | 2 +- ...tils_Functions_Net_Download_script.js.html | 2 +- ...tils_Functions_Net_Resource_script.js.html | 2 +- ...ions_System_virtual desktop_script.js.html | 2 +- docs/jsdoc/VK9.html | 334 + docs/jsdoc/Vcrun2003.html | 170 + docs/jsdoc/Vcrun2005.html | 170 + docs/jsdoc/Vcrun2008.html | 170 + docs/jsdoc/Vcrun2010.html | 170 + docs/jsdoc/Vcrun2012.html | 170 + docs/jsdoc/Vcrun2013.html | 170 + docs/jsdoc/Vcrun2015.html | 170 + docs/jsdoc/Vcrun2017.html | 170 + docs/jsdoc/Vcrun6SP6.html | 170 + docs/jsdoc/VulkanSDK.html | 171 + docs/jsdoc/WindowsXPSP3.html | 333 + docs/jsdoc/Xact.html | 599 + docs/jsdoc/global.html | 2 +- docs/jsdoc/index.html | 2 +- docs/jsdoc/module.CabExtract.html | 2 +- docs/jsdoc/module.Checksum.html | 2 +- docs/jsdoc/module.Extractor.html | 2 +- docs/jsdoc/module.default.html | 537424 +-------------- 158 files changed, 31417 insertions(+), 522623 deletions(-) create mode 100644 docs/jsdoc/AdobeAir.html create mode 100644 docs/jsdoc/Amstream.html create mode 100644 docs/jsdoc/Atmlib.html create mode 100644 docs/jsdoc/Corefonts.html create mode 100644 docs/jsdoc/Crypt32.html create mode 100644 docs/jsdoc/D3DX10.html create mode 100644 docs/jsdoc/D3DX11.html create mode 100644 docs/jsdoc/D3DX9.html create mode 100644 docs/jsdoc/D3drm.html create mode 100644 docs/jsdoc/D9VK.html create mode 100644 docs/jsdoc/DXVK.html create mode 100644 docs/jsdoc/Devenum.html create mode 100644 docs/jsdoc/DotNET20.html create mode 100644 docs/jsdoc/DotNET20SP2.html create mode 100644 docs/jsdoc/DotNET40.html create mode 100644 docs/jsdoc/DotNET45.html create mode 100644 docs/jsdoc/DotNET452.html create mode 100644 docs/jsdoc/DotNET46.html create mode 100644 docs/jsdoc/DotNET461.html create mode 100644 docs/jsdoc/DotNET462.html create mode 100644 docs/jsdoc/DotNET472.html create mode 100644 docs/jsdoc/FAudio.html create mode 100644 docs/jsdoc/GDIPlus.html create mode 100644 docs/jsdoc/Gallium9.html create mode 100644 docs/jsdoc/Luna.html create mode 100644 docs/jsdoc/Mfc42.html create mode 100644 docs/jsdoc/Msls31.html create mode 100644 docs/jsdoc/Mspatcha.html create mode 100644 docs/jsdoc/Msxml3.html create mode 100644 docs/jsdoc/Msxml6.html create mode 100644 docs/jsdoc/PhysX.html create mode 100644 docs/jsdoc/Quartz.html create mode 100644 docs/jsdoc/QuickTime76.html create mode 100644 docs/jsdoc/RemoveMono.html create mode 100644 docs/jsdoc/Sandbox.html create mode 100644 docs/jsdoc/Secur32.html create mode 100644 docs/jsdoc/Tahoma.html create mode 100644 docs/jsdoc/Uplay.html create mode 100644 docs/jsdoc/VK9.html create mode 100644 docs/jsdoc/Vcrun2003.html create mode 100644 docs/jsdoc/Vcrun2005.html create mode 100644 docs/jsdoc/Vcrun2008.html create mode 100644 docs/jsdoc/Vcrun2010.html create mode 100644 docs/jsdoc/Vcrun2012.html create mode 100644 docs/jsdoc/Vcrun2013.html create mode 100644 docs/jsdoc/Vcrun2015.html create mode 100644 docs/jsdoc/Vcrun2017.html create mode 100644 docs/jsdoc/Vcrun6SP6.html create mode 100644 docs/jsdoc/VulkanSDK.html create mode 100644 docs/jsdoc/WindowsXPSP3.html create mode 100644 docs/jsdoc/Xact.html diff --git a/docs/jsdoc/AdobeAir.html b/docs/jsdoc/AdobeAir.html new file mode 100644 index 0000000000..d494480a60 --- /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..7360bba2f0 --- /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..ee4d2c1fe7 --- /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..52b86903c6 --- /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..4308fcd5cf --- /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..8604f4c82f --- /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..300827578b --- /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..8c42b4123c --- /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..b03935bc18 --- /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..57125ce9e2 --- /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..50a91758d7 --- /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..130d8c6834 --- /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..c04cf8cb12 --- /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..ae70fa8a1f --- /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..fecc48255c --- /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..cdc62407b7 --- /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..a0f49367e3 --- /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..78c78020ce --- /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..ff236a8334 --- /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..212ab01749 --- /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..428017c903 100644 --- a/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html +++ b/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html @@ -572,7 +572,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..9a97d82880 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..29a922ef94 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..2913895363 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..ed1cdd6822 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..a33fbd1fed 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..8bab51f125 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..68caa525e9 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..8f48db92a3 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..ac5623c472 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..d79239d066 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..52e420e6dd 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..9896e9dd28 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..72581e1002 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..3cfeeaf00e 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..d4a51c4137 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..24d3b493f7 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..198a9bcda0 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..ee9b33254d 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..d3e196454b 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..2b4d04b317 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..28b1e28df5 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..52e89226b4 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..8e0b186dc0 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..1ca83456b0 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..ed41b41960 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..9580b6e2fe 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..d77b68d3b9 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..cd181a2928 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..57ebdc3c91 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..2ed365a866 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..d060fcc695 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..39aa66e158 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..719a38601a 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..a1e930cce6 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..2cce056bba 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..972297b259 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..488b883790 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..1770bb8d23 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..10bcb1e354 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..d9adbfd730 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..eaf5766f81 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..73d8e48276 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..04c5a59247 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html @@ -28,125 +28,178 @@

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();
+
+        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 (this.wine.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 +210,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 b1e374d858..aba0aed7f2 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.08";
+
+    /**
+     * 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());
+    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");
 
-        const wine = new Wine();
-        wine.prefix(container);
-        wine.wizard(wizard);
         // 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..81b71270fd 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..0d4a1edffc 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..0b996f1ea9 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..6bb6c48125 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..fa3486f8e7 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..302114935b 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..01e944dde9 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..1505fc661d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html @@ -29,55 +29,51 @@

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() {
+        // 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(this.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 +84,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..56126fcb4c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html @@ -28,80 +28,109 @@

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 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 (this.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 +141,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..175ffae77c 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..27283d1df6 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..9533ace76c 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..eaad96fc35 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..8faed06455 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,115 @@

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 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 (this.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 +181,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..c5c784a5c1 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,83 @@

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 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 (this.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 +149,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..37424623e8 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,140 @@

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 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 (this.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 +206,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..86514b06d6 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..5e40001fd2 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..5137ed4121 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..dba65a02c2 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..a21c051331 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..3205959063 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html @@ -29,79 +29,98 @@

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();
+
+        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"
+                )
+            );
+        }
 
-    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 +131,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..04822f066f 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..ab5e773207 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..1807862ae5 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..84947af7da 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..c6c07a8434 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
+        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(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..dceb396dbf 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html @@ -28,53 +28,60 @@

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 { cp } = 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();
 
-    this.overrideDLL()
-        .set("native", ["gdiplus"])
-        .do();
+        const setupFile = new Resource()
+            .wizard(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();
 
-    cp(this.prefixDirectory() + "/drive_c/Tmp/asms/10/msft/windows/gdiplus/gdiplus.dll", this.system32directory());
+        wizard.wait(tr("Please wait while {0} is installed...", "GDI+"));
 
-    return this;
-};
+        this.wine.run(setupFile, ["/extract:C:\\Tmp", "/q"], null, true, true);
 
-/**
- * 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;
 
@@ -85,7 +92,7 @@

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


diff --git a/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html index e5b423969d..2f87085674 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..605eddcb4c 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..6ff94bc4eb 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..65e7601bc6 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..5cd3d113cf 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..3fc505c3c7 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..d045825aa3 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..131d4113da 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..bd19cba357 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html @@ -28,78 +28,101 @@

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 system64directory = this.wine.system64directory();
+
+        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 (this.architecture() == "amd64") {
+            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 +133,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..ef88051d7c 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..ef6bd1cb08 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..62c265fe2d 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..11e0a66d5f 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..371b24cb12 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..2e41d633d9 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..eb45c414de 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..062672af2e 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..f901d1bb2e 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..1a063f5758 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..2aaa01be5a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html @@ -31,255 +31,289 @@

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 system64directory = this.wine.system64directory(); + + 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 (this.architecture() == "amd64") { + //---------------------------------------------------------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 +324,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..7aa0bf5357 --- /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..11b42d583c --- /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/Gallium9.html b/docs/jsdoc/Gallium9.html new file mode 100644 index 0000000000..5cd39861a2 --- /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..937844b4ac --- /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..81531f3c68 --- /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..0dc2553497 --- /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..0f621ca943 --- /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..60a62fb126 --- /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..51bb634d15 --- /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..8524ba84ff --- /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..37d815d941 --- /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..e2263d3ae0 --- /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..2fc73374b5 --- /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..b48e3d0b4f --- /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..297c37255d --- /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..66124c3af8 --- /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..a0135fb81f --- /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..5add0b7e1b 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..c30eb2e7b7 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..e286332ad8 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..21ef7bfdae 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..3b0aa0ab64 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..b53e6f2272 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..589ce28550 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..39803e17f9 --- /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..92f2bbc836 --- /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..b4816cf232 --- /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..0f017f6eaf --- /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..291f5c7fff --- /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..f2b385bac4 --- /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..99c00555ae --- /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..6ac5cc0aa6 --- /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..c6306ad34e --- /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..6a552f33cd --- /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..991521e969 --- /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..31662c48fd --- /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..8860061a2f --- /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..19c7416c11 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..f9f7b92769 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..d30cd2e3b5 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..98339f3097 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..59edcd94ef 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..371419cacf 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 enable/disable UseTakeFocus
@@ -93,7 +93,7 @@

new defaultSource:
@@ -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,6 +3490,116 @@
Returns:
+

get() → {String}

+ + + + + + +
+ Gets the content of the downloaded file +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The content of downloaded file +
+ + + +
+
+ Type +
+
+ +String + + +
+
+ + + + + + + + + + + + +

get(resourceName) → {Resource}

@@ -3759,7 +3869,117 @@
Returns:
-

get() → {String}

+

getContainer() → {string}

+ + + + + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The container name +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

gogSetupFileName(setupFileName) → {GogScript}

@@ -3767,7 +3987,7 @@

get - Gets the content of the downloaded file + Sets one setup file name so that the script can fetch it from gog.com @@ -3778,6 +3998,55 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupFileName + + + + + +string + + + + + + + + + + The setup file name + + + + + + + @@ -3811,7 +4080,7 @@

getSource:
@@ -3840,7 +4109,7 @@
Returns:
- The content of downloaded file + This
@@ -3851,7 +4120,7 @@
Returns:
-String +GogScript
@@ -3869,7 +4138,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -3877,7 +4146,7 @@

getContai
- Returns the name of the container belonging to a shortcut + Sets the setup file(s) name so that the script can fetch it from gog.com
@@ -3888,6 +4157,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileNames + + +Array.<string> + + + + The setup file name(s)
+ + @@ -3921,7 +4239,7 @@

getContai
Source:
@@ -3950,7 +4268,7 @@

Returns:
- The container name + This
@@ -3961,7 +4279,7 @@
Returns:
-string +GogScript
@@ -3979,7 +4297,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

headers(headers) → {Downloader}

@@ -3987,7 +4305,7 @@

gogSe
- Sets one setup file name so that the script can fetch it from gog.com + Sets the http headers
@@ -4023,13 +4341,13 @@

Parameters:
- setupFileName + headers -string +Object @@ -4039,7 +4357,7 @@
Parameters:
- The setup file name + The http headers @@ -4080,7 +4398,7 @@
Parameters:
Source:
@@ -4109,7 +4427,7 @@
Returns:
- This + The Downloader object
@@ -4120,7 +4438,7 @@
Returns:
-GogScript +Downloader
@@ -4138,7 +4456,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

json() → {any}

@@ -4146,7 +4464,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Gets the content of the downloaded file and returns it as a JSON value
@@ -4157,53 +4475,114 @@

gogS -

Parameters:
+ + + + +
+ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + - + +
Returns:
+
+ The json value +
+ + +
+
+ Type +
+
+any -
- - - + + + - - - - - + - + - - + +

kill() → {Wine}

+ - -
NameTypeDescription
setupFileNames - - -Array.<string> - - The setup file name(s)
+ + + +
+ kill wine server +
+ + + + + + + @@ -4239,7 +4618,7 @@
Parameters:
Source:
@@ -4267,10 +4646,6 @@
Parameters:
Returns:
-
- This -
-
@@ -4279,7 +4654,7 @@
Returns:
-GogScript +Wine
@@ -4297,7 +4672,7 @@
Returns:
-

headers(headers) → {Downloader}

+

loginToGog(setupWizard) → {GogScript}

@@ -4305,7 +4680,8 @@

headers - Sets the http headers + 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 @@ -4341,13 +4717,13 @@
Parameters:
- headers + setupWizard -Object +SetupWizard @@ -4357,7 +4733,7 @@
Parameters:
- The http headers + The setupWizard to use @@ -4398,7 +4774,7 @@
Parameters:
Source:
@@ -4427,7 +4803,7 @@
Returns:
- The Downloader object + This
@@ -4438,7 +4814,7 @@
Returns:
-Downloader +GogScript
@@ -4456,7 +4832,7 @@
Returns:
-

json() → {any}

+

message(message) → {Downloader}

@@ -4464,7 +4840,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + Sets the download message text @@ -4475,6 +4851,55 @@

json + + + + Name + + + Type + + + + + + Description + + + + + + + + + message + + + + + +string + + + + + + + + + + The download message + + + + + + + @@ -4508,7 +4933,7 @@

jsonSource:
@@ -4537,7 +4962,7 @@
Returns:
- The json value + The Downloader object
@@ -4548,7 +4973,7 @@
Returns:
-any +Downloader
@@ -4566,7 +4991,7 @@
Returns:
-

kill() → {Wine}

+

miniature(miniatureopt)

@@ -4574,7 +4999,7 @@

kill - kill wine server + get/set miniature (for the installation and the shortcut) @@ -4585,6 +5010,67 @@

kill + + + + Name + + + Type + + + Attributes + + + + + Description + + + + + + + + + miniature + + + + + +URI + + + + + + + + + <optional>
+ + + + + + + + + + + path to the miniature file + + + + + + + @@ -4618,7 +5104,7 @@

killSource:
@@ -4643,24 +5129,6 @@

killWine - - - -

- - @@ -4672,7 +5140,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

miniature(miniature) → {WineShortcut}

@@ -4680,8 +5148,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 miniature for the shortcut
@@ -4717,13 +5184,16 @@

Parameters:
- setupWizard + miniature -SetupWizard +Array.<string> +| + +URI @@ -4733,7 +5203,7 @@
Parameters:
- The setupWizard to use + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -4774,7 +5244,7 @@
Parameters:
Source:
@@ -4803,7 +5273,7 @@
Returns:
- This + The WineShortcut object
@@ -4814,7 +5284,7 @@
Returns:
-GogScript +WineShortcut
@@ -4832,7 +5302,7 @@
Returns:
-

message(message) → {Downloader}

+

name(name) → {WineShortcut}

@@ -4840,7 +5310,7 @@

message - Sets the download message text + Sets the shortcut name @@ -4876,7 +5346,7 @@
Parameters:
- message + name @@ -4892,7 +5362,7 @@
Parameters:
- The download message + The shortcut name @@ -4933,7 +5403,7 @@
Parameters:
Source:
@@ -4962,7 +5432,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -4973,7 +5443,7 @@
Returns:
-Downloader +WineShortcut
@@ -4991,7 +5461,7 @@
Returns:
-

miniature(miniatureopt)

+

name(name) → {Resource}

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

miniature - get/set miniature (for the installation and the shortcut) + Sets the resource name @@ -5023,8 +5493,6 @@
Parameters:
Type - Attributes - @@ -5037,33 +5505,23 @@
Parameters:
- miniature + name -URI +string - - - <optional>
- - - - - - - - path to the miniature file + The name of the resource @@ -5104,7 +5562,7 @@
Parameters:
Source:
@@ -5129,6 +5587,28 @@
Parameters:
+
Returns:
+ + +
+ The Resource object +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + @@ -5140,7 +5620,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

of(shortcut) → {void}

@@ -5148,7 +5628,7 @@

miniature - Sets the miniature for the shortcut + Sets shortcut @@ -5184,16 +5664,13 @@
Parameters:
- miniature + shortcut -Array.<string> -| - -URI +string @@ -5203,7 +5680,7 @@
Parameters:
- An array which specifies the application of which the miniature shall be used or URI of the miniature + shortcut @@ -5244,7 +5721,7 @@
Parameters:
Source:
@@ -5272,10 +5749,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -5284,7 +5757,7 @@
Returns:
-WineShortcut +void
@@ -5302,7 +5775,7 @@
Returns:
-

name(name) → {WineShortcut}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -5310,7 +5783,7 @@

name - Sets the shortcut name + Specifies if the download shall be executed only if a newer version is available @@ -5346,13 +5819,13 @@
Parameters:
- name + onlyIfUpdateAvailable -string +boolean @@ -5362,7 +5835,7 @@
Parameters:
- The shortcut name + true the download shall be executed only if a newer version is available @@ -5403,7 +5876,7 @@
Parameters:
Source:
@@ -5432,7 +5905,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -5443,7 +5916,7 @@
Returns:
-WineShortcut +Downloader
@@ -5461,17 +5934,13 @@
Returns:
-

name(name) → {Resource}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the resource name -
- @@ -5493,6 +5962,8 @@
Parameters:
Type + Attributes + @@ -5505,7 +5976,7 @@
Parameters:
- name + prefix @@ -5518,10 +5989,119 @@
Parameters:
+ + + <optional>
+ + + + + - The name of the resource + + + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -5562,7 +6142,7 @@
Parameters:
Source:
@@ -5590,10 +6170,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -5602,7 +6178,10 @@
Returns:
-Resource +string +| + +Wine
@@ -5620,7 +6199,7 @@
Returns:
-

of(shortcut) → {void}

+

prefix(prefix) → {WineShortcut}

@@ -5628,7 +6207,7 @@

of - Sets shortcut + Sets the shortcut prefix @@ -5664,7 +6243,7 @@
Parameters:
- shortcut + prefix @@ -5680,7 +6259,7 @@
Parameters:
- shortcut + The shortcut prefix @@ -5721,7 +6300,7 @@
Parameters:
Source:
@@ -5749,6 +6328,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -5757,7 +6340,7 @@
Returns:
-void +WineShortcut
@@ -5775,7 +6358,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefixDirectory() → {string}

@@ -5783,7 +6366,7 @@

- Specifies if the download shall be executed only if a newer version is available + returns prefix directory
@@ -5794,53 +6377,106 @@

-

Parameters:
+ + + + +
+ - - - - - - + - + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + +
Returns:
+ +
+
+ Type +
+
+string -
- - - + + + - - - - - + - + - - + +

programFiles() → {string}

+ - -
NameTypeDescription
onlyIfUpdateAvailable - - -boolean - - true the download shall be executed only if a newer version is available
+ + + + + + + + + @@ -5876,7 +6512,7 @@
Parameters:
Source:
@@ -5905,7 +6541,7 @@
Returns:
- The Downloader object + name of "Program Files"
@@ -5916,7 +6552,7 @@
Returns:
-Downloader +string
@@ -5934,7 +6570,7 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

run(userArguments) → {void}

@@ -5942,7 +6578,7 @@

prefix - Sets the shortcut prefix + Runs a shortcut with the given user arguments @@ -5978,13 +6614,13 @@
Parameters:
- prefix + userArguments -string +array @@ -5994,7 +6630,7 @@
Parameters:
- The shortcut prefix + The user arguments @@ -6035,7 +6671,7 @@
Parameters:
Source:
@@ -6063,10 +6699,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -6075,7 +6707,7 @@
Returns:
-WineShortcut +void
@@ -6093,7 +6725,7 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

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

@@ -6125,6 +6757,8 @@
Parameters:
+ Default + Description @@ -6135,7 +6769,7 @@
Parameters:
- prefix + executable @@ -6150,8 +6784,6 @@
Parameters:
- <optional>
- @@ -6160,6 +6792,10 @@
Parameters:
+ + + + @@ -6168,13 +6804,13 @@
Parameters:
- distribution + args -string +array @@ -6193,6 +6829,12 @@
Parameters:
+ + + [] + + + @@ -6201,7 +6843,7 @@
Parameters:
- architecture + workingDirectory @@ -6226,6 +6868,12 @@
Parameters:
+ + + working container + + + @@ -6234,13 +6882,13 @@
Parameters:
- version + captureOutput -string +boolean @@ -6259,224 +6907,97 @@
Parameters:
+ + + false + + + - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -string -| - -Wine - - -
-
- - - - - - - - + + + wait - - - -

prefixDirectory() → {string}

- - - - - - -
- returns prefix directory -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - + + + +boolean - - + + - + + + + <optional>
+ - + - -
Source:
-
- + + + - + + + + false + + + - + + -
- - - - + + + userData + + + + +map + + + + + + <optional>
+ + - - - - -
Returns:
- - - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - + + - + + + + empty + + + - -

programFiles() → {string}

- + + - - - - - - - - - + + @@ -6512,7 +7033,7 @@

programFi
Source:
@@ -6541,7 +7062,7 @@

Returns:
- name of "Program Files" + output
@@ -6552,7 +7073,7 @@
Returns:
-string +String
@@ -6570,7 +7091,7 @@
Returns:
-

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

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -6686,84 +7207,6 @@
Parameters:
- - - workingDirectory - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - working container - - - - - - - - - - - - captureOutput - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - - - false - - - - - - - - - wait @@ -6802,45 +7245,6 @@
Parameters:
- - - - userData - - - - - -map - - - - - - - - - <optional>
- - - - - - - - - - - - empty - - - - - - - - @@ -6878,7 +7282,7 @@
Parameters:
Source:
@@ -6903,28 +7307,6 @@
Parameters:
-
Returns:
- - -
- output -
- - - -
-
- Type -
-
- -String - - -
-
- - @@ -6936,7 +7318,7 @@
Returns:
-

run(userArguments) → {void}

+ @@ -6944,7 +7326,7 @@

run - Runs a shortcut with the given user arguments + Sets the executable which shall be used @@ -6980,13 +7362,13 @@
Parameters:
- userArguments + search -array +string @@ -6996,7 +7378,7 @@
Parameters:
- The user arguments + The executable name @@ -7037,7 +7419,7 @@
Parameters:
Source:
@@ -7065,6 +7447,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -7073,7 +7459,7 @@
Returns:
-void +WineShortcut
@@ -7091,162 +7477,23 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

stop() → {void}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
wait - - -boolean +
+ Stops the running shortcut +
- -
- - <optional>
- - - -
- - false - -
@@ -7282,7 +7529,7 @@
Parameters:
Source:
@@ -7307,83 +7554,48 @@
Parameters:
+
Returns:
+ - - +
+
+ Type +
+
- +void - - - - +
+
-
- Sets the executable which shall be used -
- - - - - - - -
Parameters:
- - - - - - - - - - - + - + - - - + +

system32directory() → {string}

+ - - - - - - - - - - - - -
NameTypeDescription
search - - -string - - The executable name
+ @@ -7419,7 +7631,7 @@
Parameters:
Source:
@@ -7448,7 +7660,7 @@
Returns:
- The WineShortcut object + system32 directory
@@ -7459,7 +7671,7 @@
Returns:
-WineShortcut +string
@@ -7477,17 +7689,13 @@
Returns:
-

stop() → {void}

+

system64directory() → {string}

-
- Stops the running shortcut -
- @@ -7529,7 +7737,7 @@

stopSource:
@@ -7557,6 +7765,10 @@

stop + system64 directory + +
@@ -7565,7 +7777,7 @@
Returns:
-void +string
@@ -7583,125 +7795,72 @@
Returns:
-

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - +

to(localDestination) → {Downloader}

- - - +
+ Sets the download destination +
- - - - - - -
Source:
-
- - - +
Parameters:
-
- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- system32 directory -
- + -
-
- Type -
-
-string + -
-
+ + + + + + + + + - - + - -

system64directory() → {string}

- + + - - - - - - - - - + +
NameTypeDescription
localDestination + + +string + + The destination of the download. If it is a directory, the file will be placed inside
@@ -7737,7 +7896,7 @@

syst
Source:
@@ -7766,7 +7925,7 @@

Returns:
- system64 directory + The Downloader object
@@ -7777,7 +7936,7 @@
Returns:
-string +Downloader
@@ -7795,7 +7954,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

trustLevel(trustLevel) → {WineShortcut}

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

to - Sets the download destination + Sets the trust level @@ -7839,7 +7998,7 @@
Parameters:
- localDestination + trustLevel @@ -7855,7 +8014,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The trust level @@ -7896,7 +8055,7 @@
Parameters:
Source:
@@ -7925,7 +8084,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -7936,7 +8095,7 @@
Returns:
-Downloader +WineShortcut
@@ -8113,7 +8272,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

type(type) → {WineShortcut}

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

trustLevel<
- Sets the trust level + Sets the shortcut type
@@ -8157,7 +8316,7 @@

Parameters:
- trustLevel + type @@ -8173,7 +8332,7 @@
Parameters:
- The trust level + The shortcut type @@ -8214,7 +8373,7 @@
Parameters:
Source:
@@ -8272,7 +8431,7 @@
Returns:
-

type(type) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -8280,7 +8439,7 @@

type - Sets the shortcut type + uninstall application @@ -8316,7 +8475,7 @@
Parameters:
- type + name @@ -8332,7 +8491,7 @@
Parameters:
- The shortcut type + of the application which shall be uninstalled @@ -8373,7 +8532,7 @@
Parameters:
Source:
@@ -8402,7 +8561,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -8413,7 +8572,7 @@
Returns:
-WineShortcut +bool
@@ -8431,7 +8590,7 @@
Returns:
-

uninstall(name) → {bool}

+

uninstall() → {void}

@@ -8439,7 +8598,7 @@

uninstall - uninstall application + Uninstalls the shortcut @@ -8450,55 +8609,6 @@

uninstallParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
name - - -string - - - - of the application which shall be uninstalled
- - @@ -8532,7 +8642,7 @@
Parameters:
Source:
@@ -8560,10 +8670,6 @@
Parameters:
Returns:
-
- true if an application has been uninstalled, false otherwise -
-
@@ -8572,7 +8678,7 @@
Returns:
-bool +void
@@ -8590,7 +8696,7 @@
Returns:
-

uninstall() → {void}

+

url(url) → {Resource}

@@ -8598,7 +8704,7 @@

uninstall - Uninstalls the shortcut + Sets the resource URL @@ -8609,6 +8715,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
+ + @@ -8642,7 +8797,7 @@

uninstallSource:
@@ -8670,6 +8825,10 @@

uninstallReturns:

+
+ The Resource object +
+
@@ -8678,7 +8837,7 @@
Returns:
-void +Resource
@@ -8855,7 +9014,7 @@
Returns:
-

url(url) → {Resource}

+

wait() → {Wine}

@@ -8863,7 +9022,7 @@

url - Sets the resource URL + wait until wineserver finishes @@ -8874,55 +9033,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -8956,7 +9066,7 @@
Parameters:
Source:
@@ -8984,10 +9094,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -8996,7 +9102,7 @@
Returns:
-Resource +Wine
@@ -9014,16 +9120,13 @@
Returns:
-

wait() → {Wine}

+

winepath(pathopt) → {String}

-
- wait until wineserver finishes -
@@ -9032,175 +9135,72 @@

wait + + + + Name + + Type + + Attributes + + -
+ Description + + + + + + path + + + + + +String + + + + + + + + + <optional>
+ + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - - - <optional>
- - - - - -
- - - - - - -
+ + + + + + + + +
@@ -10079,7 +10079,7 @@
Returns:

default()

-
Resource class
+
setting to set always offscreen
@@ -10142,7 +10142,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -13558,60 +13558,11 @@

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 content of downloaded file
@@ -13680,7 +13631,7 @@
Returns:
-Resource +String
@@ -13698,7 +13649,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -13750,7 +13750,7 @@

getSource:
@@ -13779,7 +13779,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -13790,7 +13790,7 @@
Returns:
-string +Resource
@@ -13808,7 +13808,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -13889,7 +13889,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -13900,7 +13900,7 @@
Returns:
-String +string
@@ -15983,165 +15983,6 @@
Returns:
-

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}

@@ -16407,7 +16248,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -16415,7 +16256,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -16426,11 +16267,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +17140,7 @@
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)

+

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
@@ -18745,7 +18745,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -18753,7 +18753,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -18846,7 +18846,7 @@
Parameters:
Source:
@@ -18875,7 +18875,7 @@
Returns:
- The Downloader object + The Resource object
@@ -18886,7 +18886,7 @@
Returns:
-Downloader +Resource
@@ -18904,7 +18904,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -18912,7 +18912,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -19005,7 +19005,7 @@
Parameters:
Source:
@@ -19034,7 +19034,7 @@
Returns:
- The Resource object + The Downloader object
@@ -19045,7 +19045,7 @@
Returns:
-Resource +Downloader
@@ -20128,7 +20128,7 @@
Returns:

default()

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

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -23607,60 +23607,11 @@

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 content of downloaded file
@@ -23729,7 +23680,7 @@
Returns:
-Resource +String
@@ -23747,7 +23698,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -23799,7 +23799,7 @@

getSource:
@@ -23828,7 +23828,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -23839,7 +23839,7 @@
Returns:
-string +Resource
@@ -23857,7 +23857,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -23938,7 +23938,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -23949,7 +23949,7 @@
Returns:
-String +string
@@ -26032,165 +26032,6 @@
Returns:
-

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}

@@ -26456,7 +26297,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -26464,7 +26305,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -26475,11 +26316,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +27189,7 @@
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)

+

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
@@ -28794,7 +28794,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -28802,7 +28802,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -28895,7 +28895,7 @@
Parameters:
Source:
@@ -28924,7 +28924,7 @@
Returns:
- The Downloader object + The Resource object
@@ -28935,7 +28935,7 @@
Returns:
-Downloader +Resource
@@ -28953,7 +28953,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -28961,7 +28961,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -29054,7 +29054,7 @@
Parameters:
Source:
@@ -29083,7 +29083,7 @@
Returns:
- The Resource object + The Downloader object
@@ -29094,7 +29094,7 @@
Returns:
-Resource +Downloader
@@ -30177,7 +30177,7 @@
Returns:

default()

-
Wine engine
+
Setting to configure mouse warp override
@@ -30240,7 +30240,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -33656,60 +33656,11 @@

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 content of downloaded file
@@ -33778,7 +33729,7 @@
Returns:
-Resource +String
@@ -33796,7 +33747,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -33848,7 +33848,7 @@

getSource:
@@ -33877,7 +33877,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -33888,7 +33888,7 @@
Returns:
-string +Resource
@@ -33906,7 +33906,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -33987,7 +33987,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -33998,7 +33998,7 @@
Returns:
-String +string
@@ -36081,165 +36081,6 @@
Returns:
-

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}

@@ -36505,7 +36346,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -36513,7 +36354,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -36524,11 +36365,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +37238,7 @@
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)

+

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
@@ -38843,7 +38843,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -38851,7 +38851,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -38944,7 +38944,7 @@
Parameters:
Source:
@@ -38973,7 +38973,7 @@
Returns:
- The Downloader object + The Resource object
@@ -38984,7 +38984,7 @@
Returns:
-Downloader +Resource
@@ -39002,7 +39002,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -39010,7 +39010,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -39103,7 +39103,7 @@
Parameters:
Source:
@@ -39132,7 +39132,7 @@
Returns:
- The Resource object + The Downloader object
@@ -39143,7 +39143,7 @@
Returns:
-Resource +Downloader
@@ -40226,7 +40226,7 @@
Returns:

default()

-
AppResource class
+
Setting to configure multisampling
@@ -40289,7 +40289,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -43705,60 +43705,11 @@

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 content of downloaded file
@@ -43827,7 +43778,7 @@
Returns:
-Resource +String
@@ -43845,7 +43796,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -43897,7 +43897,7 @@

getSource:
@@ -43926,7 +43926,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -43937,7 +43937,7 @@
Returns:
-string +Resource
@@ -43955,7 +43955,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -44036,7 +44036,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -44047,7 +44047,7 @@
Returns:
-String +string
@@ -46130,165 +46130,6 @@
Returns:
-

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}

@@ -46554,7 +46395,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -46562,7 +46403,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -46573,11 +46414,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +47287,7 @@
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)

+

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
@@ -48892,7 +48892,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -48900,7 +48900,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -48993,7 +48993,7 @@
Parameters:
Source:
@@ -49022,7 +49022,7 @@
Returns:
- The Downloader object + The Resource object
@@ -49033,7 +49033,7 @@
Returns:
-Downloader +Resource
@@ -49051,7 +49051,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -49059,7 +49059,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -49152,7 +49152,7 @@
Parameters:
Source:
@@ -49181,7 +49181,7 @@
Returns:
- The Resource object + The Downloader object
@@ -49192,7 +49192,7 @@
Returns:
-Resource +Downloader
@@ -50275,7 +50275,7 @@
Returns:

default()

-
A "plain" script installer that is fully configurable.
+
Setting to set the offscreen rendering mode
@@ -50338,7 +50338,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -53754,60 +53754,11 @@

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 content of downloaded file
@@ -53876,7 +53827,7 @@
Returns:
-Resource +String
@@ -53894,7 +53845,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -53946,7 +53946,7 @@

getSource:
@@ -53975,7 +53975,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -53986,7 +53986,7 @@
Returns:
-string +Resource
@@ -54004,7 +54004,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -54085,7 +54085,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -54096,7 +54096,7 @@
Returns:
-String +string
@@ -56179,165 +56179,6 @@
Returns:
-

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}

@@ -56603,7 +56444,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -56611,7 +56452,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -56622,11 +56463,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +57336,7 @@
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)

+

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
@@ -58941,7 +58941,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -58949,7 +58949,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -59042,7 +59042,7 @@
Parameters:
Source:
@@ -59071,7 +59071,7 @@
Returns:
- The Downloader object + The Resource object
@@ -59082,7 +59082,7 @@
Returns:
-Downloader +Resource
@@ -59100,7 +59100,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -59108,7 +59108,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -59201,7 +59201,7 @@
Parameters:
Source:
@@ -59230,7 +59230,7 @@
Returns:
- The Resource object + The Downloader object
@@ -59241,7 +59241,7 @@
Returns:
-Resource +Downloader
@@ -60324,7 +60324,7 @@
Returns:

default()

-
Verb to install xact
+
Setting to set the render target lock mode
@@ -60387,7 +60387,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -63803,60 +63803,11 @@

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 content of downloaded file
@@ -63925,7 +63876,7 @@
Returns:
-Resource +String
@@ -63943,7 +63894,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -63995,7 +63995,7 @@

getSource:
@@ -64024,7 +64024,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -64035,7 +64035,7 @@
Returns:
-string +Resource
@@ -64053,7 +64053,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -64134,7 +64134,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -64145,7 +64145,7 @@
Returns:
-String +string
@@ -66228,165 +66228,6 @@
Returns:
-

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}

@@ -66652,7 +66493,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -66660,7 +66501,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -66671,11 +66512,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +67385,7 @@
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)

+

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
@@ -68990,7 +68990,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -68998,7 +68998,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -69091,7 +69091,7 @@
Parameters:
Source:
@@ -69120,7 +69120,7 @@
Returns:
- The Downloader object + The Resource object
@@ -69131,7 +69131,7 @@
Returns:
-Downloader +Resource
@@ -69149,7 +69149,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -69157,7 +69157,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -69250,7 +69250,7 @@
Parameters:
Source:
@@ -69279,7 +69279,7 @@
Returns:
- The Resource object + The Downloader object
@@ -69290,7 +69290,7 @@
Returns:
-Resource +Downloader
@@ -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 configure strict draw ordering
@@ -70436,7 +70436,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -73852,60 +73852,11 @@

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 content of downloaded file
@@ -73974,7 +73925,7 @@
Returns:
-Resource +String
@@ -73992,7 +73943,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -74000,7 +73951,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -74044,7 +74044,7 @@

getSource:
@@ -74073,7 +74073,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -74084,7 +74084,7 @@
Returns:
-string +Resource
@@ -74102,7 +74102,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -74110,7 +74110,7 @@

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

getSource:
@@ -74183,7 +74183,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -74194,7 +74194,7 @@
Returns:
-String +string
@@ -76277,165 +76277,6 @@
Returns:
-

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}

@@ -76701,7 +76542,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -76709,7 +76550,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -76720,11 +76561,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +77434,7 @@
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)

+

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
@@ -79039,7 +79039,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -79047,7 +79047,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -79140,7 +79140,7 @@
Parameters:
Source:
@@ -79169,7 +79169,7 @@
Returns:
- The Downloader object + The Resource object
@@ -79180,7 +79180,7 @@
Returns:
-Downloader +Resource
@@ -79198,7 +79198,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -79206,7 +79206,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -79299,7 +79299,7 @@
Parameters:
Source:
@@ -79328,7 +79328,7 @@
Returns:
- The Resource object + The Downloader object
@@ -79339,7 +79339,7 @@
Returns:
-Resource +Downloader
@@ -80422,7 +80422,7 @@
Returns:

default()

-
Verb to install vcrun6sp6
+
Setting to set the video memory size
@@ -80485,7 +80485,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -83901,60 +83901,11 @@

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 content of downloaded file
@@ -84023,7 +83974,7 @@
Returns:
-Resource +String
@@ -84041,7 +83992,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -84049,7 +84000,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -84093,7 +84093,7 @@

getSource:
@@ -84122,7 +84122,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -84133,7 +84133,7 @@
Returns:
-string +Resource
@@ -84151,7 +84151,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -84159,7 +84159,7 @@

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

getSource:
@@ -84232,7 +84232,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -84243,7 +84243,7 @@
Returns:
-String +string
@@ -86326,165 +86326,6 @@
Returns:
-

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}

@@ -86750,7 +86591,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -86758,7 +86599,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -86769,11 +86610,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +87483,7 @@
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)

+

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
@@ -89088,7 +89088,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -89096,7 +89096,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -89189,7 +89189,7 @@
Parameters:
Source:
@@ -89218,7 +89218,7 @@
Returns:
- The Downloader object + The Resource object
@@ -89229,7 +89229,7 @@
Returns:
-Downloader +Resource
@@ -89247,7 +89247,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -89255,7 +89255,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -89348,7 +89348,7 @@
Parameters:
Source:
@@ -89377,7 +89377,7 @@
Returns:
- The Resource object + The Downloader object
@@ -89388,7 +89388,7 @@
Returns:
-Resource +Downloader
@@ -90471,7 +90471,7 @@
Returns:

default()

-
Verb to install vcrun2017
+
Wine main prototype
@@ -90534,7 +90534,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -93950,60 +93950,11 @@

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 content of downloaded file
@@ -94072,7 +94023,7 @@
Returns:
-Resource +String
@@ -94090,7 +94041,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -94098,7 +94049,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -94142,7 +94142,7 @@

getSource:
@@ -94171,7 +94171,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -94182,7 +94182,7 @@
Returns:
-string +Resource
@@ -94200,7 +94200,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -94208,7 +94208,7 @@

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

getSource:
@@ -94281,7 +94281,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -94292,7 +94292,7 @@
Returns:
-String +string
@@ -96375,165 +96375,6 @@
Returns:
-

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}

@@ -96799,7 +96640,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -96807,7 +96648,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -96818,11 +96659,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +97532,7 @@
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)

+

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
@@ -99137,7 +99137,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -99145,7 +99145,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -99238,7 +99238,7 @@
Parameters:
Source:
@@ -99267,7 +99267,7 @@
Returns:
- The Downloader object + The Resource object
@@ -99278,7 +99278,7 @@
Returns:
-Downloader +Resource
@@ -99296,7 +99296,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -99304,7 +99304,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -99397,7 +99397,7 @@
Parameters:
Source:
@@ -99426,7 +99426,7 @@
Returns:
- The Resource object + The Downloader object
@@ -99437,7 +99437,7 @@
Returns:
-Resource +Downloader
@@ -100520,7 +100520,7 @@
Returns:

default()

-
Verb to install vcrun2015
+
AppResource class
@@ -100583,7 +100583,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -103999,60 +103999,11 @@

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 content of downloaded file
@@ -104121,7 +104072,7 @@
Returns:
-Resource +String
@@ -104139,7 +104090,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -104147,7 +104098,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -104191,7 +104191,7 @@

getSource:
@@ -104220,7 +104220,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -104231,7 +104231,7 @@
Returns:
-string +Resource
@@ -104249,7 +104249,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -104257,7 +104257,7 @@

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

getSource:
@@ -104330,7 +104330,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -104341,7 +104341,7 @@
Returns:
-String +string
@@ -106424,165 +106424,6 @@
Returns:
-

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}

@@ -106848,7 +106689,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -106856,7 +106697,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -106867,11 +106708,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +107581,7 @@
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)

+

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
@@ -109186,7 +109186,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -109194,7 +109194,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -109287,7 +109287,7 @@
Parameters:
Source:
@@ -109316,7 +109316,7 @@
Returns:
- The Downloader object + The Resource object
@@ -109327,7 +109327,7 @@
Returns:
-Downloader +Resource
@@ -109345,7 +109345,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -109353,7 +109353,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -109446,7 +109446,7 @@
Parameters:
Source:
@@ -109475,7 +109475,7 @@
Returns:
- The Resource object + The Downloader object
@@ -109486,7 +109486,7 @@
Returns:
-Resource +Downloader
@@ -110569,7 +110569,7 @@
Returns:

default()

-
Verb to install vcrun2013
+
A "plain" script installer that is fully configurable.
@@ -110632,7 +110632,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -114048,60 +114048,11 @@

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 content of downloaded file
@@ -114170,7 +114121,7 @@
Returns:
-Resource +String
@@ -114188,7 +114139,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -114196,7 +114147,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -114240,7 +114240,7 @@

getSource:
@@ -114269,7 +114269,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -114280,7 +114280,7 @@
Returns:
-string +Resource
@@ -114298,7 +114298,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -114306,7 +114306,7 @@

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

getSource:
@@ -114379,7 +114379,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -114390,7 +114390,7 @@
Returns:
-String +string
@@ -116473,165 +116473,6 @@
Returns:
-

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}

@@ -116897,7 +116738,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -116905,7 +116746,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -116916,11 +116757,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +117630,7 @@
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)

+

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
@@ -119235,7 +119235,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -119243,7 +119243,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -119336,7 +119336,7 @@
Parameters:
Source:
@@ -119365,7 +119365,7 @@
Returns:
- The Downloader object + The Resource object
@@ -119376,7 +119376,7 @@
Returns:
-Downloader +Resource
@@ -119394,7 +119394,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -119402,7 +119402,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -119495,7 +119495,7 @@
Parameters:
Source:
@@ -119524,7 +119524,7 @@
Returns:
- The Resource object + The Downloader object
@@ -119535,7 +119535,7 @@
Returns:
-Resource +Downloader
@@ -120618,7 +120618,7 @@
Returns:

default()

-
Verb to install vcrun2012
+
Wine engine
@@ -120681,7 +120681,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -124097,60 +124097,11 @@

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 content of downloaded file
@@ -124219,7 +124170,7 @@
Returns:
-Resource +String
@@ -124237,7 +124188,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -124245,7 +124196,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -124289,7 +124289,7 @@

getSource:
@@ -124318,7 +124318,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -124329,7 +124329,7 @@
Returns:
-string +Resource
@@ -124347,7 +124347,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -124355,7 +124355,7 @@

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

getSource:
@@ -124428,7 +124428,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -124439,7 +124439,7 @@
Returns:
-String +string
@@ -126522,165 +126522,6 @@
Returns:
-

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}

@@ -126946,7 +126787,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -126954,7 +126795,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -126965,11 +126806,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +127679,7 @@
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)

+

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
@@ -129284,7 +129284,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -129292,7 +129292,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -129385,7 +129385,7 @@
Parameters:
Source:
@@ -129414,7 +129414,7 @@
Returns:
- The Downloader object + The Resource object
@@ -129425,7 +129425,7 @@
Returns:
-Downloader +Resource
@@ -129443,7 +129443,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -129451,7 +129451,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -129544,7 +129544,7 @@
Parameters:
Source:
@@ -129573,7 +129573,7 @@
Returns:
- The Resource object + The Downloader object
@@ -129584,7 +129584,7 @@
Returns:
-Resource +Downloader
@@ -130667,7 +130667,7 @@
Returns:

default()

-
Verb to install vcrun2010
+
Downloader class
@@ -130730,7 +130730,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -134146,60 +134146,11 @@

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 content of downloaded file
@@ -134268,7 +134219,7 @@
Returns:
-Resource +String
@@ -134286,7 +134237,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -134294,7 +134245,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -134338,7 +134338,7 @@

getSource:
@@ -134367,7 +134367,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -134378,7 +134378,7 @@
Returns:
-string +Resource
@@ -134396,7 +134396,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -134404,7 +134404,7 @@

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

getSource:
@@ -134477,7 +134477,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -134488,7 +134488,7 @@
Returns:
-String +string
@@ -136571,165 +136571,6 @@
Returns:
-

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}

@@ -136995,7 +136836,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -137003,7 +136844,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -137014,11 +136855,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +137728,7 @@
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)

+

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
@@ -139333,7 +139333,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -139341,7 +139341,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -139434,7 +139434,7 @@
Parameters:
Source:
@@ -139463,7 +139463,7 @@
Returns:
- The Downloader object + The Resource object
@@ -139474,7 +139474,7 @@
Returns:
-Downloader +Resource
@@ -139492,7 +139492,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -139500,7 +139500,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -139593,7 +139593,7 @@
Parameters:
Source:
@@ -139622,7 +139622,7 @@
Returns:
- The Resource object + The Downloader object
@@ -139633,7 +139633,7 @@
Returns:
-Resource +Downloader
@@ -140716,7 +140716,7 @@
Returns:

default()

-
Verb to install vcrun2008
+
WineShortcut prototype
@@ -140779,7 +140779,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -144195,60 +144195,11 @@

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 content of downloaded file
@@ -144317,7 +144268,7 @@
Returns:
-Resource +String
@@ -144335,7 +144286,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -144343,7 +144294,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -144387,7 +144387,7 @@

getSource:
@@ -144416,7 +144416,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -144427,7 +144427,7 @@
Returns:
-string +Resource
@@ -144445,7 +144445,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -144453,7 +144453,7 @@

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

getSource:
@@ -144526,7 +144526,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -144537,7 +144537,7 @@
Returns:
-String +string
@@ -146620,165 +146620,6 @@
Returns:
-

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}

@@ -147044,7 +146885,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -147052,7 +146893,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -147063,11 +146904,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -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,162 +147777,7 @@
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)

+

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
@@ -149382,7 +149382,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -149390,7 +149390,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -149483,7 +149483,7 @@
Parameters:
Source:
@@ -149512,7 +149512,7 @@
Returns:
- The Downloader object + The Resource object
@@ -149523,7 +149523,7 @@
Returns:
-Downloader +Resource
@@ -149541,7 +149541,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -149549,7 +149549,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -149642,7 +149642,7 @@
Parameters:
Source:
@@ -149671,7 +149671,7 @@
Returns:
- The Resource object + The Downloader object
@@ -149682,7 +149682,7 @@
Returns:
-Resource +Downloader
@@ -150765,7 +150765,7 @@
Returns:

default()

-
Verb to install vcrun2005
+
Resource class
@@ -150828,7 +150828,7 @@

new defaultSource:
@@ -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 + Gets the content of the downloaded file @@ -154244,60 +154244,11 @@

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 content of downloaded file
@@ -154366,7 +154317,7 @@
Returns:
-Resource +String
@@ -154384,7 +154335,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -154392,7 +154343,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -154436,7 +154436,7 @@

getSource:
@@ -154465,7 +154465,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -154476,7 +154476,7 @@
Returns:
-string +Resource
@@ -154494,7 +154494,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -154502,7 +154502,7 @@

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

getSource:
@@ -154575,7 +154575,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -154586,7 +154586,7 @@
Returns:
-String +string
@@ -156669,165 +156669,6 @@
Returns:
-

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}

@@ -157093,7 +156934,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -157101,7 +156942,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -157112,11 +156953,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -157305,6 +157305,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}

@@ -157671,162 +157826,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -158689,7 +158689,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -158697,7 +158697,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -158749,7 +158749,7 @@
Parameters:
- + The trust level @@ -158790,7 +158790,7 @@
Parameters:
Source:
@@ -158819,7 +158819,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -158830,7 +158830,7 @@
Returns:
-QuickScript +WineShortcut
@@ -158848,7 +158848,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -158856,7 +158856,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -158908,7 +158908,7 @@
Parameters:
- The trust level + @@ -158949,7 +158949,7 @@
Parameters:
Source:
@@ -158978,7 +158978,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -158989,7 +158989,7 @@
Returns:
-WineShortcut +QuickScript
@@ -159431,7 +159431,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -159439,7 +159439,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -159532,7 +159532,7 @@
Parameters:
Source:
@@ -159561,7 +159561,7 @@
Returns:
- The Downloader object + The Resource object
@@ -159572,7 +159572,7 @@
Returns:
-Downloader +Resource
@@ -159590,7 +159590,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -159598,7 +159598,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -159691,7 +159691,7 @@
Parameters:
Source:
@@ -159720,7 +159720,7 @@
Returns:
- The Resource object + The Downloader object
@@ -159731,7 +159731,7 @@
Returns:
-Resource +Downloader
@@ -160814,7 +160814,7 @@
Returns:

default()

-
Verb to install vcrun2003
+
setting to set the DirectDraw renderer
@@ -160877,7 +160877,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -163015,7 +163015,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -163095,7 +163099,7 @@
Returns:
-void +Wine
@@ -163113,7 +163117,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -163121,7 +163125,7 @@

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

createSource:
@@ -163193,10 +163197,6 @@

createReturns:

-
- The Wine object -
-
@@ -163205,7 +163205,7 @@
Returns:
-Wine +void
@@ -163700,7 +163700,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -163708,7 +163708,7 @@

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

Parameters:
- variables + The environment variables @@ -163801,7 +163801,7 @@
Parameters:
Source:
@@ -163830,7 +163830,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -163841,7 +163841,7 @@
Returns:
-QuickScript +WineShortcut
@@ -163859,7 +163859,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -163867,7 +163867,7 @@

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

Parameters:
- The environment variables + variables @@ -163960,7 +163960,7 @@
Parameters:
Source:
@@ -163989,7 +163989,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -164000,7 +164000,7 @@
Returns:
-WineShortcut +QuickScript
@@ -164274,7 +164274,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -164282,7 +164282,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -164293,60 +164293,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -164375,7 +164326,7 @@
Parameters:
Source:
@@ -164404,7 +164355,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -164415,7 +164366,7 @@
Returns:
-Resource +String
@@ -164433,7 +164384,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -164441,7 +164392,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -164485,7 +164485,7 @@

getSource:
@@ -164514,7 +164514,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -164525,7 +164525,7 @@
Returns:
-string +Resource
@@ -164543,7 +164543,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -164551,7 +164551,7 @@

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

getSource:
@@ -164624,7 +164624,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -164635,7 +164635,7 @@
Returns:
-String +string
@@ -166718,165 +166718,6 @@
Returns:
-

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}

@@ -167142,7 +166983,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -167150,7 +166991,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -167161,11 +167002,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -167354,6 +167354,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}

@@ -167720,162 +167875,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -168738,7 +168738,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -168746,7 +168746,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -168798,7 +168798,7 @@
Parameters:
- + The trust level @@ -168839,7 +168839,7 @@
Parameters:
Source:
@@ -168868,7 +168868,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -168879,7 +168879,7 @@
Returns:
-QuickScript +WineShortcut
@@ -168897,7 +168897,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -168905,7 +168905,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -168957,7 +168957,7 @@
Parameters:
- The trust level + @@ -168998,7 +168998,7 @@
Parameters:
Source:
@@ -169027,7 +169027,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -169038,7 +169038,7 @@
Returns:
-WineShortcut +QuickScript
@@ -169480,7 +169480,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -169488,7 +169488,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -169581,7 +169581,7 @@
Parameters:
Source:
@@ -169610,7 +169610,7 @@
Returns:
- The Downloader object + The Resource object
@@ -169621,7 +169621,7 @@
Returns:
-Downloader +Resource
@@ -169639,7 +169639,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -169647,7 +169647,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -169740,7 +169740,7 @@
Parameters:
Source:
@@ -169769,7 +169769,7 @@
Returns:
- The Resource object + The Downloader object
@@ -169780,7 +169780,7 @@
Returns:
-Resource +Downloader
@@ -170863,7 +170863,7 @@
Returns:

default()

-
Verb to install secur32
+
Setting to set the Fonts Smoothing
@@ -170926,7 +170926,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -173064,7 +173064,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -173144,7 +173148,7 @@
Returns:
-void +Wine
@@ -173162,7 +173166,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -173170,7 +173174,7 @@

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

createSource:
@@ -173242,10 +173246,6 @@

createReturns:

-
- The Wine object -
-
@@ -173254,7 +173254,7 @@
Returns:
-Wine +void
@@ -173749,7 +173749,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -173757,7 +173757,7 @@

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

Parameters:
- variables + The environment variables @@ -173850,7 +173850,7 @@
Parameters:
Source:
@@ -173879,7 +173879,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -173890,7 +173890,7 @@
Returns:
-QuickScript +WineShortcut
@@ -173908,7 +173908,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -173916,7 +173916,7 @@

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

Parameters:
- The environment variables + variables @@ -174009,7 +174009,7 @@
Parameters:
Source:
@@ -174038,7 +174038,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -174049,7 +174049,7 @@
Returns:
-WineShortcut +QuickScript
@@ -174323,7 +174323,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -174331,7 +174331,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -174342,60 +174342,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -174424,7 +174375,7 @@
Parameters:
Source:
@@ -174453,7 +174404,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -174464,7 +174415,7 @@
Returns:
-Resource +String
@@ -174482,7 +174433,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -174490,7 +174441,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -174534,7 +174534,7 @@

getSource:
@@ -174563,7 +174563,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -174574,7 +174574,7 @@
Returns:
-string +Resource
@@ -174592,7 +174592,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -174600,7 +174600,7 @@

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

getSource:
@@ -174673,7 +174673,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -174684,7 +174684,7 @@
Returns:
-String +string
@@ -176767,165 +176767,6 @@
Returns:
-

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}

@@ -177191,7 +177032,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -177199,7 +177040,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -177210,11 +177051,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -177403,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}

@@ -177769,162 +177924,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -178787,7 +178787,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -178795,7 +178795,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -178847,7 +178847,7 @@
Parameters:
- + The trust level @@ -178888,7 +178888,7 @@
Parameters:
Source:
@@ -178917,7 +178917,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -178928,7 +178928,7 @@
Returns:
-QuickScript +WineShortcut
@@ -178946,7 +178946,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -178954,7 +178954,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -179006,7 +179006,7 @@
Parameters:
- The trust level + @@ -179047,7 +179047,7 @@
Parameters:
Source:
@@ -179076,7 +179076,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -179087,7 +179087,7 @@
Returns:
-WineShortcut +QuickScript
@@ -179529,7 +179529,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -179537,7 +179537,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -179630,7 +179630,7 @@
Parameters:
Source:
@@ -179659,7 +179659,7 @@
Returns:
- The Downloader object + The Resource object
@@ -179670,7 +179670,7 @@
Returns:
-Downloader +Resource
@@ -179688,7 +179688,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -179696,7 +179696,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -179789,7 +179789,7 @@
Parameters:
Source:
@@ -179818,7 +179818,7 @@
Returns:
- The Resource object + The Downloader object
@@ -179829,7 +179829,7 @@
Returns:
-Resource +Downloader
@@ -180912,7 +180912,7 @@
Returns:

default()

-
Verb to install a sandbox
+
Setting to enable/disable GLSL
@@ -180975,7 +180975,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -183113,7 +183113,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -183193,7 +183197,7 @@
Returns:
-void +Wine
@@ -183211,7 +183215,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -183219,7 +183223,7 @@

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

createSource:
@@ -183291,10 +183295,6 @@

createReturns:

-
- The Wine object -
-
@@ -183303,7 +183303,7 @@
Returns:
-Wine +void
@@ -183798,7 +183798,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -183806,7 +183806,7 @@

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

Parameters:
- variables + The environment variables @@ -183899,7 +183899,7 @@
Parameters:
Source:
@@ -183928,7 +183928,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -183939,7 +183939,7 @@
Returns:
-QuickScript +WineShortcut
@@ -183957,7 +183957,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -183965,7 +183965,7 @@

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

Parameters:
- The environment variables + variables @@ -184058,7 +184058,7 @@
Parameters:
Source:
@@ -184087,7 +184087,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -184098,7 +184098,7 @@
Returns:
-WineShortcut +QuickScript
@@ -184372,7 +184372,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -184380,7 +184380,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -184391,60 +184391,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -184473,7 +184424,7 @@
Parameters:
Source:
@@ -184502,7 +184453,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -184513,7 +184464,7 @@
Returns:
-Resource +String
@@ -184531,7 +184482,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -184539,7 +184490,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -184583,7 +184583,7 @@

getSource:
@@ -184612,7 +184612,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -184623,7 +184623,7 @@
Returns:
-string +Resource
@@ -184641,7 +184641,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -184649,7 +184649,7 @@

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

getSource:
@@ -184722,7 +184722,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -184733,7 +184733,7 @@
Returns:
-String +string
@@ -186816,165 +186816,6 @@
Returns:
-

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}

@@ -187240,7 +187081,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -187248,7 +187089,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -187259,11 +187100,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -187452,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}

@@ -187818,162 +187973,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -188836,7 +188836,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -188844,7 +188844,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -188896,7 +188896,7 @@
Parameters:
- + The trust level @@ -188937,7 +188937,7 @@
Parameters:
Source:
@@ -188966,7 +188966,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -188977,7 +188977,7 @@
Returns:
-QuickScript +WineShortcut
@@ -188995,7 +188995,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -189003,7 +189003,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -189055,7 +189055,7 @@
Parameters:
- The trust level + @@ -189096,7 +189096,7 @@
Parameters:
Source:
@@ -189125,7 +189125,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -189136,7 +189136,7 @@
Returns:
-WineShortcut +QuickScript
@@ -189578,7 +189578,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -189586,7 +189586,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -189679,7 +189679,7 @@
Parameters:
Source:
@@ -189708,7 +189708,7 @@
Returns:
- The Downloader object + The Resource object
@@ -189719,7 +189719,7 @@
Returns:
-Downloader +Resource
@@ -189737,7 +189737,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -189745,7 +189745,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -189838,7 +189838,7 @@
Parameters:
Source:
@@ -189867,7 +189867,7 @@
Returns:
- The Resource object + The Downloader object
@@ -189878,7 +189878,7 @@
Returns:
-Resource +Downloader
@@ -190961,7 +190961,7 @@
Returns:

default()

-
Verb to install quartz
+
Tool to open a Wine console
@@ -191024,7 +191024,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -193162,7 +193162,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -193242,7 +193246,7 @@
Returns:
-void +Wine
@@ -193260,7 +193264,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -193268,7 +193272,7 @@

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

createSource:
@@ -193340,10 +193344,6 @@

createReturns:

-
- The Wine object -
-
@@ -193352,7 +193352,7 @@
Returns:
-Wine +void
@@ -193847,7 +193847,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -193855,7 +193855,7 @@

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

Parameters:
- variables + The environment variables @@ -193948,7 +193948,7 @@
Parameters:
Source:
@@ -193977,7 +193977,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -193988,7 +193988,7 @@
Returns:
-QuickScript +WineShortcut
@@ -194006,7 +194006,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -194014,7 +194014,7 @@

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

Parameters:
- The environment variables + variables @@ -194107,7 +194107,7 @@
Parameters:
Source:
@@ -194136,7 +194136,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -194147,7 +194147,7 @@
Returns:
-WineShortcut +QuickScript
@@ -194421,7 +194421,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -194429,7 +194429,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -194440,60 +194440,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -194522,7 +194473,7 @@
Parameters:
Source:
@@ -194551,7 +194502,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -194562,7 +194513,7 @@
Returns:
-Resource +String
@@ -194580,7 +194531,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -194588,7 +194539,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -194632,7 +194632,7 @@

getSource:
@@ -194661,7 +194661,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -194672,7 +194672,7 @@
Returns:
-string +Resource
@@ -194690,7 +194690,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -194698,7 +194698,7 @@

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

getSource:
@@ -194771,7 +194771,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -194782,7 +194782,7 @@
Returns:
-String +string
@@ -196865,165 +196865,6 @@
Returns:
-

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}

@@ -197289,7 +197130,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -197297,7 +197138,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -197308,11 +197149,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -197501,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}

@@ -197867,162 +198022,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -198885,7 +198885,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -198893,7 +198893,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -198945,7 +198945,7 @@
Parameters:
- + The trust level @@ -198986,7 +198986,7 @@
Parameters:
Source:
@@ -199015,7 +199015,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -199026,7 +199026,7 @@
Returns:
-QuickScript +WineShortcut
@@ -199044,7 +199044,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -199052,7 +199052,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -199104,7 +199104,7 @@
Parameters:
- The trust level + @@ -199145,7 +199145,7 @@
Parameters:
Source:
@@ -199174,7 +199174,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -199185,7 +199185,7 @@
Returns:
-WineShortcut +QuickScript
@@ -199627,7 +199627,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -199635,7 +199635,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -199728,7 +199728,7 @@
Parameters:
Source:
@@ -199757,7 +199757,7 @@
Returns:
- The Downloader object + The Resource object
@@ -199768,7 +199768,7 @@
Returns:
-Downloader +Resource
@@ -199786,7 +199786,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -199794,7 +199794,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -199887,7 +199887,7 @@
Parameters:
Source:
@@ -199916,7 +199916,7 @@
Returns:
- The Resource object + The Downloader object
@@ -199927,7 +199927,7 @@
Returns:
-Resource +Downloader
@@ -201010,7 +201010,7 @@
Returns:

default()

-
Verb to install msxml6
+
Tool to uninstall Wine
@@ -201073,7 +201073,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -203211,7 +203211,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -203291,7 +203295,7 @@
Returns:
-void +Wine
@@ -203309,7 +203313,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -203317,7 +203321,7 @@

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

createSource:
@@ -203389,10 +203393,6 @@

createReturns:

-
- The Wine object -
-
@@ -203401,7 +203401,7 @@
Returns:
-Wine +void
@@ -203896,7 +203896,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -203904,7 +203904,7 @@

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

Parameters:
- variables + The environment variables @@ -203997,7 +203997,7 @@
Parameters:
Source:
@@ -204026,7 +204026,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -204037,7 +204037,7 @@
Returns:
-QuickScript +WineShortcut
@@ -204055,7 +204055,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -204063,7 +204063,7 @@

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

Parameters:
- The environment variables + variables @@ -204156,7 +204156,7 @@
Parameters:
Source:
@@ -204185,7 +204185,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -204196,7 +204196,7 @@
Returns:
-WineShortcut +QuickScript
@@ -204470,7 +204470,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -204478,7 +204478,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -204489,60 +204489,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -204571,7 +204522,7 @@
Parameters:
Source:
@@ -204600,7 +204551,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -204611,7 +204562,7 @@
Returns:
-Resource +String
@@ -204629,7 +204580,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -204637,7 +204588,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -204681,7 +204681,7 @@

getSource:
@@ -204710,7 +204710,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -204721,7 +204721,7 @@
Returns:
-string +Resource
@@ -204739,7 +204739,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -204747,7 +204747,7 @@

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

getSource:
@@ -204820,7 +204820,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -204831,7 +204831,7 @@
Returns:
-String +string
@@ -206914,165 +206914,6 @@
Returns:
-

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}

@@ -207338,7 +207179,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -207346,7 +207187,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -207357,11 +207198,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -207550,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}

@@ -207916,162 +208071,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -208934,7 +208934,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -208942,7 +208942,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -208994,7 +208994,7 @@
Parameters:
- + The trust level @@ -209035,7 +209035,7 @@
Parameters:
Source:
@@ -209064,7 +209064,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -209075,7 +209075,7 @@
Returns:
-QuickScript +WineShortcut
@@ -209093,7 +209093,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -209101,7 +209101,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -209153,7 +209153,7 @@
Parameters:
- The trust level + @@ -209194,7 +209194,7 @@
Parameters:
Source:
@@ -209223,7 +209223,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -209234,7 +209234,7 @@
Returns:
-WineShortcut +QuickScript
@@ -209676,7 +209676,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -209684,7 +209684,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -209777,7 +209777,7 @@
Parameters:
Source:
@@ -209806,7 +209806,7 @@
Returns:
- The Downloader object + The Resource object
@@ -209817,7 +209817,7 @@
Returns:
-Downloader +Resource
@@ -209835,7 +209835,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -209843,7 +209843,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -209936,7 +209936,7 @@
Parameters:
Source:
@@ -209965,7 +209965,7 @@
Returns:
- The Resource object + The Downloader object
@@ -209976,7 +209976,7 @@
Returns:
-Resource +Downloader
@@ -211059,7 +211059,7 @@
Returns:

default()

-
Verb to install msxml3
+
Tool to open a terminal in a Wine prefix
@@ -211122,7 +211122,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -213260,7 +213260,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -213340,7 +213344,7 @@
Returns:
-void +Wine
@@ -213358,7 +213362,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -213366,7 +213370,7 @@

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

createSource:
@@ -213438,10 +213442,6 @@

createReturns:

-
- The Wine object -
-
@@ -213450,7 +213450,7 @@
Returns:
-Wine +void
@@ -213945,7 +213945,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -213953,7 +213953,7 @@

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

Parameters:
- variables + The environment variables @@ -214046,7 +214046,7 @@
Parameters:
Source:
@@ -214075,7 +214075,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -214086,7 +214086,7 @@
Returns:
-QuickScript +WineShortcut
@@ -214104,7 +214104,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -214112,7 +214112,7 @@

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

Parameters:
- The environment variables + variables @@ -214205,7 +214205,7 @@
Parameters:
Source:
@@ -214234,7 +214234,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -214245,7 +214245,7 @@
Returns:
-WineShortcut +QuickScript
@@ -214519,7 +214519,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -214527,7 +214527,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -214538,60 +214538,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -214620,7 +214571,7 @@
Parameters:
Source:
@@ -214649,7 +214600,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -214660,7 +214611,7 @@
Returns:
-Resource +String
@@ -214678,7 +214629,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -214686,7 +214637,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -214730,7 +214730,7 @@

getSource:
@@ -214759,7 +214759,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -214770,7 +214770,7 @@
Returns:
-string +Resource
@@ -214788,7 +214788,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -214796,7 +214796,7 @@

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

getSource:
@@ -214869,7 +214869,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -214880,7 +214880,7 @@
Returns:
-String +string
@@ -216963,165 +216963,6 @@
Returns:
-

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}

@@ -217387,7 +217228,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -217395,7 +217236,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -217406,11 +217247,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -217599,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}

@@ -217965,162 +218120,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -218983,7 +218983,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -218991,7 +218991,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -219043,7 +219043,7 @@
Parameters:
- + The trust level @@ -219084,7 +219084,7 @@
Parameters:
Source:
@@ -219113,7 +219113,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -219124,7 +219124,7 @@
Returns:
-QuickScript +WineShortcut
@@ -219142,7 +219142,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -219150,7 +219150,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -219202,7 +219202,7 @@
Parameters:
- The trust level + @@ -219243,7 +219243,7 @@
Parameters:
Source:
@@ -219272,7 +219272,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -219283,7 +219283,7 @@
Returns:
-WineShortcut +QuickScript
@@ -219725,7 +219725,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -219733,7 +219733,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -219826,7 +219826,7 @@
Parameters:
Source:
@@ -219855,7 +219855,7 @@
Returns:
- The Downloader object + The Resource object
@@ -219866,7 +219866,7 @@
Returns:
-Downloader +Resource
@@ -219884,7 +219884,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -219892,7 +219892,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -219985,7 +219985,7 @@
Parameters:
Source:
@@ -220014,7 +220014,7 @@
Returns:
- The Resource object + The Downloader object
@@ -220025,7 +220025,7 @@
Returns:
-Resource +Downloader
@@ -221108,7 +221108,7 @@
Returns:

default()

-
Verb to install mspatcha
+
Tool to open the Wine task manager
@@ -221171,7 +221171,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -223309,7 +223309,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -223389,7 +223393,7 @@
Returns:
-void +Wine
@@ -223407,7 +223411,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -223415,7 +223419,7 @@

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

createSource:
@@ -223487,10 +223491,6 @@

createReturns:

-
- The Wine object -
-
@@ -223499,7 +223499,7 @@
Returns:
-Wine +void
@@ -223994,7 +223994,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -224002,7 +224002,7 @@

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

Parameters:
- variables + The environment variables @@ -224095,7 +224095,7 @@
Parameters:
Source:
@@ -224124,7 +224124,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -224135,7 +224135,7 @@
Returns:
-QuickScript +WineShortcut
@@ -224153,7 +224153,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -224161,7 +224161,7 @@

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

Parameters:
- The environment variables + variables @@ -224254,7 +224254,7 @@
Parameters:
Source:
@@ -224283,7 +224283,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -224294,7 +224294,7 @@
Returns:
-WineShortcut +QuickScript
@@ -224568,7 +224568,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -224576,7 +224576,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -224587,60 +224587,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -224669,7 +224620,7 @@
Parameters:
Source:
@@ -224698,7 +224649,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -224709,7 +224660,7 @@
Returns:
-Resource +String
@@ -224727,7 +224678,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -224735,7 +224686,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -224779,7 +224779,7 @@

getSource:
@@ -224808,7 +224808,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -224819,7 +224819,7 @@
Returns:
-string +Resource
@@ -224837,7 +224837,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -224845,7 +224845,7 @@

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

getSource:
@@ -224918,7 +224918,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -224929,7 +224929,7 @@
Returns:
-String +string
@@ -227012,165 +227012,6 @@
Returns:
-

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}

@@ -227436,7 +227277,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -227444,7 +227285,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -227455,11 +227296,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -227648,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}

@@ -228014,162 +228169,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -229032,7 +229032,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -229040,7 +229040,7 @@

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

Parameters:
- trustlevel + trustLevel @@ -229092,7 +229092,7 @@
Parameters:
- + The trust level @@ -229133,7 +229133,7 @@
Parameters:
Source:
@@ -229162,7 +229162,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -229173,7 +229173,7 @@
Returns:
-QuickScript +WineShortcut
@@ -229191,7 +229191,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -229199,7 +229199,7 @@

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

Parameters:
- trustLevel + trustlevel @@ -229251,7 +229251,7 @@
Parameters:
- The trust level + @@ -229292,7 +229292,7 @@
Parameters:
Source:
@@ -229321,7 +229321,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -229332,7 +229332,7 @@
Returns:
-WineShortcut +QuickScript
@@ -229774,7 +229774,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -229782,7 +229782,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -229875,7 +229875,7 @@
Parameters:
Source:
@@ -229904,7 +229904,7 @@
Returns:
- The Downloader object + The Resource object
@@ -229915,7 +229915,7 @@
Returns:
-Downloader +Resource
@@ -229933,7 +229933,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -229941,7 +229941,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -230034,7 +230034,7 @@
Parameters:
Source:
@@ -230063,7 +230063,7 @@
Returns:
- The Resource object + The Downloader object
@@ -230074,7 +230074,7 @@
Returns:
-Resource +Downloader
@@ -231157,7 +231157,7 @@
Returns:

default()

-
Verb to install msls31.dll
+
Tool to open the Wine registry editor
@@ -231220,7 +231220,7 @@

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

create() → {void}

+

create() → {Wine}

@@ -233358,7 +233358,7 @@

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

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

createReturns:

+
+ The Wine object +
+
@@ -233438,7 +233442,7 @@
Returns:
-void +Wine
@@ -233456,7 +233460,7 @@
Returns:
-

create() → {Wine}

+

create() → {void}

@@ -233464,7 +233468,7 @@

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

createSource:
@@ -233536,10 +233540,6 @@

createReturns:

-
- The Wine object -
-
@@ -233548,7 +233548,7 @@
Returns:
-Wine +void
@@ -234043,7 +234043,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

environment(environment) → {WineShortcut}

@@ -234051,7 +234051,7 @@

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

Parameters:
- variables + The environment variables @@ -234144,7 +234144,7 @@
Parameters:
Source:
@@ -234173,7 +234173,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -234184,7 +234184,7 @@
Returns:
-QuickScript +WineShortcut
@@ -234202,7 +234202,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

environment(environment) → {QuickScript}

@@ -234210,7 +234210,7 @@

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

Parameters:
- The environment variables + variables @@ -234303,7 +234303,7 @@
Parameters:
Source:
@@ -234332,7 +234332,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -234343,7 +234343,7 @@
Returns:
-WineShortcut +QuickScript
@@ -234617,7 +234617,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -234625,7 +234625,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -234636,60 +234636,11 @@

get - - - - Name - - Type - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - - - - - -
+
@@ -234718,7 +234669,7 @@
Parameters:
Source:
@@ -234747,7 +234698,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -234758,7 +234709,7 @@
Returns:
-Resource +String
@@ -234776,7 +234727,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -234784,7 +234735,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -234828,7 +234828,7 @@

getSource:
@@ -234857,7 +234857,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -234868,7 +234868,7 @@
Returns:
-string +Resource
@@ -234886,7 +234886,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -234894,7 +234894,7 @@

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

getSource:
@@ -234967,7 +234967,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -234978,7 +234978,7 @@
Returns:
-String +string
@@ -237061,165 +237061,6 @@
Returns:
-

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}

@@ -237485,7 +237326,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -237493,7 +237334,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -237504,11 +237345,170 @@

prefix +

Parameters:
+ + + + + + + + + -
+ + +
+ + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + + +

prefixDirectory() → {string}

+ + + + + + +
+ returns prefix directory +
+ + + + + + + + + + + + + +
@@ -237697,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}

@@ -238063,162 +238218,7 @@
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)

+

runInsidePrefix(executable, argsopt, waitopt)

@@ -238656,501806 +238656,7 @@

stopSource:
- - - - - - - -

- - - - - - - - - - - - - - - -
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:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 a terminal in 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 uninstall 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 open a Wine console
- - -
- -
-
- - - - -

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 VK9
- - -
- -
-
- - - - -

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 D9VK
- - -
- -
-
- - - - -

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 Uplay
- - -
- -
-
- - - - -

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 DXVK
- - -
- -
-
- - - - -

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 the Tahoma font
- - -
- -
-
- - - - -

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:
-
@@ -740483,10 +238684,6 @@
Parameters:
Returns:
-
- output -
-
@@ -740495,7 +238692,7 @@
Returns:
-String +void
@@ -740513,16 +238710,13 @@
Returns:
-

run(userArguments) → {void}

+

system32directory() → {string}

-
- Runs a shortcut with the given user arguments -
@@ -740532,53 +238726,109 @@

run + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + + + + + + + + + - + + + + + + + +
Returns:
+
+ system32 directory +
+ + +
+
+ Type +
+
+string -
- - - + + + - - - - - + - + - - + +

system64directory() → {string}

+ - -
NameTypeDescription
userArguments - - -array - - The user arguments
+ + + + + + + + + @@ -740614,7 +238864,7 @@
Parameters:
Source:
@@ -740642,6 +238892,10 @@
Parameters:
Returns:
+
+ system64 directory +
+
@@ -740650,7 +238904,7 @@
Returns:
-void +string
@@ -740668,13 +238922,17 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+

to(localDestination) → {Downloader}

+
+ Sets the download destination +
+ @@ -740696,12 +238954,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -740712,7 +238966,7 @@
Parameters:
- executable + localDestination @@ -740725,100 +238979,10 @@
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - args - - - - - -array - - - - - - - - - <optional>
- - - - - - - - - - - - [] - - - - - - - - - - - - wait - - - - - -boolean - - - - - - - - - <optional>
- - - - - - - - - - false - - - - + The destination of the download. If it is a directory, the file will be placed inside @@ -740859,7 +239023,7 @@
Parameters:
Source:
@@ -740884,6 +239048,28 @@
Parameters:
+
Returns:
+ + +
+ The Downloader object +
+ + + +
+
+ Type +
+
+ +Downloader + + +
+
+ + @@ -740895,7 +239081,7 @@
Parameters:
- +

trustLevel(trustLevel) → {WineShortcut}

@@ -740903,7 +239089,7 @@
- - - - - - - - - - - - - - - -
Returns:
+ + + + + + -
-
- Type -
-
-void + -
-
+ + + + + + + + + - - + - -

system32directory() → {string}

- + + - - - - - - - - - + +
NameTypeDescription
trustlevel + + +string + +
@@ -741208,7 +239341,7 @@

syst
Source:
@@ -741237,7 +239370,7 @@

Returns:
- system32 directory + QuickScript object
@@ -741248,7 +239381,7 @@
Returns:
-string +QuickScript
@@ -741266,13 +239399,16 @@
Returns:
-

system64directory() → {string}

+

type(type) → {WineShortcut}

+
+ Sets the shortcut type +
@@ -741282,6 +239418,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
type + + +string + + + + The shortcut type
+ + + @@ -741314,7 +239500,7 @@

syst
Source:
@@ -741343,7 +239529,7 @@

Returns:
- system64 directory + The WineShortcut object
@@ -741354,7 +239540,7 @@
Returns:
-string +WineShortcut
@@ -741372,7 +239558,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

uninstall(name) → {bool}

@@ -741380,7 +239566,7 @@

to - Sets the download destination + uninstall application @@ -741416,7 +239602,7 @@
Parameters:
- localDestination + name @@ -741432,7 +239618,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + of the application which shall be uninstalled @@ -741473,7 +239659,7 @@
Parameters:
Source:
@@ -741502,7 +239688,7 @@
Returns:
- The Downloader object + true if an application has been uninstalled, false otherwise
@@ -741513,7 +239699,7 @@
Returns:
-Downloader +bool
@@ -741531,7 +239717,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

uninstall() → {void}

@@ -741539,7 +239725,7 @@

trustLevel<
- set trust level + Uninstalls the shortcut
@@ -741550,55 +239736,6 @@

trustLevel< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - @@ -741632,7 +239769,7 @@
Parameters:
Source:
@@ -741660,10 +239797,6 @@
Parameters:
Returns:
-
- QuickScript object -
-
@@ -741672,7 +239805,7 @@
Returns:
-QuickScript +void
@@ -741690,7 +239823,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

url(url) → {Resource}

@@ -741698,7 +239831,7 @@

trustLevel<
- Sets the trust level + Sets the resource URL
@@ -741734,7 +239867,7 @@

Parameters:
- trustLevel + url @@ -741750,7 +239883,7 @@
Parameters:
- The trust level + The URL @@ -741791,7 +239924,7 @@
Parameters:
Source:
@@ -741820,7 +239953,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -741831,7 +239964,7 @@
Returns:
-WineShortcut +Resource
@@ -741849,7 +239982,7 @@
Returns:
-

type(type) → {WineShortcut}

+

url(url) → {Downloader}

@@ -741857,7 +239990,7 @@

type - Sets the shortcut type + Sets the URL which shall be used for the download @@ -741893,7 +240026,7 @@
Parameters:
- type + url @@ -741909,7 +240042,7 @@
Parameters:
- The shortcut type + The URL @@ -741950,7 +240083,7 @@
Parameters:
Source:
@@ -741979,7 +240112,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -741990,7 +240123,7 @@
Returns:
-WineShortcut +Downloader
@@ -742008,7 +240141,7 @@
Returns:
-

uninstall(name) → {bool}

+

wait() → {Wine}

@@ -742016,7 +240149,7 @@

uninstall - uninstall application + wait until wineserver finishes @@ -742027,6 +240160,108 @@

uninstall + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Wine + + +
+
+ + + + + + + + + + + + + +

winepath(pathopt) → {String}

+ + + + + + + + + + + + + +
Parameters:
@@ -742040,6 +240275,8 @@
Parameters:
Type + Attributes + @@ -742052,23 +240289,33 @@
Parameters:
- name + path -string +String + + + <optional>
+ + + + + - of the application which shall be uninstalled + + + @@ -742109,7 +240356,7 @@
Parameters:
Source:
@@ -742137,10 +240384,6 @@
Parameters:
Returns:
-
- true if an application has been uninstalled, false otherwise -
-
@@ -742149,7 +240392,7 @@
Returns:
-bool +String
@@ -742167,7 +240410,7 @@
Returns:
-

uninstall() → {void}

+

wineServer(wineserver)

@@ -742175,7 +240418,7 @@

uninstall - Uninstalls the shortcut + executes wineserver in current prefix @@ -742186,6 +240429,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
wineserver + + +string + + + + parameter
+ + @@ -742219,7 +240511,7 @@

uninstallSource:
@@ -742244,24 +240536,6 @@

uninstallReturns:

- - - - -
-
- Type -
-
- -void - - -
-
- - @@ -742273,7 +240547,7 @@
Returns:
-

url(url) → {Downloader}

+

withScript(command) → {PlainInstaller}

@@ -742281,7 +240555,7 @@

url - Sets the URL which shall be used for the download + Sets the installation script consisting of a lambda function @@ -742317,13 +240591,13 @@
Parameters:
- url + command -string +function @@ -742333,7 +240607,7 @@
Parameters:
- The URL + The installation command @@ -742374,7 +240648,7 @@
Parameters:
Source:
@@ -742403,7 +240677,7 @@
Returns:
- The Downloader object + The PlainInstaller object
@@ -742414,7 +240688,7 @@
Returns:
-Downloader +PlainInstaller
@@ -742432,17 +240706,13 @@
Returns:
-

url(url) → {Resource}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the resource URL -
- @@ -742464,6 +240734,8 @@
Parameters:
Type + Attributes + @@ -742476,23 +240748,33 @@
Parameters:
- url + wizard -string +SetupWizard + + + <optional>
+ + + + + + + - The URL + @@ -742533,7 +240815,7 @@
Parameters:
Source:
@@ -742561,10 +240843,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -742573,7 +240851,10 @@
Returns:
-Resource +SetupWizard +| + +Wine
@@ -742591,7 +240872,7 @@
Returns:
-

wait() → {Wine}

+

wizard(wizard) → {Resource}

@@ -742599,7 +240880,7 @@

wait - wait until wineserver finishes + Sets the setup wizard @@ -742610,108 +240891,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -742725,8 +240904,6 @@
Parameters:
Type - Attributes - @@ -742739,33 +240916,23 @@
Parameters:
- path + wizard -String +SetupWizard - - - <optional>
- - - - - - - - + The setup wizard @@ -742806,7 +240973,7 @@
Parameters:
Source:
@@ -742834,6 +241001,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -742842,7 +241013,7 @@
Returns:
-String +Resource
@@ -742860,7 +241031,7 @@
Returns:
-

wineServer(wineserver)

+

wizard(wizard) → {Downloader}

@@ -742868,7 +241039,7 @@

wineServer<
- executes wineserver in current prefix + Sets the setup wizard
@@ -742904,13 +241075,13 @@

Parameters:
- wineserver + wizard -string +SetupWizard @@ -742920,7 +241091,7 @@
Parameters:
- parameter + The setup wizard @@ -742961,7 +241132,7 @@
Parameters:
Source:
@@ -742986,83 +241157,83 @@
Parameters:
+
Returns:
+ +
+ The Downloader object +
- +
+
+ Type +
+
- +Downloader - - -

withScript(command) → {PlainInstaller}

- +
+
-
- Sets the installation script consisting of a lambda function -
+ + + + +

+
-
Parameters:
- - - - - - - - +
+ +
+ +

default()

+
Tool to repair a Wine prefix
+ + +
+
+
+ -
- - + +

Constructor

+ + + +

new default()

+ - - - - - - - - - - - - -
NameTypeDescription
command - - -function - - The installation command
+ @@ -743098,7 +241269,7 @@
Parameters:
Source:
@@ -743123,32 +241294,30 @@
Parameters:
-
Returns:
- -
- The PlainInstaller object -
-
-
- Type -
-
- -PlainInstaller + + -
-
+ + + + + + + + + +

Methods

@@ -743156,13 +241325,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

_createShortcut(prefixopt)

+
+ creates shortcut +
+ @@ -743198,13 +241371,13 @@
Parameters:
- wizard + prefix -SetupWizard +string @@ -743224,7 +241397,7 @@
Parameters:
- + prefix name @@ -743265,7 +241438,7 @@
Parameters:
Source:
@@ -743290,27 +241463,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - @@ -743322,7 +241474,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

_fetchFileNameFromUrl(url) → {string}

@@ -743330,7 +241482,7 @@

wizard - Sets the setup wizard + Fetches the file name from an URL @@ -743366,13 +241518,13 @@
Parameters:
- wizard + url -SetupWizard +string @@ -743382,7 +241534,7 @@
Parameters:
- The setup wizard + The URL @@ -743423,7 +241575,7 @@
Parameters:
Source:
@@ -743452,7 +241604,7 @@
Returns:
- The Resource object + The file name
@@ -743463,7 +241615,7 @@
Returns:
-Resource +string
@@ -743481,7 +241633,7 @@
Returns:
-

wizard(wizard) → {Downloader}

+

algorithm(algorithm) → {Resource}

@@ -743489,7 +241641,7 @@

wizard - Sets the setup wizard + Sets the checksum algorithm @@ -743525,13 +241677,13 @@
Parameters:
- wizard + algorithm -SetupWizard +string @@ -743541,7 +241693,7 @@
Parameters:
- The setup wizard + The algorithm to verify the checksum (e.g. "SHA") @@ -743582,7 +241734,7 @@
Parameters:
Source:
@@ -743611,7 +241763,7 @@
Returns:
- The Downloader object + The Resource object
@@ -743622,7 +241774,7 @@
Returns:
-Downloader +Resource
@@ -743635,55 +241787,77 @@
Returns:
+ + +

algorithm(algorithm) → {Downloader}

+ - - +
+ Sets the algorithm which shall be used to verify the checksum +
+ -
-
+ + +
Parameters:
-

default()

+ + + + -
Verb to install FAudio
+ - - -
-
- +
+ - -

Constructor

- + - -

new default()

- + + + + + + + + + + + + + - + + +
NameTypeDescription
algorithm + + +string + + The checksum algorithm (e.g. "SHA")
@@ -743719,7 +241893,7 @@

new defaultSource:
@@ -743744,30 +241918,32 @@

new defaultReturns:

+ +
+ The Downloader object +
+
+
+ Type +
+
+ +Downloader - - - - - - - +
+
- - - - -

Methods

@@ -743775,7 +241951,7 @@

Methods

-

_createShortcut(prefixopt)

+

application(application) → {AppResource}

@@ -743783,7 +241959,7 @@

_creat
- creates shortcut + Sets the application containing the resources
@@ -743807,8 +241983,6 @@

Parameters:
Type - Attributes - @@ -743821,7 +241995,7 @@
Parameters:
- prefix + application @@ -743834,20 +242008,10 @@
Parameters:
- - - <optional>
- - - - - - - - prefix name + The application with the resource @@ -743888,7 +242052,113 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The AppResource object +
+ + + +
+
+ Type +
+
+ +AppResource + + +
+
+ + + + + + + + + + + + + +

architecture() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -743913,6 +242183,28 @@
Parameters:
+
Returns:
+ + +
+ architecture ("x86" or "amd64") +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -743924,7 +242216,7 @@
Parameters:
-

_fetchFileNameFromUrl(url) → {string}

+

arguments(args) → {WineShortcut}

@@ -743932,7 +242224,7 @@

- Fetches the file name from an URL + Sets the shortcut arguments
@@ -743968,13 +242260,13 @@

Parameters:
- url + args -string +array @@ -743984,7 +242276,7 @@
Parameters:
- The URL + The shortcut arguments @@ -744025,7 +242317,7 @@
Parameters:
Source:
@@ -744054,7 +242346,7 @@
Returns:
- The file name + The WineShortcut object
@@ -744065,7 +242357,7 @@
Returns:
-string +WineShortcut
@@ -744083,17 +242375,13 @@
Returns:
-

algorithm(algorithm) → {Resource}

+

availableDistributions(architectureopt) → {Array.<string>}

-
- Sets the checksum algorithm -
- @@ -744115,8 +242403,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -744127,7 +242419,7 @@
Parameters:
- algorithm + architecture @@ -744140,10 +242432,26 @@
Parameters:
+ + + <optional>
+ + + + + - The algorithm to verify the checksum (e.g. "SHA") + + + + current architecture + + + + + @@ -744184,7 +242492,7 @@
Parameters:
Source:
@@ -744212,10 +242520,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -744224,7 +242528,7 @@
Returns:
-Resource +Array.<string>
@@ -744242,17 +242546,13 @@
Returns:
-

algorithm(algorithm) → {Downloader}

+

availableVersions(distribution nameopt) → {Array.<string>}

-
- Sets the algorithm which shall be used to verify the checksum -
- @@ -744274,8 +242574,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -744286,7 +242590,7 @@
Parameters:
- algorithm + distribution name @@ -744299,10 +242603,26 @@
Parameters:
+ + + <optional>
+ + + + + - The checksum algorithm (e.g. "SHA") + + + + current distribution + + + + + @@ -744343,7 +242663,7 @@
Parameters:
Source:
@@ -744371,10 +242691,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -744383,7 +242699,7 @@
Returns:
-Downloader +Array.<string>
@@ -744401,7 +242717,7 @@
Returns:
-

application(application) → {AppResource}

+

binPath(subCategoryopt, versionopt) → {string}

@@ -744409,7 +242725,8 @@

applicatio
- Sets the application containing the resources + returns the path to the engine binary directory +if no parameters are given, the Wine version of the current prefix is used
@@ -744433,6 +242750,8 @@

Parameters:
Type + Attributes + @@ -744445,7 +242764,7 @@
Parameters:
- application + subCategory @@ -744458,121 +242777,58 @@
Parameters:
+ + + <optional>
+ - - - The application with the resource - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - + - -
Source:
-
- + + + - + - + Wine sub-category + -
- - - - - - - - - - - + + + version + + + + +string -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - + + + + + + <optional>
+ + - + + - + - -

architecture() → {string}

- + Wine version + - - - - - - - - - + + @@ -744608,7 +242864,7 @@

architect
Source:
@@ -744637,7 +242893,7 @@

Returns:
- architecture ("x86" or "amd64") + path to "wine" binary
@@ -744666,7 +242922,7 @@
Returns:
-

arguments(args) → {WineShortcut}

+

category(category) → {WineShortcut}

@@ -744674,7 +242930,7 @@

arguments - Sets the shortcut arguments + Sets the shortcut category @@ -744710,13 +242966,13 @@
Parameters:
- args + category -array +string @@ -744726,7 +242982,7 @@
Parameters:
- The shortcut arguments + The shortcut category @@ -744767,7 +243023,7 @@
Parameters:
Source:
@@ -744825,13 +243081,17 @@
Returns:
-

availableDistributions(architectureopt) → {Array.<string>}

+

checksum(checksum) → {Resource}

+
+ Sets the checksum which shall be used to verify the resource +
+ @@ -744853,12 +243113,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -744869,7 +243125,7 @@
Parameters:
- architecture + checksum @@ -744882,26 +243138,10 @@
Parameters:
- - - <optional>
- - - - - - - - - current architecture - - - - - + The checksum @@ -744942,7 +243182,7 @@
Parameters:
Source:
@@ -744970,6 +243210,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -744978,7 +243222,7 @@
Returns:
-Array.<string> +Resource
@@ -744996,13 +243240,17 @@
Returns:
-

availableVersions(distribution nameopt) → {Array.<string>}

+

checksum(checksum) → {Downloader}

+
+ Sets the checksum +
+ @@ -745024,12 +243272,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -745040,7 +243284,7 @@
Parameters:
- distribution name + checksum @@ -745053,26 +243297,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - current distribution - - - - + The checksum which shall be used to verify the download @@ -745113,7 +243341,7 @@
Parameters:
Source:
@@ -745141,6 +243369,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -745149,7 +243381,7 @@
Returns:
-Array.<string> +Downloader
@@ -745167,7 +243399,7 @@
Returns:
-

binPath(subCategoryopt, versionopt) → {string}

+

create() → {Wine}

@@ -745175,8 +243407,7 @@

binPath - returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used + runs "wineboot" @@ -745187,100 +243418,6 @@

binPathParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
subCategory - - -string - - - - - - <optional>
- - - - - -
Wine sub-category
version - - -string - - - - - - <optional>
- - - - - -
Wine version
- - @@ -745314,7 +243451,7 @@
Parameters:
Source:
@@ -745343,7 +243480,7 @@
Returns:
- path to "wine" binary + The Wine object
@@ -745354,7 +243491,7 @@
Returns:
-string +Wine
@@ -745372,7 +243509,7 @@
Returns:
-

category(category) → {WineShortcut}

+

create() → {void}

@@ -745380,7 +243517,7 @@

category - Sets the shortcut category + Creates a new shortcut @@ -745391,55 +243528,6 @@

categoryParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - @@ -745473,7 +243561,7 @@
Parameters:
Source:
@@ -745501,10 +243589,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -745513,7 +243597,7 @@
Returns:
-WineShortcut +void
@@ -745531,7 +243615,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

description(description) → {WineShortcut}

@@ -745539,7 +243623,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the shortcut description @@ -745575,7 +243659,7 @@
Parameters:
- checksum + description @@ -745591,7 +243675,7 @@
Parameters:
- The checksum + The shortcut description @@ -745632,7 +243716,7 @@
Parameters:
Source:
@@ -745661,7 +243745,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -745672,7 +243756,7 @@
Returns:
-Resource +WineShortcut
@@ -745690,7 +243774,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

directory(directory) → {Resource}

@@ -745698,7 +243782,7 @@

checksum - Sets the checksum + Sets the directory inside the resources directory where the Resource is stored @@ -745734,7 +243818,7 @@
Parameters:
- checksum + directory @@ -745750,7 +243834,7 @@
Parameters:
- The checksum which shall be used to verify the download + The directory path @@ -745791,223 +243875,7 @@
Parameters:
Source:
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - -

create() → {void}

- - - - - - -
- Creates a new shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void - - -
-
- - - - - - - - - - - - - -

create() → {Wine}

- - - - - - -
- runs "wineboot" -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
@@ -746036,7 +243904,7 @@
Returns:
- The Wine object + The Resource object
@@ -746047,7 +243915,7 @@
Returns:
-Wine +Resource
@@ -746065,7 +243933,7 @@
Returns:
-

description(description) → {WineShortcut}

+

download(setupWizard) → {String}

@@ -746073,7 +243941,7 @@

descriptio
- Sets the shortcut description + Download the setup resources in the same directory, and returns the path of the .exe
@@ -746109,13 +243977,13 @@

Parameters:
- description + setupWizard -string +SetupWizard @@ -746125,7 +243993,7 @@
Parameters:
- The shortcut description + The setup wizard @@ -746166,7 +244034,7 @@
Parameters:
Source:
@@ -746195,7 +244063,7 @@
Returns:
- The WineShortcut object + The .exe file entry that can be used to continue the installation
@@ -746206,7 +244074,7 @@
Returns:
-WineShortcut +String
@@ -746224,7 +244092,7 @@
Returns:
-

directory(directory) → {Resource}

+

environment(environment) → {WineShortcut}

@@ -746232,7 +244100,7 @@

directory - Sets the directory inside the resources directory where the Resource is stored + Sets the shortcut environment variables @@ -746268,7 +244136,7 @@
Parameters:
- directory + environment @@ -746284,7 +244152,7 @@
Parameters:
- The directory path + The environment variables @@ -746325,7 +244193,7 @@
Parameters:
Source:
@@ -746354,7 +244222,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -746365,7 +244233,7 @@
Returns:
-Resource +WineShortcut
@@ -746383,7 +244251,7 @@
Returns:
-

download(setupWizard) → {String}

+

environment(environment) → {QuickScript}

@@ -746391,7 +244259,7 @@

download - Download the setup resources in the same directory, and returns the path of the .exe + set environment @@ -746427,13 +244295,13 @@
Parameters:
- setupWizard + environment -SetupWizard +string @@ -746443,7 +244311,7 @@
Parameters:
- The setup wizard + variables @@ -746484,7 +244352,7 @@
Parameters:
Source:
@@ -746513,7 +244381,7 @@
Returns:
- The .exe file entry that can be used to continue the installation + QuickScript object
@@ -746524,7 +244392,7 @@
Returns:
-String +QuickScript
@@ -746542,7 +244410,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

executable(executable, args)

@@ -746550,7 +244418,7 @@

environmen
- set environment + set executable
@@ -746586,15 +244454,28 @@

Parameters:
- environment + executable - -string + + + + + + + executable without path (e.g. "Steam.exe") + + + + + args + + + @@ -746602,7 +244483,7 @@
Parameters:
- variables + use array (e.g. ["-applaunch", 409160]) @@ -746643,7 +244524,7 @@
Parameters:
Source:
@@ -746668,28 +244549,6 @@
Parameters:
-
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - @@ -746701,72 +244560,19 @@
Returns:
-

environment(environment) → {WineShortcut}

- - +

fontDirectory() → {string}

- - -
- Sets the shortcut environment variables -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - The environment variables
@@ -746802,7 +244608,7 @@
Parameters:
Source:
@@ -746831,7 +244637,7 @@
Returns:
- The WineShortcut object + font directory
@@ -746842,7 +244648,7 @@
Returns:
-WineShortcut +string
@@ -746860,7 +244666,7 @@
Returns:
-

executable(executable, args)

+

get() → {String}

@@ -746868,7 +244674,7 @@

executable<
- set executable + Gets the content of the downloaded file
@@ -746879,152 +244685,6 @@

executable< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - @@ -747058,7 +244718,7 @@

fontDire
Source:
@@ -747087,7 +244747,7 @@

Returns:
- font directory + The content of downloaded file
@@ -747098,7 +244758,7 @@
Returns:
-string +String
@@ -747385,116 +245045,6 @@
Returns:
-

get() → {String}

- - - - - - -
- Gets the content of the downloaded file -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The content of downloaded file -
- - - -
-
- Type -
-
- -String - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -749383,166 +246933,7 @@
Returns:
-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 +void
@@ -749560,7 +246951,7 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -749568,7 +246959,7 @@

prefix - Sets the shortcut prefix + Specifies if the download shall be executed only if a newer version is available @@ -749604,13 +246995,13 @@
Parameters:
- prefix + onlyIfUpdateAvailable -string +boolean @@ -749620,7 +247011,7 @@
Parameters:
- The shortcut prefix + true the download shall be executed only if a newer version is available @@ -749661,7 +247052,7 @@
Parameters:
Source:
@@ -749690,7 +247081,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -749701,7 +247092,7 @@
Returns:
-WineShortcut +Downloader
@@ -749984,6 +247375,165 @@
Returns:
+

prefix(prefix) → {WineShortcut}

+ + + + + + +
+ Sets the shortcut prefix +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + +

prefixDirectory() → {string}

@@ -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,161 +248267,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)

@@ -751191,219 +248741,7 @@
Returns:
-void - - -
-

- - - - - - - - - - - - - -

system32directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system32 directory -
- - - -
-
- Type -
-
- -string - - -
-
- - - - - - - - - - - - - -

system64directory() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- system64 directory -
- - - -
-
- Type -
-
- -string +void
@@ -751421,16 +248759,13 @@
Returns:
-

to(localDestination) → {Downloader}

+

system32directory() → {string}

-
- Sets the download destination -
@@ -751440,53 +248775,109 @@

to + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + - + +
Returns:
+
+ system32 directory +
+ + +
+
+ Type +
+
+string -
- - - + + + - - - - - + - + - - + +

system64directory() → {string}

+ - -
NameTypeDescription
localDestination - - -string - - The destination of the download. If it is a directory, the file will be placed inside
+ + + + + + + + + @@ -751522,7 +248913,7 @@
Parameters:
Source:
@@ -751551,7 +248942,7 @@
Returns:
- The Downloader object + system64 directory
@@ -751562,7 +248953,7 @@
Returns:
-Downloader +string
@@ -751580,7 +248971,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

to(localDestination) → {Downloader}

@@ -751588,7 +248979,7 @@

trustLevel<
- set trust level + Sets the download destination
@@ -751624,7 +249015,7 @@

Parameters:
- trustlevel + localDestination @@ -751640,7 +249031,7 @@
Parameters:
- + The destination of the download. If it is a directory, the file will be placed inside @@ -751681,7 +249072,7 @@
Parameters:
Source:
@@ -751710,7 +249101,7 @@
Returns:
- QuickScript object + The Downloader object
@@ -751721,7 +249112,7 @@
Returns:
-QuickScript +Downloader
@@ -751898,7 +249289,7 @@
Returns:
-

type(type) → {WineShortcut}

+

trustLevel(trustlevel) → {QuickScript}

@@ -751906,7 +249297,7 @@

type - Sets the shortcut type + set trust level @@ -751942,7 +249333,7 @@
Parameters:
- type + trustlevel @@ -751958,7 +249349,7 @@
Parameters:
- The shortcut type + @@ -751999,7 +249390,7 @@
Parameters:
Source:
@@ -752028,7 +249419,7 @@
Returns:
- The WineShortcut object + QuickScript object
@@ -752039,7 +249430,7 @@
Returns:
-WineShortcut +QuickScript
@@ -752057,7 +249448,7 @@
Returns:
-

uninstall(name) → {bool}

+

type(type) → {WineShortcut}

@@ -752065,7 +249456,7 @@

uninstall - uninstall application + Sets the shortcut type @@ -752101,7 +249492,7 @@
Parameters:
- name + type @@ -752117,7 +249508,7 @@
Parameters:
- of the application which shall be uninstalled + The shortcut type @@ -752158,7 +249549,7 @@
Parameters:
Source:
@@ -752187,7 +249578,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The WineShortcut object
@@ -752198,7 +249589,7 @@
Returns:
-bool +WineShortcut
@@ -752216,7 +249607,7 @@
Returns:
-

uninstall() → {void}

+

uninstall(name) → {bool}

@@ -752224,7 +249615,7 @@

uninstall - Uninstalls the shortcut + uninstall application @@ -752235,6 +249626,55 @@

uninstallParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
name + + +string + + + + of the application which shall be uninstalled
+ + @@ -752268,7 +249708,7 @@

uninstallSource:
@@ -752296,6 +249736,10 @@

uninstallReturns:

+
+ true if an application has been uninstalled, false otherwise +
+
@@ -752304,7 +249748,7 @@
Returns:
-void +bool
@@ -752322,7 +249766,7 @@
Returns:
-

url(url) → {Downloader}

+

uninstall() → {void}

@@ -752330,7 +249774,7 @@

url - Sets the URL which shall be used for the download + Uninstalls the shortcut @@ -752341,55 +249785,6 @@

url - - - - Name - - - Type - - - - - - Description - - - - - - - - - url - - - - - -string - - - - - - - - - - The URL - - - - - - - @@ -752423,7 +249818,7 @@
Parameters:
Source:
@@ -752451,10 +249846,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -752463,7 +249854,7 @@
Returns:
-Downloader +void
@@ -752640,7 +250031,7 @@
Returns:
-

wait() → {Wine}

+

url(url) → {Downloader}

@@ -752648,7 +250039,7 @@

wait - wait until wineserver finishes + Sets the URL which shall be used for the download @@ -752659,6 +250050,55 @@

wait + + + + Name + + + Type + + + + + + Description + + + + + + + + + url + + + + + +string + + + + + + + + + + The URL + + + + + + + @@ -752692,7 +250132,7 @@

waitSource:
@@ -752720,6 +250160,10 @@

wait + The Downloader object + +
@@ -752728,7 +250172,7 @@
Returns:
-Wine +Downloader
@@ -752746,80 +250190,23 @@
Returns:
-

winepath(pathopt) → {String}

- - +

wait() → {Wine}

- - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - +
+ wait until wineserver finishes +
- - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
path - - -String - - - - <optional>
- - - -
@@ -752855,7 +250242,7 @@
Parameters:
Source:
@@ -752891,7 +250278,7 @@
Returns:
-String +Wine
@@ -752909,17 +250296,13 @@
Returns:
-

wineServer(wineserver)

+

winepath(pathopt) → {String}

-
- executes wineserver in current prefix -
- @@ -752941,6 +250324,8 @@
Parameters:
Type + Attributes + @@ -752953,23 +250338,33 @@
Parameters:
- wineserver + path -string +String + + + <optional>
+ + + + + + + - parameter + @@ -753010,7 +250405,7 @@
Parameters:
Source:
@@ -753035,6 +250430,24 @@
Parameters:
+
Returns:
+ + + + +
+
+ Type +
+
+ +String + + +
+
+ + @@ -753046,7 +250459,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wineServer(wineserver)

@@ -753054,7 +250467,7 @@

withScript<
- Sets the installation script consisting of a lambda function + executes wineserver in current prefix
@@ -753090,13 +250503,13 @@

Parameters:
- command + wineserver -function +string @@ -753106,7 +250519,7 @@
Parameters:
- The installation command + parameter @@ -753147,7 +250560,7 @@
Parameters:
Source:
@@ -753172,28 +250585,6 @@
Parameters:
-
Returns:
- - -
- The PlainInstaller object -
- - - -
-
- Type -
-
- -PlainInstaller - - -
-
- - @@ -753205,13 +250596,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

withScript(command) → {PlainInstaller}

+
+ Sets the installation script consisting of a lambda function +
+ @@ -753233,8 +250628,6 @@
Parameters:
Type - Attributes - @@ -753247,33 +250640,23 @@
Parameters:
- wizard + command -SetupWizard +function - - - <optional>
- - - - - - - - + The installation command @@ -753314,7 +250697,7 @@
Parameters:
Source:
@@ -753342,6 +250725,10 @@
Parameters:
Returns:
+
+ The PlainInstaller object +
+
@@ -753350,10 +250737,7 @@
Returns:
-SetupWizard -| - -Wine +PlainInstaller
@@ -753371,17 +250755,13 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -753403,6 +250783,8 @@
Parameters:
Type + Attributes + @@ -753428,10 +250810,20 @@
Parameters:
+ + + <optional>
+ + + + + - The setup wizard + + + @@ -753472,7 +250864,7 @@
Parameters:
Source:
@@ -753500,10 +250892,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -753512,7 +250900,10 @@
Returns:
-Resource +SetupWizard +| + +Wine
@@ -753530,7 +250921,7 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizard) → {Resource}

@@ -753631,7 +251022,7 @@
Parameters:
Source:
@@ -753660,7 +251051,7 @@
Returns:
- The Downloader object + The Resource object
@@ -753671,7 +251062,7 @@
Returns:
-Downloader +Resource
@@ -753684,55 +251075,77 @@
Returns:
+ + +

wizard(wizard) → {Downloader}

+ - - +
+ Sets the setup wizard +
-
-
+ + + +
Parameters:
-

default()

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

Constructor

- + - -

new default()

- + + + + + + + + + + + + + - + + +
NameTypeDescription
wizard + + +SetupWizard + + The setup wizard
@@ -753768,7 +251181,7 @@

new defaultSource:
@@ -753793,48 +251206,42 @@

new defaultReturns:

+ +
+ The Downloader object +
+
+
+ Type +
+
+ +Downloader - - - - - - - +
+
- - - - -

Methods

- - -

_createShortcut(prefixopt)

- + - - -
- creates shortcut -
- +

@@ -753842,66 +251249,40 @@

_creat +
-
Parameters:
+
- - - - +

default()

- +
Tool to reboot Wine
+ + - - - - +
+
+ - + +

Constructor

+ -
- - + +

new default()

+ - - - - - - - - - - - - - - - -
NameTypeAttributesDescription
prefix - - -string - - - - <optional>
- - - -
prefix name
@@ -753937,7 +251318,7 @@
Parameters:
Source:
@@ -753967,13 +251348,33 @@
Parameters:
+ + + + + + + + + + + + + + + + + + +

Methods

+ -

_fetchFileNameFromUrl(url) → {string}

+

_createShortcut(prefixopt)

@@ -753981,7 +251382,7 @@

- Fetches the file name from an URL + creates shortcut
@@ -754005,6 +251406,8 @@

Parameters:
Type + Attributes + @@ -754017,7 +251420,7 @@
Parameters:
- url + prefix @@ -754030,10 +251433,20 @@
Parameters:
+ + + <optional>
+ + + + + - The URL + + + prefix name @@ -754074,7 +251487,7 @@
Parameters:
Source:
@@ -754099,28 +251512,6 @@
Parameters:
-
Returns:
- - -
- The file name -
- - - -
-
- Type -
-
- -string - - -
-
- - @@ -754132,7 +251523,7 @@
Returns:
-

algorithm(algorithm) → {Resource}

+

_fetchFileNameFromUrl(url) → {string}

@@ -754140,7 +251531,7 @@

algorithm - Sets the checksum algorithm + Fetches the file name from an URL @@ -754176,7 +251567,7 @@
Parameters:
- algorithm + url @@ -754192,7 +251583,7 @@
Parameters:
- The algorithm to verify the checksum (e.g. "SHA") + The URL @@ -754233,7 +251624,7 @@
Parameters:
Source:
@@ -754262,7 +251653,7 @@
Returns:
- The Resource object + The file name
@@ -754273,7 +251664,7 @@
Returns:
-Resource +string
@@ -754291,7 +251682,7 @@
Returns:
-

algorithm(algorithm) → {Downloader}

+

algorithm(algorithm) → {Resource}

@@ -754299,7 +251690,7 @@

algorithm - Sets the algorithm which shall be used to verify the checksum + Sets the checksum algorithm @@ -754351,7 +251742,7 @@
Parameters:
- The checksum algorithm (e.g. "SHA") + The algorithm to verify the checksum (e.g. "SHA") @@ -754392,7 +251783,7 @@
Parameters:
Source:
@@ -754421,7 +251812,7 @@
Returns:
- The Downloader object + The Resource object
@@ -754432,7 +251823,7 @@
Returns:
-Downloader +Resource
@@ -754450,7 +251841,7 @@
Returns:
-

application(application) → {AppResource}

+

algorithm(algorithm) → {Downloader}

@@ -754458,7 +251849,7 @@

applicatio
- Sets the application containing the resources + Sets the algorithm which shall be used to verify the checksum
@@ -754494,7 +251885,7 @@

Parameters:
- application + algorithm @@ -754510,7 +251901,7 @@
Parameters:
- The application with the resource + The checksum algorithm (e.g. "SHA") @@ -754551,113 +251942,7 @@
Parameters:
Source:
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
@@ -754686,7 +251971,7 @@
Returns:
- architecture ("x86" or "amd64") + The Downloader object
@@ -754697,7 +251982,7 @@
Returns:
-string +Downloader
@@ -754715,7 +252000,7 @@
Returns:
-

arguments(args) → {WineShortcut}

+

application(application) → {AppResource}

@@ -754723,7 +252008,7 @@

arguments - Sets the shortcut arguments + Sets the application containing the resources @@ -754759,13 +252044,13 @@
Parameters:
- args + application -array +string @@ -754775,7 +252060,7 @@
Parameters:
- The shortcut arguments + The application with the resource @@ -754816,7 +252101,7 @@
Parameters:
Source:
@@ -754845,7 +252130,7 @@
Returns:
- The WineShortcut object + The AppResource object
@@ -754856,7 +252141,7 @@
Returns:
-WineShortcut +AppResource
@@ -754874,88 +252159,19 @@
Returns:
-

availableDistributions(architectureopt) → {Array.<string>}

- - - - - - - - - - - - - - -
Parameters:
+

architecture() → {string}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
architecture - - -string - - - - <optional>
- - - -
- - current architecture - -
@@ -754991,7 +252207,7 @@
Parameters:
Source:
@@ -755019,6 +252235,10 @@
Parameters:
Returns:
+
+ architecture ("x86" or "amd64") +
+
@@ -755027,7 +252247,7 @@
Returns:
-Array.<string> +string
@@ -755045,13 +252265,17 @@
Returns:
-

availableVersions(distribution nameopt) → {Array.<string>}

+

arguments(args) → {WineShortcut}

+
+ Sets the shortcut arguments +
+ @@ -755073,12 +252297,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -755089,39 +252309,23 @@
Parameters:
- distribution name + args -string +array - - - <optional>
- - - - - - - - - - current distribution - - - - + The shortcut arguments @@ -755162,7 +252366,7 @@
Parameters:
Source:
@@ -755190,6 +252394,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -755198,7 +252406,7 @@
Returns:
-Array.<string> +WineShortcut
@@ -755216,18 +252424,13 @@
Returns:
-

binPath(subCategoryopt, versionopt) → {string}

+

availableDistributions(architectureopt) → {Array.<string>}

-
- returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used -
- @@ -755253,6 +252456,8 @@
Parameters:
+ Default + Description @@ -755263,7 +252468,7 @@
Parameters:
- subCategory + architecture @@ -755288,15 +252493,153 @@
Parameters:
+ + + current architecture + + + - Wine sub-category + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Array.<string> + + +
+
+ + + + + + + + + + + + + +

availableVersions(distribution nameopt) → {Array.<string>}

+ + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + - + + - + @@ -755363,7 +252712,7 @@
Parameters:
Source:
@@ -755391,10 +252740,6 @@
Parameters:
Returns:
-
- path to "wine" binary -
-
@@ -755403,7 +252748,7 @@
Returns:
-string +Array.<string>
@@ -755421,7 +252766,7 @@
Returns:
-

category(category) → {WineShortcut}

+

binPath(subCategoryopt, versionopt) → {string}

@@ -755429,7 +252774,8 @@

category - Sets the shortcut category + returns the path to the engine binary directory +if no parameters are given, the Wine version of the current prefix is used @@ -755453,6 +252799,8 @@
Parameters:

+ + @@ -755465,7 +252813,7 @@
Parameters:
- + + - + + + + + + + + + + + + + + + + + + + + + @@ -755522,7 +252913,7 @@
Parameters:
Source:
@@ -755551,7 +252942,7 @@
Returns:
- The WineShortcut object + path to "wine" binary
@@ -755562,7 +252953,7 @@
Returns:
-WineShortcut +string
@@ -755580,7 +252971,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

category(category) → {WineShortcut}

@@ -755588,7 +252979,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the shortcut category @@ -755624,7 +253015,7 @@
Parameters:

- + + @@ -755681,7 +253072,7 @@
Parameters:
Source:
@@ -755710,7 +253101,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -755721,7 +253112,7 @@
Returns:
-Resource +WineShortcut
@@ -755739,7 +253130,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -755747,7 +253138,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -755799,7 +253190,7 @@
Parameters:
-

+ @@ -755840,7 +253231,7 @@
Parameters:
Source:
@@ -755869,7 +253260,7 @@
Returns:
- The Downloader object + The Resource object
@@ -755880,7 +253271,7 @@
Returns:
-Downloader +Resource
@@ -755898,7 +253289,7 @@
Returns:
-

create() → {void}

+

checksum(checksum) → {Downloader}

@@ -755906,7 +253297,7 @@

create - Creates a new shortcut + Sets the checksum @@ -755917,6 +253308,55 @@

createParameters:

+ + +

NameTypeAttributesDefaultDescription
versiondistribution name @@ -755321,8 +252664,14 @@
Parameters:
+
+ + current distribution + + Wine version
TypeAttributes
categorysubCategory @@ -755478,10 +252826,53 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut categoryWine sub-category
version + + +string + + + + + + <optional>
+ + + + + +
Wine version
checksumcategory @@ -755640,7 +253031,7 @@
Parameters:
-
The checksumThe shortcut category
The checksum which shall be used to verify the downloadThe checksum
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
checksum + + +string + + + + The checksum which shall be used to verify the download
+ + @@ -755950,7 +253390,7 @@

createSource:
@@ -755978,6 +253418,10 @@

createReturns:

+
+ The Downloader object +
+
@@ -755986,7 +253430,7 @@
Returns:
-void +Downloader
@@ -756114,6 +253558,112 @@
Returns:
+

create() → {void}

+ + + + + + +
+ Creates a new shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + +

description(description) → {WineShortcut}

@@ -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,91 @@
Parameters:
Source:
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -757048,6 +254682,28 @@
Parameters:
+
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -757059,13 +254715,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {String}

+
+ Gets the content of the downloaded file +
+ @@ -757107,7 +254767,7 @@

fontDire
Source:
@@ -757136,7 +254796,7 @@

Returns:
- font directory + The content of downloaded file
@@ -757147,7 +254807,7 @@
Returns:
-string +String
@@ -757434,7 +255094,7 @@
Returns:
-

get() → {String}

+

getContainer() → {string}

@@ -757442,7 +255102,7 @@

get - Gets the content of the downloaded file + Returns the name of the container belonging to a shortcut @@ -757486,7 +255146,7 @@

getSource:
@@ -757515,7 +255175,7 @@
Returns:
- The content of downloaded file + The container name
@@ -757526,7 +255186,7 @@
Returns:
-String +string
@@ -757544,7 +255204,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -757552,7 +255212,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
@@ -757563,6 +255223,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -757596,7 +255305,7 @@

getContai
Source:
@@ -757625,7 +255334,7 @@

Returns:
- The container name + This
@@ -757636,7 +255345,7 @@
Returns:
-string +GogScript
@@ -757654,7 +255363,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -757662,7 +255371,166 @@

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 +
+ + + + + + + + + +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileNames + + +Array.<string> + + + + The setup file name(s)
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ This +
+ + + +
+
+ Type +
+
+ +GogScript + + +
+
+ + + + + + + + + + + + + +

headers(headers) → {Downloader}

+ + + + + + +
+ Sets the http headers
@@ -757698,13 +255566,13 @@
Parameters:
- setupFileName + headers -string +Object @@ -757714,7 +255582,7 @@
Parameters:
- The setup file name + The http headers @@ -757755,7 +255623,7 @@
Parameters:
Source:
@@ -757784,7 +255652,7 @@
Returns:
- This + The Downloader object
@@ -757795,7 +255663,7 @@
Returns:
-GogScript +Downloader
@@ -757813,7 +255681,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

json() → {any}

@@ -757821,7 +255689,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Gets the content of the downloaded file and returns it as a JSON value
@@ -757832,55 +255700,6 @@

gogS -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - @@ -757914,7 +255733,7 @@
Parameters:
Source:
@@ -757943,7 +255762,7 @@
Returns:
- This + The json value
@@ -757954,7 +255773,7 @@
Returns:
-GogScript +any
@@ -757972,7 +255791,7 @@
Returns:
-

headers(headers) → {Downloader}

+

kill() → {Wine}

@@ -757980,7 +255799,7 @@

headers - Sets the http headers + kill wine server @@ -757991,55 +255810,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -758073,7 +255843,7 @@
Parameters:
Source:
@@ -758101,10 +255871,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -758113,7 +255879,7 @@
Returns:
-Downloader +Wine
@@ -758131,7 +255897,7 @@
Returns:
-

json() → {any}

+

loginToGog(setupWizard) → {GogScript}

@@ -758139,7 +255905,8 @@

json - Gets the content of the downloaded file and returns it as a JSON value + 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 @@ -758150,6 +255917,55 @@

json + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupWizard + + + + + +SetupWizard + + + + + + + + + + The setupWizard to use + + + + + + + @@ -758183,7 +255999,7 @@

jsonSource:
@@ -758212,7 +256028,7 @@
Returns:
- The json value + This
@@ -758223,7 +256039,7 @@
Returns:
-any +GogScript
@@ -758241,7 +256057,7 @@
Returns:
-

kill() → {Wine}

+

message(message) → {Downloader}

@@ -758249,7 +256065,7 @@

kill - kill wine server + Sets the download message text @@ -758260,6 +256076,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + message + + + + + +string + + + + + + + + + + The download message + + + + + + + @@ -758293,7 +256158,7 @@

killSource:
@@ -758321,6 +256186,10 @@

kill + The Downloader object + +
@@ -758329,7 +256198,7 @@
Returns:
-Wine +Downloader
@@ -758347,7 +256216,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

miniature(miniatureopt)

@@ -758355,8 +256224,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 + get/set miniature (for the installation and the shortcut)
@@ -758380,6 +256248,8 @@

Parameters:
Type + Attributes + @@ -758392,23 +256262,33 @@
Parameters:
- setupWizard + miniature -SetupWizard +URI + + + <optional>
+ + + + + + + - The setupWizard to use + path to the miniature file @@ -758449,7 +256329,7 @@
Parameters:
Source:
@@ -758474,28 +256354,6 @@
Parameters:
-
Returns:
- - -
- This -
- - - -
-
- Type -
-
- -GogScript - - -
-
- - @@ -758507,7 +256365,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -758515,7 +256373,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -758551,13 +256409,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -758567,7 +256428,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -758608,7 +256469,7 @@
Parameters:
Source:
@@ -758637,7 +256498,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -758648,7 +256509,7 @@
Returns:
-Downloader +WineShortcut
@@ -758666,156 +256527,7 @@
Returns:
-

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}

+

name(name) → {WineShortcut}

@@ -758823,7 +256535,7 @@

miniature - Sets the miniature for the shortcut + Sets the shortcut name @@ -758859,16 +256571,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -758878,7 +256587,7 @@
Parameters:
- An array which specifies the application of which the miniature shall be used or URI of the miniature + The shortcut name @@ -758919,7 +256628,7 @@
Parameters:
Source:
@@ -758977,7 +256686,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -758985,7 +256694,7 @@

name - Sets the shortcut name + Sets the resource name @@ -759037,7 +256746,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -759078,7 +256787,7 @@
Parameters:
Source:
@@ -759107,7 +256816,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -759118,7 +256827,7 @@
Returns:
-WineShortcut +Resource
@@ -759136,7 +256845,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -759144,7 +256853,7 @@

name - Sets the resource name + Sets shortcut @@ -759180,7 +256889,7 @@
Parameters:
- name + shortcut @@ -759196,7 +256905,7 @@
Parameters:
- The name of the resource + shortcut @@ -759237,7 +256946,7 @@
Parameters:
Source:
@@ -759265,10 +256974,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -759277,7 +256982,7 @@
Returns:
-Resource +void
@@ -759295,7 +257000,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -759303,7 +257008,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -759339,13 +257044,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -759355,7 +257060,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -759396,7 +257101,7 @@
Parameters:
Source:
@@ -759424,6 +257129,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -759432,7 +257141,7 @@
Returns:
-void +Downloader
@@ -759450,17 +257159,13 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Specifies if the download shall be executed only if a newer version is available -
- @@ -759482,6 +257187,8 @@
Parameters:
Type + Attributes + @@ -759494,23 +257201,132 @@
Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string + + + <optional>
+ + + + + - true the download shall be executed only if a newer version is available + + + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -759551,7 +257367,7 @@
Parameters:
Source:
@@ -759579,10 +257395,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -759591,7 +257403,10 @@
Returns:
-Downloader +string +| + +Wine
@@ -759768,13 +257583,16 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefixDirectory() → {string}

+
+ returns prefix directory +
@@ -759783,164 +257601,107 @@

prefixParameters:

- - - - - - - - - - - - - - - +
-
- - - - + - + - - - + - + - - + - - - - + - + - - - - - - - - - - - - - - - - - - - +
Returns:
- - - - + - + + + + + - - - + - - + - -
NameTypeAttributesDescription
prefix - - -string + + - - - - <optional>
- + - + - -
distribution - - -string + +
Source:
+
+ + - -
- - <optional>
- + + - - -
architecture - - -string - - - - <optional>
- - - -
version - - + +
+
+ Type +
+
+ string - -
- - <optional>
- - - -
+

programFiles() → {string}

+ + + + + + + + + + + + @@ -759976,7 +257737,7 @@
Parameters:
Source:
@@ -760004,6 +257765,10 @@
Parameters:
Returns:
+
+ name of "Program Files" +
+
@@ -760013,9 +257778,6 @@
Returns:
string -| - -Wine
@@ -760033,7 +257795,7 @@
Returns:
-

prefixDirectory() → {string}

+

run(userArguments) → {void}

@@ -760041,7 +257803,7 @@

prefix
- returns prefix directory + Runs a shortcut with the given user arguments
@@ -760052,106 +257814,53 @@

prefix - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-
- - - - - - - - - - - - - - - -

Returns:
+ + + + + + -
-
- Type -
-
-string + -
-
+ + + + + + + + + - - + - -

programFiles() → {string}

- + + - - - - - - - - - + +
NameTypeDescription
userArguments + + +array + + The user arguments
@@ -760187,7 +257896,7 @@

programFi
Source:
@@ -760215,10 +257924,6 @@

programFi

Returns:
-
- name of "Program Files" -
-
@@ -760227,7 +257932,7 @@
Returns:
-string +void
@@ -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)

@@ -761335,272 +258885,7 @@
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 + system32 directory
@@ -761611,7 +258896,7 @@
Returns:
-Downloader +string
@@ -761629,72 +258914,19 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

- - +

system64directory() → {string}

- - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - -
@@ -761730,7 +258962,7 @@
Parameters:
Source:
@@ -761759,7 +258991,7 @@
Returns:
- QuickScript object + system64 directory
@@ -761770,7 +259002,7 @@
Returns:
-QuickScript +string
@@ -761788,7 +259020,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

to(localDestination) → {Downloader}

@@ -761796,7 +259028,7 @@

trustLevel<
- Sets the trust level + Sets the download destination
@@ -761832,7 +259064,7 @@

Parameters:
- trustLevel + localDestination @@ -761848,7 +259080,7 @@
Parameters:
- The trust level + The destination of the download. If it is a directory, the file will be placed inside @@ -761889,7 +259121,7 @@
Parameters:
Source:
@@ -761918,7 +259150,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -761929,7 +259161,7 @@
Returns:
-WineShortcut +Downloader
@@ -761947,7 +259179,7 @@
Returns:
-

type(type) → {WineShortcut}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -761955,7 +259187,7 @@

type - Sets the shortcut type + Sets the trust level @@ -761991,7 +259223,7 @@
Parameters:
- type + trustLevel @@ -762007,7 +259239,7 @@
Parameters:
- The shortcut type + The trust level @@ -762048,7 +259280,7 @@
Parameters:
Source:
@@ -762106,7 +259338,7 @@
Returns:
-

uninstall(name) → {bool}

+

trustLevel(trustlevel) → {QuickScript}

@@ -762114,7 +259346,7 @@

uninstall - uninstall application + set trust level @@ -762150,7 +259382,7 @@
Parameters:
- name + trustlevel @@ -762166,7 +259398,7 @@
Parameters:
- of the application which shall be uninstalled + @@ -762207,7 +259439,7 @@
Parameters:
Source:
@@ -762236,124 +259468,18 @@
Returns:
- true if an application has been uninstalled, false otherwise -
- - - -
-
- Type -
-
- -bool - - -
-
- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut + QuickScript object
- - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - -
Type
-void +QuickScript
@@ -762371,7 +259497,7 @@
Returns:
-

url(url) → {Downloader}

+

type(type) → {WineShortcut}

@@ -762379,7 +259505,7 @@

url - Sets the URL which shall be used for the download + Sets the shortcut type @@ -762415,7 +259541,7 @@
Parameters:
- url + type @@ -762431,7 +259557,7 @@
Parameters:
- The URL + The shortcut type @@ -762472,7 +259598,7 @@
Parameters:
Source:
@@ -762501,7 +259627,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -762512,7 +259638,7 @@
Returns:
-Downloader +WineShortcut
@@ -762530,7 +259656,7 @@
Returns:
-

url(url) → {Resource}

+

uninstall(name) → {bool}

@@ -762538,7 +259664,7 @@

url - Sets the resource URL + uninstall application @@ -762574,7 +259700,7 @@
Parameters:
- url + name @@ -762590,7 +259716,7 @@
Parameters:
- The URL + of the application which shall be uninstalled @@ -762631,7 +259757,7 @@
Parameters:
Source:
@@ -762660,7 +259786,7 @@
Returns:
- The Resource object + true if an application has been uninstalled, false otherwise
@@ -762671,7 +259797,7 @@
Returns:
-Resource +bool
@@ -762689,7 +259815,7 @@
Returns:
-

wait() → {Wine}

+

uninstall() → {void}

@@ -762697,7 +259823,7 @@

wait - wait until wineserver finishes + Uninstalls the shortcut @@ -762741,7 +259867,7 @@

waitSource:
@@ -762777,7 +259903,7 @@
Returns:
-Wine +void
@@ -762795,13 +259921,17 @@
Returns:
-

winepath(pathopt) → {String}

+

url(url) → {Resource}

+
+ Sets the resource URL +
+ @@ -762823,8 +259953,6 @@
Parameters:
Type - Attributes - @@ -762837,33 +259965,23 @@
Parameters:
- path + url -String +string - - - <optional>
- - - - - - - - + The URL @@ -762904,7 +260022,7 @@
Parameters:
Source:
@@ -762932,6 +260050,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -762940,7 +260062,7 @@
Returns:
-String +Resource
@@ -762958,7 +260080,7 @@
Returns:
-

wineServer(wineserver)

+

url(url) → {Downloader}

@@ -762966,7 +260088,7 @@

wineServer<
- executes wineserver in current prefix + Sets the URL which shall be used for the download
@@ -763002,7 +260124,7 @@

Parameters:
- wineserver + url @@ -763018,7 +260140,7 @@
Parameters:
- parameter + The URL @@ -763059,7 +260181,7 @@
Parameters:
Source:
@@ -763084,6 +260206,28 @@
Parameters:
+
Returns:
+ + +
+ The Downloader object +
+ + + +
+
+ Type +
+
+ +Downloader + + +
+
+ + @@ -763095,7 +260239,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wait() → {Wine}

@@ -763103,7 +260247,7 @@

withScript<
- Sets the installation script consisting of a lambda function + wait until wineserver finishes
@@ -763114,6 +260258,108 @@

withScript< + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +

Returns:
+ + + + +
+
+ Type +
+
+ +Wine + + +
+
+ + + + + + + + + + + + + +

winepath(pathopt) → {String}

+ + + + + + + + + + + + + +
Parameters:
@@ -763127,6 +260373,8 @@
Parameters:
Type + Attributes + @@ -763139,23 +260387,33 @@
Parameters:
- command + path -function +String + + + <optional>
+ + + + + - The installation command + + + @@ -763196,7 +260454,7 @@
Parameters:
Source:
@@ -763224,10 +260482,6 @@
Parameters:
Returns:
-
- The PlainInstaller object -
-
@@ -763236,7 +260490,7 @@
Returns:
-PlainInstaller +String
@@ -763254,13 +260508,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wineServer(wineserver)

+
+ executes wineserver in current prefix +
+ @@ -763282,8 +260540,6 @@
Parameters:
Type - Attributes - @@ -763296,33 +260552,23 @@
Parameters:
- wizard + wineserver -SetupWizard +string - - - <optional>
- - - - - - - - + parameter @@ -763363,7 +260609,7 @@
Parameters:
Source:
@@ -763388,27 +260634,6 @@
Parameters:
-
Returns:
- - - - -
-
- Type -
-
- -SetupWizard -| - -Wine - - -
-
- - @@ -763420,7 +260645,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

withScript(command) → {PlainInstaller}

@@ -763428,7 +260653,7 @@

wizard - Sets the setup wizard + Sets the installation script consisting of a lambda function @@ -763464,13 +260689,13 @@
Parameters:
- wizard + command -SetupWizard +function @@ -763480,7 +260705,7 @@
Parameters:
- The setup wizard + The installation command @@ -763521,7 +260746,7 @@
Parameters:
Source:
@@ -763550,7 +260775,7 @@
Returns:
- The Resource object + The PlainInstaller object
@@ -763561,7 +260786,7 @@
Returns:
-Resource +PlainInstaller
@@ -763579,17 +260804,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -763611,6 +260832,8 @@
Parameters:
Type + Attributes + @@ -763636,10 +260859,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -763680,7 +260913,7 @@
Parameters:
Source:
@@ -763708,10 +260941,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -763720,7 +260949,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -763733,55 +260965,77 @@
Returns:
+ + +

wizard(wizard) → {Resource}

+ - - +
+ Sets the setup wizard +
-
-
+ + + +
Parameters:
-

default()

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

Constructor

- + - -

new default()

- + + + + + + + + + + + + + - + + +
NameTypeDescription
wizard + + +SetupWizard + + The setup wizard
@@ -763817,7 +261071,7 @@

new defaultSource:
@@ -763842,30 +261096,32 @@

new defaultReturns:

+ +
+ The Resource object +
+
+
+ Type +
+
+ +Resource - - - - - - - +
+
- - - - -

Methods

@@ -763873,7 +261129,7 @@

Methods

-

_createShortcut(prefixopt)

+

wizard(wizard) → {Downloader}

@@ -763881,7 +261137,7 @@

_creat
- creates shortcut + Sets the setup wizard
@@ -763905,8 +261161,6 @@

Parameters:
Type - Attributes - @@ -763919,33 +261173,23 @@
Parameters:
- prefix + wizard -string +SetupWizard - - - <optional>
- - - - - - - - prefix name + The setup wizard @@ -763986,7 +261230,7 @@
Parameters:
Source:
@@ -764011,83 +261255,83 @@
Parameters:
+
Returns:
+ +
+ The Downloader object +
- +
+
+ Type +
+
- +Downloader - - -

_fetchFileNameFromUrl(url) → {string}

- +
+
-
- Fetches the file name from an URL -
+ + + + + +

-
Parameters:
- - - - - - - - +
+ +
+ +

default()

+
Tool to configure Wine
+ + +
+
+
+ -
- - + +

Constructor

+ + + +

new default()

+ - - - - - - - - - - - - -
NameTypeDescription
url - - -string - - The URL
+ @@ -764123,7 +261367,7 @@
Parameters:
Source:
@@ -764148,32 +261392,30 @@
Parameters:
-
Returns:
- -
- The file name -
-
-
- Type -
-
- -string + + -
-
+ + + + + + + + + +

Methods

@@ -764181,7 +261423,7 @@
Returns:
-

algorithm(algorithm) → {Resource}

+

_createShortcut(prefixopt)

@@ -764189,7 +261431,7 @@

algorithm - Sets the checksum algorithm + creates shortcut @@ -764213,6 +261455,8 @@
Parameters:
Type + Attributes + @@ -764225,7 +261469,7 @@
Parameters:
- algorithm + prefix @@ -764238,10 +261482,20 @@
Parameters:
+ + + <optional>
+ + + + + - The algorithm to verify the checksum (e.g. "SHA") + + + prefix name @@ -764282,7 +261536,7 @@
Parameters:
Source:
@@ -764307,28 +261561,6 @@
Parameters:
-
Returns:
- - -
- The Resource object -
- - - -
-
- Type -
-
- -Resource - - -
-
- - @@ -764340,7 +261572,7 @@
Returns:
-

algorithm(algorithm) → {Downloader}

+

_fetchFileNameFromUrl(url) → {string}

@@ -764348,7 +261580,7 @@

algorithm - Sets the algorithm which shall be used to verify the checksum + Fetches the file name from an URL @@ -764384,7 +261616,7 @@
Parameters:
- algorithm + url @@ -764400,7 +261632,7 @@
Parameters:
- The checksum algorithm (e.g. "SHA") + The URL @@ -764441,7 +261673,7 @@
Parameters:
Source:
@@ -764470,7 +261702,7 @@
Returns:
- The Downloader object + The file name
@@ -764481,7 +261713,7 @@
Returns:
-Downloader +string
@@ -764499,7 +261731,7 @@
Returns:
-

application(application) → {AppResource}

+

algorithm(algorithm) → {Resource}

@@ -764507,7 +261739,7 @@

applicatio
- Sets the application containing the resources + Sets the checksum algorithm
@@ -764543,7 +261775,7 @@

Parameters:
- application + algorithm @@ -764559,7 +261791,7 @@
Parameters:
- The application with the resource + The algorithm to verify the checksum (e.g. "SHA") @@ -764600,113 +261832,7 @@
Parameters:
Source:
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - -
- The AppResource object -
- - - -
-
- Type -
-
- -AppResource - - -
-
- - - - - - - - - - - - - -

architecture() → {string}

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
@@ -764735,7 +261861,7 @@
Returns:
- architecture ("x86" or "amd64") + The Resource object
@@ -764746,7 +261872,7 @@
Returns:
-string +Resource
@@ -764764,7 +261890,7 @@
Returns:
-

arguments(args) → {WineShortcut}

+

algorithm(algorithm) → {Downloader}

@@ -764772,7 +261898,7 @@

arguments - Sets the shortcut arguments + Sets the algorithm which shall be used to verify the checksum @@ -764808,13 +261934,13 @@
Parameters:
- args + algorithm -array +string @@ -764824,7 +261950,7 @@
Parameters:
- The shortcut arguments + The checksum algorithm (e.g. "SHA") @@ -764865,7 +261991,7 @@
Parameters:
Source:
@@ -764894,7 +262020,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -764905,7 +262031,7 @@
Returns:
-WineShortcut +Downloader
@@ -764923,13 +262049,17 @@
Returns:
-

availableDistributions(architectureopt) → {Array.<string>}

+

application(application) → {AppResource}

+
+ Sets the application containing the resources +
+ @@ -764951,12 +262081,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -764967,7 +262093,7 @@
Parameters:
- architecture + application @@ -764980,26 +262106,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - current architecture - - - - + The application with the resource @@ -765040,7 +262150,7 @@
Parameters:
Source:
@@ -765068,6 +262178,10 @@
Parameters:
Returns:
+
+ The AppResource object +
+
@@ -765076,7 +262190,7 @@
Returns:
-Array.<string> +AppResource
@@ -765094,7 +262208,7 @@
Returns:
-

availableVersions(distribution nameopt) → {Array.<string>}

+

architecture() → {string}

@@ -765109,75 +262223,6 @@

avai -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
distribution name - - -string - - - - - - <optional>
- - - - - -
- - current distribution - -
- - @@ -765211,7 +262256,7 @@
Parameters:
Source:
@@ -765239,6 +262284,10 @@
Parameters:
Returns:
+
+ architecture ("x86" or "amd64") +
+
@@ -765247,7 +262296,7 @@
Returns:
-Array.<string> +string
@@ -765265,7 +262314,7 @@
Returns:
-

binPath(subCategoryopt, versionopt) → {string}

+

arguments(args) → {WineShortcut}

@@ -765273,8 +262322,7 @@

binPath - returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used + Sets the shortcut arguments @@ -765298,8 +262346,6 @@
Parameters:
Type - Attributes - @@ -765312,40 +262358,166 @@
Parameters:
- subCategory + args -string +array - - - <optional>
- - - - - + The shortcut arguments + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - Wine sub-category - + + + +

availableDistributions(architectureopt) → {Array.<string>}

+ + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + - + + - + @@ -765412,7 +262590,7 @@
Parameters:
Source:
@@ -765440,10 +262618,6 @@
Parameters:
Returns:
-
- path to "wine" binary -
-
@@ -765452,7 +262626,7 @@
Returns:
-string +Array.<string>
@@ -765470,17 +262644,13 @@
Returns:
-

category(category) → {WineShortcut}

+

availableVersions(distribution nameopt) → {Array.<string>}

-
- Sets the shortcut category -
- @@ -765502,8 +262672,12 @@
Parameters:
+ + + + @@ -765514,7 +262688,7 @@
Parameters:
- + + - + + + + + @@ -765571,7 +262761,7 @@
Parameters:
Source:
@@ -765599,10 +262789,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -765611,7 +262797,7 @@
Returns:
-WineShortcut +Array.<string>
@@ -765629,7 +262815,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

binPath(subCategoryopt, versionopt) → {string}

@@ -765637,7 +262823,8 @@

checksum - Sets the checksum which shall be used to verify the resource + returns the path to the engine binary directory +if no parameters are given, the Wine version of the current prefix is used @@ -765661,6 +262848,8 @@
Parameters:

+ + @@ -765673,7 +262862,7 @@
Parameters:
- + + - + + + + + + + + + + + + + + + + + + + + + @@ -765730,7 +262962,7 @@
Parameters:
Source:
@@ -765759,7 +262991,7 @@
Returns:
- The Resource object + path to "wine" binary
@@ -765770,7 +263002,7 @@
Returns:
-Resource +string
@@ -765788,7 +263020,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

category(category) → {WineShortcut}

@@ -765796,7 +263028,7 @@

checksum - Sets the checksum + Sets the shortcut category @@ -765832,7 +263064,7 @@
Parameters:

- + + @@ -765889,7 +263121,7 @@
Parameters:
Source:
@@ -765918,7 +263150,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -765929,7 +263161,7 @@
Returns:
-Downloader +WineShortcut
@@ -765947,7 +263179,7 @@
Returns:
-

create() → {void}

+

checksum(checksum) → {Resource}

@@ -765955,7 +263187,7 @@

create - Creates a new shortcut + Sets the checksum which shall be used to verify the resource @@ -765966,6 +263198,55 @@

createParameters:

+ + +

NameTypeAttributesDefaultDescription
versionarchitecture @@ -765370,8 +262542,14 @@
Parameters:
+
+ + current architecture + + Wine version
TypeAttributesDefaultDescription
categorydistribution name @@ -765527,10 +262701,26 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut category + + current distribution + +
TypeAttributes
checksumsubCategory @@ -765686,10 +262875,53 @@
Parameters:
+ + <optional>
+ + + + +
The checksumWine sub-category
version + + +string + + + + + + <optional>
+ + + + + +
Wine version
checksumcategory @@ -765848,7 +263080,7 @@
Parameters:
-
The checksum which shall be used to verify the downloadThe shortcut category
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
checksum + + +string + + + + The checksum
+ + @@ -765999,7 +263280,7 @@

createSource:
@@ -766027,6 +263308,10 @@

createReturns:

+
+ The Resource object +
+
@@ -766035,7 +263320,7 @@
Returns:
-void +Resource
@@ -766053,7 +263338,7 @@
Returns:
-

create() → {Wine}

+

checksum(checksum) → {Downloader}

@@ -766061,7 +263346,7 @@

create - runs "wineboot" + Sets the checksum @@ -766072,6 +263357,55 @@

createParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
checksum + + +string + + + + The checksum which shall be used to verify the download
+ + @@ -766105,7 +263439,7 @@

createSource:
@@ -766134,7 +263468,7 @@
Returns:
- The Wine object + The Downloader object
@@ -766145,7 +263479,7 @@
Returns:
-Wine +Downloader
@@ -766163,7 +263497,7 @@
Returns:
-

description(description) → {WineShortcut}

+

create() → {Wine}

@@ -766171,7 +263505,7 @@

descriptio
- Sets the shortcut description + runs "wineboot"
@@ -766182,55 +263516,6 @@

descriptio -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
description - - -string - - - - The shortcut description
- - @@ -766264,7 +263549,7 @@
Parameters:
Source:
@@ -766293,7 +263578,7 @@
Returns:
- The WineShortcut object + The Wine object
@@ -766304,7 +263589,7 @@
Returns:
-WineShortcut +Wine
@@ -766322,7 +263607,7 @@
Returns:
-

directory(directory) → {Resource}

+

create() → {void}

@@ -766330,7 +263615,7 @@

directory - Sets the directory inside the resources directory where the Resource is stored + Creates a new shortcut @@ -766341,55 +263626,6 @@

directoryParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
directory - - -string - - - - The directory path
- - @@ -766423,7 +263659,7 @@
Parameters:
Source:
@@ -766451,10 +263687,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -766463,7 +263695,7 @@
Returns:
-Resource +void
@@ -766481,7 +263713,7 @@
Returns:
-

download(setupWizard) → {String}

+

description(description) → {WineShortcut}

@@ -766489,7 +263721,7 @@

download - Download the setup resources in the same directory, and returns the path of the .exe + Sets the shortcut description @@ -766525,13 +263757,13 @@
Parameters:
- setupWizard + description -SetupWizard +string @@ -766541,7 +263773,7 @@
Parameters:
- The setup wizard + The shortcut description @@ -766582,7 +263814,7 @@
Parameters:
Source:
@@ -766611,7 +263843,7 @@
Returns:
- The .exe file entry that can be used to continue the installation + The WineShortcut object
@@ -766622,7 +263854,7 @@
Returns:
-String +WineShortcut
@@ -766640,7 +263872,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

directory(directory) → {Resource}

@@ -766648,7 +263880,7 @@

environmen
- set environment + Sets the directory inside the resources directory where the Resource is stored
@@ -766684,7 +263916,7 @@

Parameters:
- environment + directory @@ -766700,7 +263932,7 @@
Parameters:
- variables + The directory path @@ -766741,7 +263973,7 @@
Parameters:
Source:
@@ -766770,7 +264002,7 @@
Returns:
- QuickScript object + The Resource object
@@ -766781,7 +264013,7 @@
Returns:
-QuickScript +Resource
@@ -766799,7 +264031,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

download(setupWizard) → {String}

@@ -766807,7 +264039,7 @@

environmen
- Sets the shortcut environment variables + Download the setup resources in the same directory, and returns the path of the .exe
@@ -766843,13 +264075,13 @@

Parameters:
- environment + setupWizard -string +SetupWizard @@ -766859,7 +264091,7 @@
Parameters:
- The environment variables + The setup wizard @@ -766900,7 +264132,7 @@
Parameters:
Source:
@@ -766929,7 +264161,7 @@
Returns:
- The WineShortcut object + The .exe file entry that can be used to continue the installation
@@ -766940,7 +264172,7 @@
Returns:
-WineShortcut +String
@@ -766958,7 +264190,7 @@
Returns:
-

executable(executable, args)

+

environment(environment) → {WineShortcut}

@@ -766966,7 +264198,7 @@

executable<
- set executable + Sets the shortcut environment variables
@@ -767002,28 +264234,15 @@

Parameters:
- executable + environment - - - - - - - executable without path (e.g. "Steam.exe") - - - + +string - - - args - - @@ -767031,7 +264250,7 @@
Parameters:
- use array (e.g. ["-applaunch", 409160]) + The environment variables @@ -767072,7 +264291,7 @@
Parameters:
Source:
@@ -767097,6 +264316,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -767108,19 +264349,72 @@
Parameters:
-

fontDirectory() → {string}

+

environment(environment) → {QuickScript}

+
+ set environment +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
environment + + +string + + variables
@@ -767156,7 +264450,7 @@

fontDire
Source:
@@ -767185,7 +264479,7 @@

Returns:
- font directory + QuickScript object
@@ -767196,7 +264490,7 @@
Returns:
-string +QuickScript
@@ -767214,7 +264508,7 @@
Returns:
-

get(resourceName) → {Resource}

+

executable(executable, args)

@@ -767222,7 +264516,7 @@

get - Returns the searched resource + set executable @@ -767258,15 +264552,28 @@
Parameters:
- resourceName + executable - -string + + + + + + executable without path (e.g. "Steam.exe") + + + + + + args + + + @@ -767274,7 +264581,7 @@
Parameters:
- The name of the resource + use array (e.g. ["-applaunch", 409160]) @@ -767315,7 +264622,91 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -767344,7 +264735,7 @@
Returns:
- The found resource + font directory
@@ -767355,7 +264746,7 @@
Returns:
-Resource +string
@@ -767373,7 +264764,7 @@
Returns:
-

get() → {string}

+

get() → {String}

@@ -767381,7 +264772,7 @@

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

getSource:
@@ -767454,7 +264845,7 @@
Returns:
- The path leading to the downloaded resource + The content of downloaded file
@@ -767465,7 +264856,7 @@
Returns:
-string +String
@@ -767483,7 +264874,7 @@
Returns:
-

get() → {String}

+

get(resourceName) → {Resource}

@@ -767491,7 +264882,7 @@

get - Gets the content of the downloaded file + Returns the searched resource @@ -767502,114 +264893,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
@@ -767645,7 +264975,7 @@

getContai
Source:
@@ -767674,7 +265004,7 @@

Returns:
- The container name + The found resource
@@ -767685,7 +265015,7 @@
Returns:
-string +Resource
@@ -767703,7 +265033,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

get() → {string}

@@ -767711,7 +265041,7 @@

gogSe
- Sets one setup file name so that the script can fetch it from gog.com + Fetches the Resource and returns the path leading to the downloaded resource
@@ -767722,55 +265052,6 @@

gogSe -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileName - - -string - - - - The setup file name
- - @@ -767804,7 +265085,7 @@
Parameters:
Source:
@@ -767833,7 +265114,7 @@
Returns:
- This + The path leading to the downloaded resource
@@ -767844,7 +265125,7 @@
Returns:
-GogScript +string
@@ -767862,7 +265143,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

getContainer() → {string}

@@ -767870,7 +265151,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Returns the name of the container belonging to a shortcut
@@ -767881,55 +265162,6 @@

gogS -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - @@ -767963,7 +265195,7 @@
Parameters:
Source:
@@ -767992,7 +265224,7 @@
Returns:
- This + The container name
@@ -768003,7 +265235,7 @@
Returns:
-GogScript +string
@@ -768021,7 +265253,7 @@
Returns:
-

headers(headers) → {Downloader}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -768029,7 +265261,7 @@

headers - Sets the http headers + Sets one setup file name so that the script can fetch it from gog.com @@ -768065,13 +265297,13 @@
Parameters:
- headers + setupFileName -Object +string @@ -768081,7 +265313,7 @@
Parameters:
- The http headers + The setup file name @@ -768122,7 +265354,7 @@
Parameters:
Source:
@@ -768151,7 +265383,7 @@
Returns:
- The Downloader object + This
@@ -768162,7 +265394,7 @@
Returns:
-Downloader +GogScript
@@ -768180,7 +265412,7 @@
Returns:
-

json() → {any}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -768188,7 +265420,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + Sets the setup file(s) name so that the script can fetch it from gog.com @@ -768199,6 +265431,55 @@

json + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupFileNames + + + + + +Array.<string> + + + + + + + + + + The setup file name(s) + + + + + + + @@ -768232,7 +265513,7 @@

jsonSource:
@@ -768261,7 +265542,7 @@
Returns:
- The json value + This
@@ -768272,7 +265553,7 @@
Returns:
-any +GogScript
@@ -768290,7 +265571,7 @@
Returns:
-

kill() → {Wine}

+

headers(headers) → {Downloader}

@@ -768298,7 +265579,7 @@

kill - kill wine server + Sets the http headers @@ -768309,6 +265590,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + headers + + + + + +Object + + + + + + + + + + The http headers + + + + + + + @@ -768342,7 +265672,7 @@

killSource:
@@ -768370,6 +265700,10 @@

kill + The Downloader object + +
@@ -768378,7 +265712,7 @@
Returns:
-Wine +Downloader
@@ -768396,7 +265730,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

json() → {any}

@@ -768404,8 +265738,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 + Gets the content of the downloaded file and returns it as a JSON value
@@ -768416,55 +265749,6 @@

loginToGog< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - @@ -768498,7 +265782,7 @@
Parameters:
Source:
@@ -768527,7 +265811,7 @@
Returns:
- This + The json value
@@ -768538,7 +265822,7 @@
Returns:
-GogScript +any
@@ -768556,7 +265840,7 @@
Returns:
-

message(message) → {Downloader}

+

kill() → {Wine}

@@ -768564,7 +265848,7 @@

message - Sets the download message text + kill wine server @@ -768575,55 +265859,6 @@

messageParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - @@ -768657,7 +265892,7 @@
Parameters:
Source:
@@ -768685,10 +265920,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -768697,7 +265928,7 @@
Returns:
-Downloader +Wine
@@ -768715,7 +265946,7 @@
Returns:
-

miniature(miniatureopt)

+

loginToGog(setupWizard) → {GogScript}

@@ -768723,7 +265954,8 @@

miniature - get/set miniature (for the installation and the shortcut) + 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 @@ -768747,8 +265979,6 @@
Parameters:
Type - Attributes - @@ -768761,33 +265991,23 @@
Parameters:
- miniature + setupWizard -URI +SetupWizard - - - <optional>
- - - - - - - - path to the miniature file + The setupWizard to use @@ -768828,7 +266048,7 @@
Parameters:
Source:
@@ -768853,6 +266073,28 @@
Parameters:
+
Returns:
+ + +
+ This +
+ + + +
+
+ Type +
+
+ +GogScript + + +
+
+ + @@ -768864,7 +266106,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

message(message) → {Downloader}

@@ -768872,7 +266114,7 @@

miniature - Sets the miniature for the shortcut + Sets the download message text @@ -768908,16 +266150,13 @@
Parameters:
- miniature + message -Array.<string> -| - -URI +string @@ -768927,7 +266166,7 @@
Parameters:
- An array which specifies the application of which the miniature shall be used or URI of the miniature + The download message @@ -768968,7 +266207,7 @@
Parameters:
Source:
@@ -768997,7 +266236,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -769008,7 +266247,7 @@
Returns:
-WineShortcut +Downloader
@@ -769026,7 +266265,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -769034,7 +266273,7 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) @@ -769058,6 +266297,8 @@
Parameters:
Type + Attributes + @@ -769070,23 +266311,33 @@
Parameters:
- name + miniature -string +URI + + + <optional>
+ + + + + + + - The shortcut name + path to the miniature file @@ -769127,7 +266378,147 @@
Parameters:
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:
+
@@ -769185,7 +266576,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -769193,7 +266584,7 @@

name - Sets the resource name + Sets the shortcut name @@ -769245,7 +266636,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -769286,7 +266677,7 @@
Parameters:
Source:
@@ -769315,7 +266706,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -769326,7 +266717,7 @@
Returns:
-Resource +WineShortcut
@@ -769344,7 +266735,7 @@
Returns:
-

of(shortcut) → {void}

+

name(name) → {Resource}

@@ -769352,7 +266743,7 @@

of - Sets shortcut + Sets the resource name @@ -769388,7 +266779,7 @@
Parameters:
- shortcut + name @@ -769404,7 +266795,7 @@
Parameters:
- shortcut + The name of the resource @@ -769445,7 +266836,7 @@
Parameters:
Source:
@@ -769473,6 +266864,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -769481,7 +266876,7 @@
Returns:
-void +Resource
@@ -769499,7 +266894,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

of(shortcut) → {void}

@@ -769507,7 +266902,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets shortcut
@@ -769543,13 +266938,13 @@

Parameters:
- onlyIfUpdateAvailable + shortcut -boolean +string @@ -769559,7 +266954,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + shortcut @@ -769600,7 +266995,7 @@
Parameters:
Source:
@@ -769628,10 +267023,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -769640,7 +267031,7 @@
Returns:
-Downloader +void
@@ -769658,7 +267049,7 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -769666,7 +267057,7 @@

prefix - Sets the shortcut prefix + Specifies if the download shall be executed only if a newer version is available @@ -769702,13 +267093,13 @@
Parameters:
- prefix + onlyIfUpdateAvailable -string +boolean @@ -769718,7 +267109,7 @@
Parameters:
- The shortcut prefix + true the download shall be executed only if a newer version is available @@ -769759,7 +267150,7 @@
Parameters:
Source:
@@ -769788,7 +267179,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -769799,7 +267190,7 @@
Returns:
-WineShortcut +Downloader
@@ -770082,7 +267473,7 @@
Returns:
-

prefixDirectory() → {string}

+

prefix(prefix) → {WineShortcut}

@@ -770090,7 +267481,7 @@

prefix
- returns prefix directory + Sets the shortcut prefix
@@ -770101,6 +267492,55 @@

prefix +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + @@ -770134,7 +267574,7 @@

prefix
Source:
@@ -770162,6 +267602,10 @@

prefix

Returns:
+
+ The WineShortcut object +
+
@@ -770170,7 +267614,7 @@
Returns:
-string +WineShortcut
@@ -770188,13 +267632,17 @@
Returns:
-

programFiles() → {string}

+

prefixDirectory() → {string}

+
+ returns prefix directory +
+ @@ -770236,7 +267684,7 @@

programFi
Source:
@@ -770264,10 +267712,6 @@

programFi

Returns:
-
- name of "Program Files" -
-
@@ -770294,279 +267738,19 @@
Returns:
-

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

- - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

programFiles() → {string}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeAttributesDefaultDescription
executable - - -string - - - - - - - - - - - -
args - - -array - - - - - - <optional>
- - - - - -
- - [] - -
workingDirectory - - -string - - - - - - <optional>
- - - - - -
- - working container - -
captureOutput - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
wait - - -boolean - - - - - - <optional>
- - - - - -
- - false - -
userData - - -map - - - - <optional>
- - - -
- - empty - -
@@ -770602,7 +267786,7 @@
Parameters:
Source:
@@ -770631,7 +267815,7 @@
Returns:
- output + name of "Program Files"
@@ -770642,7 +267826,7 @@
Returns:
-String +string
@@ -770815,7 +267999,7 @@
Returns:
-

runInsidePrefix(executable, argsopt, waitopt)

+

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

@@ -770933,13 +268117,13 @@
Parameters:
- wait + workingDirectory -boolean +string @@ -770960,149 +268144,129 @@
Parameters:
- false + working container - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - + + + captureOutput + + + + +boolean + + + + + + <optional>
+ + - + + - + + + + false + + + - - - + + + + + wait + - -
- Sets the executable which shall be used -
- - - - - - - + + + +boolean -
Parameters:
- + + - - - - - - + + + - + + + - + + + - - - + + - - + + - + + + + + @@ -771143,7 +268307,7 @@
Parameters:
Source:
@@ -771172,7 +268336,7 @@
Returns:
- The WineShortcut object + output
@@ -771183,7 +268347,7 @@
Returns:
-WineShortcut +String
@@ -771201,125 +268365,162 @@
Returns:
-

stop() → {void}

+

runInsidePrefix(executable, argsopt, waitopt)

-
- Stops the running shortcut -
- - - - - - - - -
- - - - - - - - - - - - - - - - +
Parameters:
- +
Name + + <optional>
+ -
Type + + false + + Description
searchuserData -string +map + + <optional>
+ + + + +
The executable name + + empty + +
+ + + + + - + - -
Source:
-
- + + + - + + + - + + + + - - - - - - - - - + + + + + + + + - + + + + + -
-
- Type -
-
- -void + +
+ + + - - + + + + - + + - + + -

system32directory() → {string}

- - + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
executable + + +string + + + + -
Returns:
+ +
+ +
args + + +array - + + + + <optional>
+ + + +
+ + [] + +
wait + + +boolean + + + + <optional>
+ + + +
+ + false + +
@@ -771355,7 +268556,7 @@

syst
Source:
@@ -771380,52 +268581,83 @@

syst -

Returns:
- -
- system32 directory -
-
-
- Type -
-
+ -string + + -
-
+ + + +
+ Sets the executable which shall be used +
+ + + + - - - - -

system64directory() → {string}

- +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
search + + +string + + The executable name
@@ -771461,7 +268693,7 @@

syst
Source:
@@ -771490,7 +268722,7 @@

Returns:
- system64 directory + The WineShortcut object
@@ -771501,7 +268733,7 @@
Returns:
-string +WineShortcut
@@ -771519,7 +268751,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

stop() → {void}

@@ -771527,7 +268759,7 @@

to - Sets the download destination + Stops the running shortcut @@ -771538,55 +268770,6 @@

to - - - - Name - - - Type - - - - - - Description - - - - - - - - - localDestination - - - - - -string - - - - - - - - - - The destination of the download. If it is a directory, the file will be placed inside - - - - - - - @@ -771620,7 +268803,7 @@
Parameters:
Source:
@@ -771648,10 +268831,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -771660,7 +268839,7 @@
Returns:
-Downloader +void
@@ -771678,72 +268857,19 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

- - +

system32directory() → {string}

- - -
- set trust level -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - -
@@ -771779,7 +268905,7 @@
Parameters:
Source:
@@ -771808,7 +268934,7 @@
Returns:
- QuickScript object + system32 directory
@@ -771819,7 +268945,7 @@
Returns:
-QuickScript +string
@@ -771837,72 +268963,19 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

system64directory() → {string}

-
- Sets the trust level -
- - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustLevel - - -string - - - - The trust level
@@ -771938,7 +269011,7 @@
Parameters:
Source:
@@ -771967,7 +269040,7 @@
Returns:
- The WineShortcut object + system64 directory
@@ -771978,7 +269051,7 @@
Returns:
-WineShortcut +string
@@ -771996,7 +269069,7 @@
Returns:
-

type(type) → {WineShortcut}

+

to(localDestination) → {Downloader}

@@ -772004,7 +269077,7 @@

type - Sets the shortcut type + Sets the download destination @@ -772040,7 +269113,7 @@
Parameters:
- type + localDestination @@ -772056,7 +269129,7 @@
Parameters:
- The shortcut type + The destination of the download. If it is a directory, the file will be placed inside @@ -772097,7 +269170,7 @@
Parameters:
Source:
@@ -772126,7 +269199,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -772137,7 +269210,7 @@
Returns:
-WineShortcut +Downloader
@@ -772155,7 +269228,7 @@
Returns:
-

uninstall(name) → {bool}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -772163,7 +269236,7 @@

uninstall - uninstall application + Sets the trust level @@ -772199,7 +269272,7 @@
Parameters:
- name + trustLevel @@ -772215,7 +269288,7 @@
Parameters:
- of the application which shall be uninstalled + The trust level @@ -772256,7 +269329,7 @@
Parameters:
Source:
@@ -772285,7 +269358,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The WineShortcut object
@@ -772296,113 +269369,7 @@
Returns:
-bool - - -
-

- - - - - - - - - - - - - -

uninstall() → {void}

- - - - - - -
- Uninstalls the shortcut -
- - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -void +WineShortcut
@@ -772420,7 +269387,7 @@
Returns:
-

url(url) → {Downloader}

+

trustLevel(trustlevel) → {QuickScript}

@@ -772428,7 +269395,7 @@

url - Sets the URL which shall be used for the download + set trust level @@ -772464,7 +269431,7 @@
Parameters:
- url + trustlevel @@ -772480,7 +269447,7 @@
Parameters:
- The URL + @@ -772521,7 +269488,7 @@
Parameters:
Source:
@@ -772550,7 +269517,7 @@
Returns:
- The Downloader object + QuickScript object
@@ -772561,7 +269528,7 @@
Returns:
-Downloader +QuickScript
@@ -772579,7 +269546,7 @@
Returns:
-

url(url) → {Resource}

+

type(type) → {WineShortcut}

@@ -772587,7 +269554,7 @@

url - Sets the resource URL + Sets the shortcut type @@ -772623,7 +269590,7 @@
Parameters:
- url + type @@ -772639,7 +269606,7 @@
Parameters:
- The URL + The shortcut type @@ -772680,7 +269647,7 @@
Parameters:
Source:
@@ -772709,7 +269676,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -772720,7 +269687,7 @@
Returns:
-Resource +WineShortcut
@@ -772738,7 +269705,7 @@
Returns:
-

wait() → {Wine}

+

uninstall(name) → {bool}

@@ -772746,7 +269713,7 @@

wait - wait until wineserver finishes + uninstall application @@ -772757,108 +269724,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -772872,8 +269737,6 @@
Parameters:
Type - Attributes - @@ -772886,33 +269749,23 @@
Parameters:
- path + name -String +string - - - <optional>
- - - - - - - - + of the application which shall be uninstalled @@ -772953,7 +269806,7 @@
Parameters:
Source:
@@ -772981,6 +269834,10 @@
Parameters:
Returns:
+
+ true if an application has been uninstalled, false otherwise +
+
@@ -772989,7 +269846,7 @@
Returns:
-String +bool
@@ -773007,7 +269864,7 @@
Returns:
-

wineServer(wineserver)

+

uninstall() → {void}

@@ -773015,7 +269872,7 @@

wineServer<
- executes wineserver in current prefix + Uninstalls the shortcut
@@ -773026,55 +269883,6 @@

wineServer< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
wineserver - - -string - - - - parameter
- - @@ -773108,7 +269916,7 @@
Parameters:
Source:
@@ -773133,6 +269941,24 @@
Parameters:
+
Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + @@ -773144,7 +269970,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

url(url) → {Resource}

@@ -773152,7 +269978,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the resource URL
@@ -773188,13 +270014,13 @@

Parameters:
- command + url -function +string @@ -773204,7 +270030,7 @@
Parameters:
- The installation command + The URL @@ -773245,7 +270071,7 @@
Parameters:
Source:
@@ -773274,7 +270100,7 @@
Returns:
- The PlainInstaller object + The Resource object
@@ -773285,7 +270111,7 @@
Returns:
-PlainInstaller +Resource
@@ -773303,13 +270129,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

url(url) → {Downloader}

+
+ Sets the URL which shall be used for the download +
+ @@ -773331,8 +270161,6 @@
Parameters:
Type - Attributes - @@ -773345,33 +270173,23 @@
Parameters:
- wizard + url -SetupWizard +string - - - <optional>
- - - - - - - - + The URL @@ -773412,7 +270230,7 @@
Parameters:
Source:
@@ -773440,6 +270258,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -773448,10 +270270,7 @@
Returns:
-SetupWizard -| - -Wine +Downloader
@@ -773469,7 +270288,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wait() → {Wine}

@@ -773477,7 +270296,7 @@

wizard - Sets the setup wizard + wait until wineserver finishes @@ -773488,6 +270307,108 @@

wizard + + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + + + +
+
+ Type +
+
+ +Wine + + +
+
+ + + + + + + + + + + + + +

winepath(pathopt) → {String}

+ + + + + + + + + + + + + +
Parameters:
@@ -773501,6 +270422,8 @@
Parameters:
Type + Attributes + @@ -773513,23 +270436,33 @@
Parameters:
- wizard + path -SetupWizard +String + + + <optional>
+ + + + + - The setup wizard + + + @@ -773570,7 +270503,7 @@
Parameters:
Source:
@@ -773598,10 +270531,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -773610,7 +270539,7 @@
Returns:
-Resource +String
@@ -773628,7 +270557,7 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wineServer(wineserver)

@@ -773636,7 +270565,7 @@

wizard - Sets the setup wizard + executes wineserver in current prefix @@ -773672,13 +270601,13 @@
Parameters:
- wizard + wineserver -SetupWizard +string @@ -773688,7 +270617,7 @@
Parameters:
- The setup wizard + parameter @@ -773729,144 +270658,7 @@
Parameters:
Source:
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - - - - - - - - - - - - - - - - - - - - - - -
- -
- -

default()

- -
Verb to install QuickTime 7.6
- - -
- -
-
- - - - -

Constructor

- - - -

new default()

- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
@@ -773896,33 +270688,13 @@

new default - - - - - - - - - - - - - - - - -

Methods

- -

_createShortcut(prefixopt)

+

withScript(command) → {PlainInstaller}

@@ -773930,7 +270702,7 @@

_creat
- creates shortcut + Sets the installation script consisting of a lambda function
@@ -773954,8 +270726,6 @@

Parameters:
Type - Attributes - @@ -773968,33 +270738,23 @@
Parameters:
- prefix + command -string +function - - - <optional>
- - - - - - - - prefix name + The installation command @@ -774035,7 +270795,7 @@
Parameters:
Source:
@@ -774060,6 +270820,28 @@
Parameters:
+
Returns:
+ + +
+ The PlainInstaller object +
+ + + +
+
+ Type +
+
+ +PlainInstaller + + +
+
+ + @@ -774071,17 +270853,13 @@
Parameters:
-

_fetchFileNameFromUrl(url) → {string}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Fetches the file name from an URL -
- @@ -774103,6 +270881,8 @@
Parameters:
Type + Attributes + @@ -774115,23 +270895,33 @@
Parameters:
- url + wizard -string +SetupWizard + + + <optional>
+ + + + + + + - The URL + @@ -774172,7 +270962,7 @@
Parameters:
Source:
@@ -774200,10 +270990,6 @@
Parameters:
Returns:
-
- The file name -
-
@@ -774212,7 +270998,10 @@
Returns:
-string +SetupWizard +| + +Wine
@@ -774230,7 +271019,7 @@
Returns:
-

algorithm(algorithm) → {Resource}

+

wizard(wizard) → {Resource}

@@ -774238,7 +271027,7 @@

algorithm - Sets the checksum algorithm + Sets the setup wizard

@@ -774274,13 +271063,13 @@
Parameters:
- algorithm + wizard -string +SetupWizard @@ -774290,7 +271079,7 @@
Parameters:
- The algorithm to verify the checksum (e.g. "SHA") + The setup wizard @@ -774331,7 +271120,7 @@
Parameters:
Source:
@@ -774389,7 +271178,7 @@
Returns:
-

algorithm(algorithm) → {Downloader}

+

wizard(wizard) → {Downloader}

@@ -774397,7 +271186,7 @@

algorithm - Sets the algorithm which shall be used to verify the checksum + Sets the setup wizard @@ -774433,13 +271222,13 @@
Parameters:
- algorithm + wizard -string +SetupWizard @@ -774449,7 +271238,7 @@
Parameters:
- The checksum algorithm (e.g. "SHA") + The setup wizard @@ -774490,7 +271279,7 @@
Parameters:
Source:
@@ -774543,12 +271332,147 @@
Returns:
+ + + + + +

+ +
+ + + + + + + +
+ +
+ +

default()

+ +
Tool to kill running Wine processes
+ + +
+ +
+
+ + + + +

Constructor

+ + + +

new default()

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

Methods

+ + -

application(application) → {AppResource}

+

_createShortcut(prefixopt)

@@ -774556,7 +271480,7 @@

applicatio
- Sets the application containing the resources + creates shortcut
@@ -774580,6 +271504,8 @@

Parameters:
Type + Attributes + @@ -774592,7 +271518,7 @@
Parameters:
- application + prefix @@ -774605,10 +271531,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The application with the resource + prefix name @@ -774649,7 +271585,7 @@
Parameters:
Source:
@@ -774674,52 +271610,83 @@
Parameters:
-
Returns:
- -
- The AppResource object -
-
-
- Type -
-
+ -AppResource + + -
-
+ +

_fetchFileNameFromUrl(url) → {string}

+ +
+ Fetches the file name from an URL +
+ - - - - -

architecture() → {string}

- + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
url + + +string + + + + The URL
@@ -774755,7 +271722,7 @@

architect
Source:
@@ -774784,7 +271751,7 @@

Returns:
- architecture ("x86" or "amd64") + The file name
@@ -774813,7 +271780,7 @@
Returns:
-

arguments(args) → {WineShortcut}

+

algorithm(algorithm) → {Resource}

@@ -774821,7 +271788,7 @@

arguments - Sets the shortcut arguments + Sets the checksum algorithm @@ -774857,13 +271824,13 @@
Parameters:
- args + algorithm -array +string @@ -774873,7 +271840,7 @@
Parameters:
- The shortcut arguments + The algorithm to verify the checksum (e.g. "SHA") @@ -774914,7 +271881,7 @@
Parameters:
Source:
@@ -774943,7 +271910,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -774954,7 +271921,7 @@
Returns:
-WineShortcut +Resource
@@ -774972,13 +271939,17 @@
Returns:
-

availableDistributions(architectureopt) → {Array.<string>}

+

algorithm(algorithm) → {Downloader}

+
+ Sets the algorithm which shall be used to verify the checksum +
+ @@ -775000,12 +271971,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -775016,7 +271983,7 @@
Parameters:
- architecture + algorithm @@ -775029,26 +271996,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - current architecture - - - - + The checksum algorithm (e.g. "SHA") @@ -775089,7 +272040,7 @@
Parameters:
Source:
@@ -775117,6 +272068,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -775125,7 +272080,7 @@
Returns:
-Array.<string> +Downloader
@@ -775143,13 +272098,17 @@
Returns:
-

availableVersions(distribution nameopt) → {Array.<string>}

+

application(application) → {AppResource}

+
+ Sets the application containing the resources +
+ @@ -775171,12 +272130,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -775187,7 +272142,7 @@
Parameters:
- distribution name + application @@ -775200,26 +272155,10 @@
Parameters:
- - - <optional>
- - - - - - - - - current distribution - - - - - + The application with the resource @@ -775260,7 +272199,7 @@
Parameters:
Source:
@@ -775288,6 +272227,10 @@
Parameters:
Returns:
+
+ The AppResource object +
+
@@ -775296,7 +272239,7 @@
Returns:
-Array.<string> +AppResource
@@ -775314,118 +272257,19 @@
Returns:
-

binPath(subCategoryopt, versionopt) → {string}

+

architecture() → {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
@@ -775461,7 +272305,7 @@
Parameters:
Source:
@@ -775490,7 +272334,7 @@
Returns:
- path to "wine" binary + architecture ("x86" or "amd64")
@@ -775519,7 +272363,7 @@
Returns:
-

category(category) → {WineShortcut}

+

arguments(args) → {WineShortcut}

@@ -775527,7 +272371,7 @@

category - Sets the shortcut category + Sets the shortcut arguments @@ -775563,13 +272407,13 @@
Parameters:
- category + args -string +array @@ -775579,7 +272423,7 @@
Parameters:
- The shortcut category + The shortcut arguments @@ -775620,7 +272464,7 @@
Parameters:
Source:
@@ -775678,17 +272522,13 @@
Returns:
-

checksum(checksum) → {Resource}

+

availableDistributions(architectureopt) → {Array.<string>}

-
- Sets the checksum which shall be used to verify the resource -
- @@ -775710,8 +272550,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -775722,7 +272566,7 @@
Parameters:
- checksum + architecture @@ -775735,10 +272579,26 @@
Parameters:
+ + + <optional>
+ + + + + - The checksum + + + + current architecture + + + + + @@ -775779,7 +272639,7 @@
Parameters:
Source:
@@ -775807,10 +272667,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -775819,7 +272675,7 @@
Returns:
-Resource +Array.<string>
@@ -775837,17 +272693,13 @@
Returns:
-

checksum(checksum) → {Downloader}

+

availableVersions(distribution nameopt) → {Array.<string>}

-
- Sets the checksum -
- @@ -775869,8 +272721,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -775881,7 +272737,7 @@
Parameters:
- checksum + distribution name @@ -775894,10 +272750,26 @@
Parameters:
+ + + <optional>
+ + + + + - The checksum which shall be used to verify the download + + + + current distribution + + + + + @@ -775938,7 +272810,7 @@
Parameters:
Source:
@@ -775966,10 +272838,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -775978,7 +272846,7 @@
Returns:
-Downloader +Array.<string>
@@ -775996,7 +272864,7 @@
Returns:
-

create() → {void}

+

binPath(subCategoryopt, versionopt) → {string}

@@ -776004,7 +272872,8 @@

create - Creates a new shortcut + returns the path to the engine binary directory +if no parameters are given, the Wine version of the current prefix is used @@ -776015,6 +272884,100 @@

createParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDescription
subCategory + + +string + + + + + + <optional>
+ + + + + +
Wine sub-category
version + + +string + + + + + + <optional>
+ + + + + +
Wine version
+ + @@ -776048,7 +273011,7 @@

createSource:
@@ -776076,6 +273039,10 @@

createReturns:

+
+ path to "wine" binary +
+
@@ -776084,7 +273051,7 @@
Returns:
-void +string
@@ -776102,7 +273069,7 @@
Returns:
-

create() → {Wine}

+

category(category) → {WineShortcut}

@@ -776110,7 +273077,7 @@

create - runs "wineboot" + Sets the shortcut category @@ -776121,6 +273088,55 @@

createParameters:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
category + + +string + + + + The shortcut category
+ + @@ -776154,7 +273170,7 @@

createSource:
@@ -776183,7 +273199,7 @@
Returns:
- The Wine object + The WineShortcut object
@@ -776194,7 +273210,7 @@
Returns:
-Wine +WineShortcut
@@ -776212,7 +273228,7 @@
Returns:
-

description(description) → {WineShortcut}

+

checksum(checksum) → {Resource}

@@ -776220,7 +273236,7 @@

descriptio
- Sets the shortcut description + Sets the checksum which shall be used to verify the resource
@@ -776256,7 +273272,7 @@

Parameters:
- description + checksum @@ -776272,7 +273288,7 @@
Parameters:
- The shortcut description + The checksum @@ -776313,7 +273329,7 @@
Parameters:
Source:
@@ -776342,7 +273358,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -776353,7 +273369,7 @@
Returns:
-WineShortcut +Resource
@@ -776371,7 +273387,7 @@
Returns:
-

directory(directory) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -776379,7 +273395,7 @@

directory - Sets the directory inside the resources directory where the Resource is stored + Sets the checksum @@ -776415,7 +273431,7 @@
Parameters:
- directory + checksum @@ -776431,7 +273447,7 @@
Parameters:
- The directory path + The checksum which shall be used to verify the download @@ -776472,7 +273488,7 @@
Parameters:
Source:
@@ -776501,7 +273517,7 @@
Returns:
- The Resource object + The Downloader object
@@ -776512,7 +273528,7 @@
Returns:
-Resource +Downloader
@@ -776530,7 +273546,7 @@
Returns:
-

download(setupWizard) → {String}

+

create() → {Wine}

@@ -776538,7 +273554,7 @@

download - Download the setup resources in the same directory, and returns the path of the .exe + runs "wineboot" @@ -776549,55 +273565,6 @@

downloadParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setup wizard
- - @@ -776631,7 +273598,7 @@
Parameters:
Source:
@@ -776660,7 +273627,7 @@
Returns:
- The .exe file entry that can be used to continue the installation + The Wine object
@@ -776671,7 +273638,7 @@
Returns:
-String +Wine
@@ -776689,7 +273656,7 @@
Returns:
-

environment(environment) → {QuickScript}

+

create() → {void}

@@ -776697,7 +273664,113 @@

environmen
- set environment + Creates a new shortcut +
+ + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +

Returns:
+ + + + +
+
+ Type +
+
+ +void + + +
+
+ + + + + + + + + + + + + +

description(description) → {WineShortcut}

+ + + + + + +
+ Sets the shortcut description
@@ -776733,7 +273806,7 @@
Parameters:
- environment + description @@ -776749,7 +273822,7 @@
Parameters:
- variables + The shortcut description @@ -776790,7 +273863,7 @@
Parameters:
Source:
@@ -776819,7 +273892,7 @@
Returns:
- QuickScript object + The WineShortcut object
@@ -776830,7 +273903,7 @@
Returns:
-QuickScript +WineShortcut
@@ -776848,7 +273921,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

directory(directory) → {Resource}

@@ -776856,7 +273929,7 @@

environmen
- Sets the shortcut environment variables + Sets the directory inside the resources directory where the Resource is stored
@@ -776892,7 +273965,7 @@

Parameters:
- environment + directory @@ -776908,7 +273981,7 @@
Parameters:
- The environment variables + The directory path @@ -776949,7 +274022,7 @@
Parameters:
Source:
@@ -776978,7 +274051,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -776989,7 +274062,7 @@
Returns:
-WineShortcut +Resource
@@ -777007,7 +274080,7 @@
Returns:
-

executable(executable, args)

+

download(setupWizard) → {String}

@@ -777015,7 +274088,7 @@

executable<
- set executable + Download the setup resources in the same directory, and returns the path of the .exe
@@ -777051,28 +274124,15 @@

Parameters:
- executable + setupWizard - - - - - - - executable without path (e.g. "Steam.exe") - - - + +SetupWizard - - - args - - @@ -777080,7 +274140,7 @@
Parameters:
- use array (e.g. ["-applaunch", 409160]) + The setup wizard @@ -777121,7 +274181,7 @@
Parameters:
Source:
@@ -777146,6 +274206,28 @@
Parameters:
+
Returns:
+ + +
+ The .exe file entry that can be used to continue the installation +
+ + + +
+
+ Type +
+
+ +String + + +
+
+ + @@ -777157,13 +274239,16 @@
Parameters:
-

fontDirectory() → {string}

+

environment(environment) → {WineShortcut}

+
+ Sets the shortcut environment variables +
@@ -777173,6 +274258,56 @@

fontDire +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
environment + + +string + + + + The environment variables
+ + + @@ -777205,7 +274340,7 @@

fontDire
Source:
@@ -777234,7 +274369,7 @@

Returns:
- font directory + The WineShortcut object
@@ -777245,7 +274380,7 @@
Returns:
-string +WineShortcut
@@ -777263,7 +274398,7 @@
Returns:
-

get(resourceName) → {Resource}

+

environment(environment) → {QuickScript}

@@ -777271,7 +274406,7 @@

get - Returns the searched resource + set environment @@ -777307,7 +274442,7 @@
Parameters:
- resourceName + environment @@ -777323,7 +274458,7 @@
Parameters:
- The name of the resource + variables @@ -777364,7 +274499,7 @@
Parameters:
Source:
@@ -777393,7 +274528,7 @@
Returns:
- The found resource + QuickScript object
@@ -777404,7 +274539,7 @@
Returns:
-Resource +QuickScript
@@ -777422,7 +274557,7 @@
Returns:
-

get() → {string}

+

executable(executable, args)

@@ -777430,7 +274565,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + set executable @@ -777441,6 +274576,68 @@

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + executable + + + + + + + + + + + executable without path (e.g. "Steam.exe") + + + + + + + args + + + + + + + + + + + use array (e.g. ["-applaunch", 409160]) + + + + + + + @@ -777474,7 +274671,7 @@

getSource:
@@ -777499,28 +274696,6 @@

get - The path leading to the downloaded resource - - - - -
-
- Type -
-
- -string - - -
-
- - @@ -777532,17 +274707,13 @@
Returns:
-

get() → {String}

+

fontDirectory() → {string}

-
- Gets the content of the downloaded file -
- @@ -777584,7 +274755,7 @@

getSource:
@@ -777613,7 +274784,7 @@
Returns:
- The content of downloaded file + font directory
@@ -777624,7 +274795,7 @@
Returns:
-String +string
@@ -777642,7 +274813,7 @@
Returns:
-

getContainer() → {string}

+

get() → {String}

@@ -777650,7 +274821,7 @@

getContai
- Returns the name of the container belonging to a shortcut + Gets the content of the downloaded file
@@ -777694,7 +274865,7 @@

getContai
Source:
@@ -777723,7 +274894,7 @@

Returns:
- The container name + The content of downloaded file
@@ -777734,7 +274905,7 @@
Returns:
-string +String
@@ -777752,7 +274923,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

get(resourceName) → {Resource}

@@ -777760,7 +274931,7 @@

gogSe
- Sets one setup file name so that the script can fetch it from gog.com + Returns the searched resource
@@ -777796,7 +274967,7 @@

Parameters:
- setupFileName + resourceName @@ -777812,7 +274983,7 @@
Parameters:
- The setup file name + The name of the resource @@ -777853,7 +275024,7 @@
Parameters:
Source:
@@ -777882,7 +275053,7 @@
Returns:
- This + The found resource
@@ -777893,7 +275064,7 @@
Returns:
-GogScript +Resource
@@ -777911,7 +275082,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

get() → {string}

@@ -777919,7 +275090,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Fetches the Resource and returns the path leading to the downloaded resource
@@ -777930,53 +275101,114 @@

gogS -

Parameters:
+ + + + +
+ - - - - - - + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + - + + +
Returns:
+
+ The path leading to the downloaded resource +
+ + +
+
+ Type +
+
+string -
- - - + + + - - - - - + - + - - + +

getContainer() → {string}

+ - -
NameTypeDescription
setupFileNames - - -Array.<string> - - The setup file name(s)
+ + + +
+ Returns the name of the container belonging to a shortcut +
+ + + + + + + @@ -778012,7 +275244,7 @@
Parameters:
Source:
@@ -778041,7 +275273,7 @@
Returns:
- This + The container name
@@ -778052,7 +275284,7 @@
Returns:
-GogScript +string
@@ -778070,7 +275302,7 @@
Returns:
-

headers(headers) → {Downloader}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -778078,7 +275310,7 @@

headers - Sets the http headers + Sets one setup file name so that the script can fetch it from gog.com @@ -778114,13 +275346,13 @@
Parameters:
- headers + setupFileName -Object +string @@ -778130,7 +275362,7 @@
Parameters:
- The http headers + The setup file name @@ -778171,7 +275403,7 @@
Parameters:
Source:
@@ -778200,7 +275432,7 @@
Returns:
- The Downloader object + This
@@ -778211,7 +275443,7 @@
Returns:
-Downloader +GogScript
@@ -778229,7 +275461,7 @@
Returns:
-

json() → {any}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -778237,7 +275469,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + Sets the setup file(s) name so that the script can fetch it from gog.com @@ -778248,6 +275480,55 @@

json + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupFileNames + + + + + +Array.<string> + + + + + + + + + + The setup file name(s) + + + + + + + @@ -778281,7 +275562,7 @@

jsonSource:
@@ -778310,7 +275591,7 @@
Returns:
- The json value + This
@@ -778321,7 +275602,7 @@
Returns:
-any +GogScript
@@ -778339,7 +275620,7 @@
Returns:
-

kill() → {Wine}

+

headers(headers) → {Downloader}

@@ -778347,7 +275628,7 @@

kill - kill wine server + Sets the http headers @@ -778358,6 +275639,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + headers + + + + + +Object + + + + + + + + + + The http headers + + + + + + + @@ -778391,7 +275721,7 @@

killSource:
@@ -778419,6 +275749,10 @@

kill + The Downloader object + +
@@ -778427,7 +275761,7 @@
Returns:
-Wine +Downloader
@@ -778445,7 +275779,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

json() → {any}

@@ -778453,8 +275787,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 + Gets the content of the downloaded file and returns it as a JSON value
@@ -778465,55 +275798,6 @@

loginToGog< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupWizard - - -SetupWizard - - - - The setupWizard to use
- - @@ -778547,7 +275831,7 @@
Parameters:
Source:
@@ -778576,7 +275860,7 @@
Returns:
- This + The json value
@@ -778587,7 +275871,7 @@
Returns:
-GogScript +any
@@ -778605,7 +275889,7 @@
Returns:
-

message(message) → {Downloader}

+

kill() → {Wine}

@@ -778613,7 +275897,7 @@

message - Sets the download message text + kill wine server @@ -778624,55 +275908,6 @@

messageParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
message - - -string - - - - The download message
- - @@ -778706,7 +275941,7 @@
Parameters:
Source:
@@ -778734,10 +275969,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -778746,7 +275977,7 @@
Returns:
-Downloader +Wine
@@ -778764,7 +275995,7 @@
Returns:
-

miniature(miniatureopt)

+

loginToGog(setupWizard) → {GogScript}

@@ -778772,7 +276003,8 @@

miniature - get/set miniature (for the installation and the shortcut) + 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 @@ -778796,8 +276028,6 @@
Parameters:
Type - Attributes - @@ -778810,33 +276040,23 @@
Parameters:
- miniature + setupWizard -URI +SetupWizard - - - <optional>
- - - - - - - - path to the miniature file + The setupWizard to use @@ -778877,7 +276097,7 @@
Parameters:
Source:
@@ -778902,6 +276122,28 @@
Parameters:
+
Returns:
+ + +
+ This +
+ + + +
+
+ Type +
+
+ +GogScript + + +
+
+ + @@ -778913,7 +276155,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

message(message) → {Downloader}

@@ -778921,7 +276163,7 @@

miniature - Sets the miniature for the shortcut + Sets the download message text @@ -778957,16 +276199,13 @@
Parameters:
- miniature + message -Array.<string> -| - -URI +string @@ -778976,7 +276215,7 @@
Parameters:
- An array which specifies the application of which the miniature shall be used or URI of the miniature + The download message @@ -779017,7 +276256,7 @@
Parameters:
Source:
@@ -779046,7 +276285,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -779057,7 +276296,7 @@
Returns:
-WineShortcut +Downloader
@@ -779075,7 +276314,7 @@
Returns:
-

name(name) → {WineShortcut}

+

miniature(miniatureopt)

@@ -779083,7 +276322,7 @@

name - Sets the shortcut name + get/set miniature (for the installation and the shortcut) @@ -779107,6 +276346,8 @@
Parameters:
Type + Attributes + @@ -779119,23 +276360,33 @@
Parameters:
- name + miniature -string +URI + + + <optional>
+ + + + + - The shortcut name + + + path to the miniature file @@ -779176,7 +276427,147 @@
Parameters:
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:
+
@@ -779234,7 +276625,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -779242,7 +276633,7 @@

name - Sets the resource name + Sets the shortcut name @@ -779294,7 +276685,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -779335,7 +276726,7 @@
Parameters:
Source:
@@ -779364,7 +276755,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -779375,7 +276766,7 @@
Returns:
-Resource +WineShortcut
@@ -779393,7 +276784,7 @@
Returns:
-

of(shortcut) → {void}

+

name(name) → {Resource}

@@ -779401,7 +276792,7 @@

of - Sets shortcut + Sets the resource name @@ -779437,7 +276828,7 @@
Parameters:
- shortcut + name @@ -779453,7 +276844,7 @@
Parameters:
- shortcut + The name of the resource @@ -779494,7 +276885,7 @@
Parameters:
Source:
@@ -779522,6 +276913,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -779530,7 +276925,7 @@
Returns:
-void +Resource
@@ -779548,7 +276943,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

of(shortcut) → {void}

@@ -779556,7 +276951,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets shortcut
@@ -779592,13 +276987,13 @@

Parameters:
- onlyIfUpdateAvailable + shortcut -boolean +string @@ -779608,7 +277003,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + shortcut @@ -779649,7 +277044,7 @@
Parameters:
Source:
@@ -779677,10 +277072,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -779689,7 +277080,7 @@
Returns:
-Downloader +void
@@ -779707,7 +277098,7 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -779715,7 +277106,7 @@

prefix - Sets the shortcut prefix + Specifies if the download shall be executed only if a newer version is available @@ -779751,13 +277142,13 @@
Parameters:
- prefix + onlyIfUpdateAvailable -string +boolean @@ -779767,7 +277158,7 @@
Parameters:
- The shortcut prefix + true the download shall be executed only if a newer version is available @@ -779808,7 +277199,7 @@
Parameters:
Source:
@@ -779837,7 +277228,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -779848,7 +277239,7 @@
Returns:
-WineShortcut +Downloader
@@ -780131,6 +277522,165 @@
Returns:
+

prefix(prefix) → {WineShortcut}

+ + + + + + +
+ Sets the shortcut prefix +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
prefix + + +string + + + + The shortcut prefix
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + + + + + +

prefixDirectory() → {string}

@@ -780237,19 +277787,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
@@ -780285,7 +277994,7 @@

programFi
Source:
@@ -780313,10 +278022,6 @@

programFi

Returns:
-
- name of "Program Files" -
-
@@ -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
@@ -782469,7 +280019,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -782477,7 +280027,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -782570,7 +280120,7 @@
Parameters:
Source:
@@ -782599,7 +280149,7 @@
Returns:
- The Downloader object + The Resource object
@@ -782610,7 +280160,7 @@
Returns:
-Downloader +Resource
@@ -782628,7 +280178,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -782636,7 +280186,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -782729,7 +280279,7 @@
Parameters:
Source:
@@ -782758,7 +280308,7 @@
Returns:
- The Resource object + The Downloader object
@@ -782769,7 +280319,7 @@
Returns:
-Resource +Downloader
@@ -783846,7 +281396,7 @@
Returns:

From 9e50acf699d2affafdb4b3e0b6fe1710b838a9b1 Mon Sep 17 00:00:00 2001 From: plata Date: Wed, 11 Sep 2019 18:31:50 +0200 Subject: [PATCH 10/18] Avoid that runtime is installed multiple times during one installation (#1123) fixes #1055 --- Engines/Wine/Engine/Implementation/script.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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) { From 2b7da4b20523537203990e65fd2b5eb4f89015cc Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 11 Sep 2019 16:34:20 +0000 Subject: [PATCH 11/18] Update translations --- i18n/Messages.properties | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/i18n/Messages.properties b/i18n/Messages.properties index fd1324593f..9a00a8d50d 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 @@ -359,14 +359,14 @@ Download\ "{0}"\ in\ Origin\ and\ shut\ it\ down\ once\ "{0}"\ is\ installed=Dow #: 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 @@ -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 @@ -661,7 +661,7 @@ 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:304 @@ -997,7 +997,7 @@ Please\ select\ the\ .zip\ file.=Please select the .zip file. #: 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 @@ -1012,7 +1012,7 @@ 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:165 Engines/Wine/Verbs/FAudio/script.js:81 From 8f05a7e8407f60d489a795b288461a28e9e510dd Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 11 Sep 2019 16:37:31 +0000 Subject: [PATCH 12/18] Update JSDoc --- .../Engines_Wine_Engine_Implementation_script.js.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html b/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html index 428017c903..1a1d3902e7 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) { From 79a7331c65d958e1bf31628beea029f3a072442b Mon Sep 17 00:00:00 2001 From: ImperatorS79 Date: Wed, 11 Sep 2019 21:05:47 +0200 Subject: [PATCH 13/18] Update script.js --- Engines/Wine/Verbs/d3dx9/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engines/Wine/Verbs/d3dx9/script.js b/Engines/Wine/Verbs/d3dx9/script.js index ed45bfe376..ea3e497247 100644 --- a/Engines/Wine/Verbs/d3dx9/script.js +++ b/Engines/Wine/Verbs/d3dx9/script.js @@ -47,6 +47,7 @@ class D3DX9 { 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) @@ -92,7 +93,7 @@ class D3DX9 { this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx9*.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); new CabExtract() From 7921e443686cb96143f655094d4892f7c965190f Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 11 Sep 2019 19:09:40 +0000 Subject: [PATCH 14/18] Update translations --- i18n/Messages.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/Messages.properties b/i18n/Messages.properties index 9a00a8d50d..13c0ec5b35 100644 --- a/i18n/Messages.properties +++ b/i18n/Messages.properties @@ -464,7 +464,7 @@ Experience\ what\ it\u2019s\ like\ to\ be\ Batman\ and\ face\ off\ against\ Goth #: Engines/Wine/Verbs/d3dx11/script.js:62 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:61 +#: Engines/Wine/Verbs/d3dx9/script.js:62 Extracting\ {0}...=Extracting {0}... #: i18n/tmp/Applications/Games/Assassin's Creed Revelations/application.js:2 @@ -1093,7 +1093,7 @@ Please\ wait\ while\ {0}\ is\ uninstalled...=Please wait while {0} is uninstalle #: Engines/Wine/Verbs/dotnet45/script.js:57 #: Engines/Wine/Verbs/d3dx11/script.js:61 #: Engines/Wine/Verbs/corefonts/script.js:93 -#: Engines/Wine/Verbs/xact/script.js:84 Engines/Wine/Verbs/d3dx9/script.js:60 +#: 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:40 Script/script.js:66 Engines/Wine/QuickScript/Installer From b49f1eff9f10bdd2b376fcc85a0f1c15fd4eea09 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 11 Sep 2019 19:12:51 +0000 Subject: [PATCH 15/18] Update JSDoc --- docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html index 37424623e8..b76960a9c6 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html @@ -75,6 +75,7 @@

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

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) @@ -120,7 +121,7 @@

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

this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx9*.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); new CabExtract() From 43c053a51977db6bcec916c5e7e305eb9cb11db9 Mon Sep 17 00:00:00 2001 From: ImperatorS79 Date: Wed, 11 Sep 2019 21:44:48 +0200 Subject: [PATCH 16/18] Update gdiplus verb (#1121) --- Engines/Wine/Verbs/D9VK/script.js | 3 +- Engines/Wine/Verbs/DXVK/script.js | 3 +- Engines/Wine/Verbs/adobeair/script.js | 3 +- Engines/Wine/Verbs/amstream/script.js | 3 +- Engines/Wine/Verbs/d3dx10/script.js | 3 +- Engines/Wine/Verbs/d3dx11/script.js | 3 +- Engines/Wine/Verbs/dotnet45/script.js | 3 +- Engines/Wine/Verbs/gallium9/script.js | 2 +- Engines/Wine/Verbs/gdiplus/script.js | 41 +++++++++--- Engines/Wine/Verbs/gdiplus_winxp/script.js | 68 ++++++++++++++++++++ Engines/Wine/Verbs/gdiplus_winxp/script.json | 11 ++++ Engines/Wine/Verbs/secur32/script.js | 6 +- Engines/Wine/Verbs/xact/script.js | 6 +- 13 files changed, 135 insertions(+), 20 deletions(-) create mode 100644 Engines/Wine/Verbs/gdiplus_winxp/script.js create mode 100644 Engines/Wine/Verbs/gdiplus_winxp/script.json diff --git a/Engines/Wine/Verbs/D9VK/script.js b/Engines/Wine/Verbs/D9VK/script.js index e97c495e72..073344f30a 100644 --- a/Engines/Wine/Verbs/D9VK/script.js +++ b/Engines/Wine/Verbs/D9VK/script.js @@ -34,6 +34,7 @@ class D9VK { 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"); @@ -83,7 +84,7 @@ class D9VK { } }); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); // copy 64 bits dll to system* diff --git a/Engines/Wine/Verbs/DXVK/script.js b/Engines/Wine/Verbs/DXVK/script.js index 7dd5046980..6992625e9a 100644 --- a/Engines/Wine/Verbs/DXVK/script.js +++ b/Engines/Wine/Verbs/DXVK/script.js @@ -35,6 +35,7 @@ class DXVK { 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"); @@ -90,7 +91,7 @@ class DXVK { } }); - if (this.wine.architecture() == "amd64") { + if (architecture == "amd64") { const sys64dir = this.wine.system64directory(); //Copy 64 bits dll to system* diff --git a/Engines/Wine/Verbs/adobeair/script.js b/Engines/Wine/Verbs/adobeair/script.js index 207b405014..c5d334f5fb 100644 --- a/Engines/Wine/Verbs/adobeair/script.js +++ b/Engines/Wine/Verbs/adobeair/script.js @@ -14,6 +14,7 @@ class AdobeAir { } 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(); @@ -21,7 +22,7 @@ class AdobeAir { this.wine.windowsVersion("winxp"); const adobeair = new Resource() - .wizard(this.wizard()) + .wizard(wizard) .url("https://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe") .name("AdobeAIRInstaller.exe") .get(); diff --git a/Engines/Wine/Verbs/amstream/script.js b/Engines/Wine/Verbs/amstream/script.js index 4ed2cf4e92..91b430bbe3 100644 --- a/Engines/Wine/Verbs/amstream/script.js +++ b/Engines/Wine/Verbs/amstream/script.js @@ -19,6 +19,7 @@ class Amstream { go() { const wizard = this.wine.wizard(); const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); const setupFile = new Resource() .wizard(wizard) @@ -50,7 +51,7 @@ class Amstream { this.wine.regsvr32().install("amstream.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); const setupFilex64 = new Resource() diff --git a/Engines/Wine/Verbs/d3dx10/script.js b/Engines/Wine/Verbs/d3dx10/script.js index d66a5e908c..c17812b978 100644 --- a/Engines/Wine/Verbs/d3dx10/script.js +++ b/Engines/Wine/Verbs/d3dx10/script.js @@ -47,6 +47,7 @@ class D3DX10 { 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) @@ -84,7 +85,7 @@ class D3DX10 { this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx10*.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); new CabExtract() diff --git a/Engines/Wine/Verbs/d3dx11/script.js b/Engines/Wine/Verbs/d3dx11/script.js index 554bd10f72..d5b0d71961 100644 --- a/Engines/Wine/Verbs/d3dx11/script.js +++ b/Engines/Wine/Verbs/d3dx11/script.js @@ -47,6 +47,7 @@ class D3DX11 { 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) @@ -72,7 +73,7 @@ class D3DX11 { this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "*.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); new CabExtract() diff --git a/Engines/Wine/Verbs/dotnet45/script.js b/Engines/Wine/Verbs/dotnet45/script.js index f7540feb3b..677af49130 100755 --- a/Engines/Wine/Verbs/dotnet45/script.js +++ b/Engines/Wine/Verbs/dotnet45/script.js @@ -20,8 +20,9 @@ class DotNET45 { go() { const wizard = this.wine.wizard(); const windowsVersion = this.wine.windowsVersion(); + const architecture = this.wine.architecture(); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { print( tr( "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", diff --git a/Engines/Wine/Verbs/gallium9/script.js b/Engines/Wine/Verbs/gallium9/script.js index 0db50e40fb..efb30e5a25 100644 --- a/Engines/Wine/Verbs/gallium9/script.js +++ b/Engines/Wine/Verbs/gallium9/script.js @@ -37,7 +37,7 @@ class Gallium9 { this.gallium9Version = "0.4"; } - this.wizard().message( + 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)." ) diff --git a/Engines/Wine/Verbs/gdiplus/script.js b/Engines/Wine/Verbs/gdiplus/script.js index 54ca7ab51b..73832d13dc 100644 --- a/Engines/Wine/Verbs/gdiplus/script.js +++ b/Engines/Wine/Verbs/gdiplus/script.js @@ -1,6 +1,7 @@ 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"); @@ -18,19 +19,43 @@ class GDIPlus { 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/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" - ) - .checksum("b9a84bc3de92863bba1f5eb1d598446567fbc646") - .name("WindowsXP-KB975337-x86-ENU.exe") + .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(); - wizard.wait(tr("Please wait while {0} is installed...", "GDI+")); + 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); + } - this.wine.run(setupFile, ["/extract:C:\\Tmp", "/q"], null, true, true); + remove(`${prefixDirectory}/drive_c/gdiplus/`); this.wine .overrideDLL() 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/secur32/script.js b/Engines/Wine/Verbs/secur32/script.js index ff48fd0017..cf4f58ce02 100644 --- a/Engines/Wine/Verbs/secur32/script.js +++ b/Engines/Wine/Verbs/secur32/script.js @@ -19,7 +19,7 @@ class Secur32 { const wizard = this.wine.wizard(); const prefixDirectory = this.wine.prefixDirectory(); const system32directory = this.wine.system32directory(); - const system64directory = this.wine.system64directory(); + const architecture = this.wine.architecture(); const setupFilex86 = new Resource() .wizard(wizard) @@ -47,7 +47,9 @@ class Secur32 { remove(`${prefixDirectory}/TMP/`); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + const setupFilex64 = new Resource() .wizard(wizard) .url( diff --git a/Engines/Wine/Verbs/xact/script.js b/Engines/Wine/Verbs/xact/script.js index be383594c6..61c9bf7dec 100644 --- a/Engines/Wine/Verbs/xact/script.js +++ b/Engines/Wine/Verbs/xact/script.js @@ -70,7 +70,7 @@ class Xact { const wizard = this.wine.wizard(); const prefixDirectory = this.wine.prefixDirectory(); const system32directory = this.wine.system32directory(); - const system64directory = this.wine.system64directory(); + const architecture = this.wine.architecture(); const setupFile = new Resource() .wizard(wizard) @@ -195,7 +195,9 @@ class Xact { remove(`${prefixDirectory}/drive_c/x3daudio_x86/`); remove(`${prefixDirectory}/drive_c/xaudio_x86/`); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + //---------------------------------------------------------Extract xactengine*.dll (x64)-------------------------------------------- new CabExtract() .wizard(wizard) From ae2ecaedc6ed0eaa7425786ce7c32d2b1406539f Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 11 Sep 2019 19:47:35 +0000 Subject: [PATCH 17/18] Update translations --- i18n/Messages.properties | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/i18n/Messages.properties b/i18n/Messages.properties index 13c0ec5b35..77444c6aee 100644 --- a/i18n/Messages.properties +++ b/i18n/Messages.properties @@ -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:43 +#: 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:44 +#: 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 @@ -458,10 +458,10 @@ Experience\ what\ it\u2019s\ like\ to\ be\ Batman\ and\ face\ off\ against\ Goth #: Engines/Wine/Verbs/d3dx10/script.js:31 #: Engines/Wine/Verbs/d3dx10/script.js:33 -#: Engines/Wine/Verbs/d3dx10/script.js:61 +#: 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:62 Engines/Wine/Verbs/xact/script.js:34 +#: 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 @@ -967,10 +967,10 @@ 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:49 +#: 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:50 +#: 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:48 @@ -1015,8 +1015,8 @@ Please\ select\ the\ installation\ file.\nYou\ can\ download\ it\ from\ https\:/ #: 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:165 Engines/Wine/Verbs/FAudio/script.js:81 -#: Engines/Wine/Verbs/VK9/script.js:114 Engines/Wine/Verbs/D9VK/script.js:105 +#: 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 @@ -1057,8 +1057,8 @@ Please\ wait\ while\ {0}\ is\ extracted...=Please wait while {0} is extracted... #: 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:32 -#: Engines/Wine/Verbs/amstream/script.js:65 +#: 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 @@ -1066,10 +1066,9 @@ Please\ wait\ while\ {0}\ is\ extracted...=Please wait while {0} is extracted... #: 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:53 +#: Engines/Wine/Verbs/dotnet45/script.js:54 #: Engines/Wine/Verbs/msxml6/script.js:41 #: Engines/Wine/Verbs/msxml6/script.js:54 -#: Engines/Wine/Verbs/gdiplus/script.js:31 #: 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 @@ -1085,13 +1084,13 @@ Please\ wait\ while\ {0}\ is\ uninstalled...=Please wait while {0} is uninstalle #: 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:60 +#: 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:57 -#: Engines/Wine/Verbs/d3dx11/script.js:61 +#: 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 @@ -1627,8 +1626,8 @@ This\ package\ ({0})\ does\ not\ work\ currently.\ Use\ it\ only\ for\ testing\! #: Engines/Wine/Verbs/dotnet40/script.js:26 #: Engines/Wine/Verbs/dotnet40/script.js:91 -#: Engines/Wine/Verbs/dotnet45/script.js:27 -#: Engines/Wine/Verbs/dotnet45/script.js:83 +#: 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 @@ -1935,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 @@ -2069,7 +2071,7 @@ vulkanSDK=vulkanSDK xact=xact #: Engines/Wine/Verbs/dotnet452/script.js:62 -#: Engines/Wine/Verbs/dotnet45/script.js:69 +#: 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 From a10b795632f09ebe8283e5c41cf0f648af7b3cc2 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Wed, 11 Sep 2019 19:52:41 +0000 Subject: [PATCH 18/18] Update JSDoc --- docs/jsdoc/AdobeAir.html | 2 +- docs/jsdoc/Amstream.html | 2 +- docs/jsdoc/Atmlib.html | 2 +- docs/jsdoc/Corefonts.html | 2 +- docs/jsdoc/Crypt32.html | 2 +- docs/jsdoc/D3DX10.html | 2 +- docs/jsdoc/D3DX11.html | 2 +- docs/jsdoc/D3DX9.html | 2 +- docs/jsdoc/D3drm.html | 2 +- docs/jsdoc/DXVK.html | 2 +- docs/jsdoc/Devenum.html | 2 +- docs/jsdoc/DotNET20.html | 2 +- docs/jsdoc/DotNET20SP2.html | 2 +- docs/jsdoc/DotNET40.html | 2 +- docs/jsdoc/DotNET45.html | 2 +- docs/jsdoc/DotNET452.html | 2 +- docs/jsdoc/DotNET46.html | 2 +- docs/jsdoc/DotNET461.html | 2 +- docs/jsdoc/DotNET462.html | 2 +- docs/jsdoc/DotNET472.html | 2 +- ..._Wine_Engine_Implementation_script.js.html | 2 +- .../Engines_Wine_Engine_Object_script.js.html | 2 +- ...es_Wine_Plugins_DOS support_script.js.html | 2 +- ...Plugins_DirectDraw renderer_script.js.html | 2 +- ...Wine_Plugins_Font smoothing_script.js.html | 2 +- .../Engines_Wine_Plugins_GLSL_script.js.html | 2 +- ...Wine_Plugins_OpenGL version_script.js.html | 2 +- ...s_Wine_Plugins_UseTakeFocus_script.js.html | 2 +- ...ine_Plugins_Windows version_script.js.html | 2 +- .../Engines_Wine_Plugins_csmt_script.js.html | 2 +- .../Engines_Wine_Plugins_hdpi_script.js.html | 2 +- ...ngines_Wine_Plugins_managed_script.js.html | 2 +- ..._Plugins_native application_script.js.html | 2 +- ..._Wine_Plugins_nocrashdialog_script.js.html | 2 +- ...ngines_Wine_Plugins_regedit_script.js.html | 2 +- ...gines_Wine_Plugins_regsvr32_script.js.html | 2 +- ...s_Wine_Plugins_sound driver_script.js.html | 2 +- ...ine_Plugins_virtual desktop_script.js.html | 2 +- ...Wine_QuickScript_GoG Script_script.js.html | 2 +- ...ne_QuickScript_Quick Script_script.js.html | 2 +- ...ettings_DirectDraw renderer_script.js.html | 2 +- ...ine_Settings_Font smoothing_script.js.html | 2 +- .../Engines_Wine_Settings_GLSL_script.js.html | 2 +- ..._Wine_Settings_UseTakeFocus_script.js.html | 2 +- ...e_Settings_always offscreen_script.js.html | 2 +- .../Engines_Wine_Settings_hdpi_script.js.html | 2 +- ...ettings_mouse warp override_script.js.html | 2 +- ...Wine_Settings_multisampling_script.js.html | 2 +- ...gs_offscreen rendering mode_script.js.html | 2 +- ...ngs_render target lock mode_script.js.html | 2 +- ...ttings_strict draw ordering_script.js.html | 2 +- ..._Settings_video memory size_script.js.html | 2 +- ...gines_Wine_Shortcuts_Reader_script.js.html | 2 +- ...Engines_Wine_Shortcuts_Wine_script.js.html | 2 +- ...s_Wine_Tools_Configure Wine_script.js.html | 2 +- ...e_Tools_Kill Wine Processes_script.js.html | 2 +- ...ines_Wine_Tools_Reboot Wine_script.js.html | 2 +- ...ne_Tools_Repair Wine Prefix_script.js.html | 2 +- ..._Tools_Wine Registry Editor_script.js.html | 2 +- ...ine_Tools_Wine Task Manager_script.js.html | 2 +- ..._Tools_Wine Terminal Opener_script.js.html | 2 +- ...Wine_Tools_Wine Uninstaller_script.js.html | 2 +- ...ines_Wine_Tools_WineConsole_script.js.html | 2 +- .../Engines_Wine_Verbs_DXVK_script.js.html | 5 +- .../Engines_Wine_Verbs_FAudio_script.js.html | 2 +- .../Engines_Wine_Verbs_PhysX_script.js.html | 2 +- ...es_Wine_Verbs_QuickTime 7.6_script.js.html | 2 +- ...ines_Wine_Verbs_Remove Mono_script.js.html | 2 +- .../Engines_Wine_Verbs_Tahoma_script.js.html | 2 +- .../Engines_Wine_Verbs_Uplay_script.js.html | 2 +- .../Engines_Wine_Verbs_VK9_script.js.html | 2 +- ..._Wine_Verbs_Windows XP SP 3_script.js.html | 2 +- ...Engines_Wine_Verbs_adobeair_script.js.html | 5 +- ...Engines_Wine_Verbs_amstream_script.js.html | 5 +- .../Engines_Wine_Verbs_atmlib_script.js.html | 2 +- ...ngines_Wine_Verbs_corefonts_script.js.html | 2 +- .../Engines_Wine_Verbs_crypt32_script.js.html | 2 +- .../Engines_Wine_Verbs_d3drm_script.js.html | 2 +- .../Engines_Wine_Verbs_d3dx10_script.js.html | 5 +- .../Engines_Wine_Verbs_d3dx11_script.js.html | 5 +- .../Engines_Wine_Verbs_d3dx9_script.js.html | 2 +- .../Engines_Wine_Verbs_devenum_script.js.html | 2 +- ...Engines_Wine_Verbs_dotnet20_script.js.html | 2 +- ...ines_Wine_Verbs_dotnet20sp2_script.js.html | 2 +- ...Engines_Wine_Verbs_dotnet40_script.js.html | 2 +- ...ngines_Wine_Verbs_dotnet452_script.js.html | 2 +- ...Engines_Wine_Verbs_dotnet45_script.js.html | 5 +- ...ngines_Wine_Verbs_dotnet461_script.js.html | 2 +- ...ngines_Wine_Verbs_dotnet462_script.js.html | 2 +- ...Engines_Wine_Verbs_dotnet46_script.js.html | 2 +- ...ngines_Wine_Verbs_dotnet472_script.js.html | 2 +- ...Engines_Wine_Verbs_gallium9_script.js.html | 4 +- .../Engines_Wine_Verbs_gdiplus_script.js.html | 47 +- ...es_Wine_Verbs_gdiplus_winxp_script.js.html | 119 + .../Engines_Wine_Verbs_luna_script.js.html | 2 +- .../Engines_Wine_Verbs_mfc42_script.js.html | 2 +- .../Engines_Wine_Verbs_msls31_script.js.html | 2 +- ...Engines_Wine_Verbs_mspatcha_script.js.html | 2 +- .../Engines_Wine_Verbs_msxml3_script.js.html | 2 +- .../Engines_Wine_Verbs_msxml6_script.js.html | 2 +- .../Engines_Wine_Verbs_quartz_script.js.html | 2 +- .../Engines_Wine_Verbs_sandbox_script.js.html | 2 +- .../Engines_Wine_Verbs_secur32_script.js.html | 8 +- ...ngines_Wine_Verbs_vcrun2003_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2005_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2008_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2010_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2012_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2013_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2015_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun2017_script.js.html | 2 +- ...ngines_Wine_Verbs_vcrun6sp6_script.js.html | 2 +- ...ngines_Wine_Verbs_vulkanSDK_script.js.html | 2 +- .../Engines_Wine_Verbs_xact_script.js.html | 8 +- docs/jsdoc/FAudio.html | 2 +- docs/jsdoc/GDIPlus.html | 4 +- docs/jsdoc/GDIPlusWinXP.html | 192 + docs/jsdoc/Gallium9.html | 2 +- docs/jsdoc/Luna.html | 2 +- docs/jsdoc/Mfc42.html | 2 +- docs/jsdoc/Msls31.html | 2 +- docs/jsdoc/Mspatcha.html | 2 +- docs/jsdoc/Msxml3.html | 2 +- docs/jsdoc/Msxml6.html | 2 +- docs/jsdoc/PhysX.html | 2 +- docs/jsdoc/Quartz.html | 2 +- docs/jsdoc/QuickTime76.html | 2 +- docs/jsdoc/RemoveMono.html | 2 +- docs/jsdoc/Sandbox.html | 2 +- docs/jsdoc/Secur32.html | 2 +- docs/jsdoc/Tahoma.html | 2 +- docs/jsdoc/Uplay.html | 2 +- ...nctions_Apps_PlainInstaller_script.js.html | 2 +- ...ls_Functions_Apps_Resources_script.js.html | 2 +- ...unctions_Filesystem_Extract_script.js.html | 2 +- ..._Functions_Filesystem_Files_script.js.html | 2 +- ...tils_Functions_Net_Download_script.js.html | 2 +- ...tils_Functions_Net_Resource_script.js.html | 2 +- ...ions_System_virtual desktop_script.js.html | 2 +- docs/jsdoc/VK9.html | 2 +- docs/jsdoc/Vcrun2003.html | 2 +- docs/jsdoc/Vcrun2005.html | 2 +- docs/jsdoc/Vcrun2008.html | 2 +- docs/jsdoc/Vcrun2010.html | 2 +- docs/jsdoc/Vcrun2012.html | 2 +- docs/jsdoc/Vcrun2013.html | 2 +- docs/jsdoc/Vcrun2015.html | 2 +- docs/jsdoc/Vcrun2017.html | 2 +- docs/jsdoc/Vcrun6SP6.html | 2 +- docs/jsdoc/VulkanSDK.html | 2 +- docs/jsdoc/WindowsXPSP3.html | 2 +- docs/jsdoc/Xact.html | 2 +- docs/jsdoc/global.html | 2 +- docs/jsdoc/index.html | 2 +- docs/jsdoc/module.CabExtract.html | 2 +- docs/jsdoc/module.Checksum.html | 2 +- docs/jsdoc/module.Extractor.html | 2 +- docs/jsdoc/module.default.html | 23158 ++++++++-------- 158 files changed, 12102 insertions(+), 11756 deletions(-) create mode 100644 docs/jsdoc/Engines_Wine_Verbs_gdiplus_winxp_script.js.html create mode 100644 docs/jsdoc/GDIPlusWinXP.html diff --git a/docs/jsdoc/AdobeAir.html b/docs/jsdoc/AdobeAir.html index d494480a60..59b37333b3 100644 --- a/docs/jsdoc/AdobeAir.html +++ b/docs/jsdoc/AdobeAir.html @@ -155,7 +155,7 @@

new AdobeAir<
diff --git a/docs/jsdoc/Amstream.html b/docs/jsdoc/Amstream.html index 7360bba2f0..7bd5acdf71 100644 --- a/docs/jsdoc/Amstream.html +++ b/docs/jsdoc/Amstream.html @@ -155,7 +155,7 @@

new Amstream<
diff --git a/docs/jsdoc/Atmlib.html b/docs/jsdoc/Atmlib.html index ee4d2c1fe7..fcc56f112c 100644 --- a/docs/jsdoc/Atmlib.html +++ b/docs/jsdoc/Atmlib.html @@ -155,7 +155,7 @@

new Atmlib
diff --git a/docs/jsdoc/Corefonts.html b/docs/jsdoc/Corefonts.html index 52b86903c6..19f7333070 100644 --- a/docs/jsdoc/Corefonts.html +++ b/docs/jsdoc/Corefonts.html @@ -155,7 +155,7 @@

new Corefont
diff --git a/docs/jsdoc/Crypt32.html b/docs/jsdoc/Crypt32.html index 4308fcd5cf..5c34676de6 100644 --- a/docs/jsdoc/Crypt32.html +++ b/docs/jsdoc/Crypt32.html @@ -155,7 +155,7 @@

new Crypt32
diff --git a/docs/jsdoc/D3DX10.html b/docs/jsdoc/D3DX10.html index 8604f4c82f..7ec9b4af32 100644 --- a/docs/jsdoc/D3DX10.html +++ b/docs/jsdoc/D3DX10.html @@ -383,7 +383,7 @@
Returns:

diff --git a/docs/jsdoc/D3DX11.html b/docs/jsdoc/D3DX11.html index 300827578b..2c8424daff 100644 --- a/docs/jsdoc/D3DX11.html +++ b/docs/jsdoc/D3DX11.html @@ -383,7 +383,7 @@
Returns:

diff --git a/docs/jsdoc/D3DX9.html b/docs/jsdoc/D3DX9.html index 8c42b4123c..7b33fa3ddc 100644 --- a/docs/jsdoc/D3DX9.html +++ b/docs/jsdoc/D3DX9.html @@ -383,7 +383,7 @@
Returns:

diff --git a/docs/jsdoc/D3drm.html b/docs/jsdoc/D3drm.html index b03935bc18..d3943f6233 100644 --- a/docs/jsdoc/D3drm.html +++ b/docs/jsdoc/D3drm.html @@ -155,7 +155,7 @@

new D3drm
diff --git a/docs/jsdoc/DXVK.html b/docs/jsdoc/DXVK.html index 57125ce9e2..3da172ee0d 100644 --- a/docs/jsdoc/DXVK.html +++ b/docs/jsdoc/DXVK.html @@ -320,7 +320,7 @@
Returns:

diff --git a/docs/jsdoc/Devenum.html b/docs/jsdoc/Devenum.html index 50a91758d7..43c54a751e 100644 --- a/docs/jsdoc/Devenum.html +++ b/docs/jsdoc/Devenum.html @@ -155,7 +155,7 @@

new Devenum
diff --git a/docs/jsdoc/DotNET20.html b/docs/jsdoc/DotNET20.html index 130d8c6834..0f0da8571f 100644 --- a/docs/jsdoc/DotNET20.html +++ b/docs/jsdoc/DotNET20.html @@ -155,7 +155,7 @@

new DotNET20<
diff --git a/docs/jsdoc/DotNET20SP2.html b/docs/jsdoc/DotNET20SP2.html index c04cf8cb12..2795ce73ed 100644 --- a/docs/jsdoc/DotNET20SP2.html +++ b/docs/jsdoc/DotNET20SP2.html @@ -155,7 +155,7 @@

new DotNET
diff --git a/docs/jsdoc/DotNET40.html b/docs/jsdoc/DotNET40.html index ae70fa8a1f..26ad8b7061 100644 --- a/docs/jsdoc/DotNET40.html +++ b/docs/jsdoc/DotNET40.html @@ -155,7 +155,7 @@

new DotNET40<
diff --git a/docs/jsdoc/DotNET45.html b/docs/jsdoc/DotNET45.html index fecc48255c..eb2b739d26 100644 --- a/docs/jsdoc/DotNET45.html +++ b/docs/jsdoc/DotNET45.html @@ -155,7 +155,7 @@

new DotNET45<
diff --git a/docs/jsdoc/DotNET452.html b/docs/jsdoc/DotNET452.html index cdc62407b7..18ac4cb0ef 100644 --- a/docs/jsdoc/DotNET452.html +++ b/docs/jsdoc/DotNET452.html @@ -155,7 +155,7 @@

new DotNET45
diff --git a/docs/jsdoc/DotNET46.html b/docs/jsdoc/DotNET46.html index a0f49367e3..7b69f8b912 100644 --- a/docs/jsdoc/DotNET46.html +++ b/docs/jsdoc/DotNET46.html @@ -155,7 +155,7 @@

new DotNET46<
diff --git a/docs/jsdoc/DotNET461.html b/docs/jsdoc/DotNET461.html index 78c78020ce..a71429dfde 100644 --- a/docs/jsdoc/DotNET461.html +++ b/docs/jsdoc/DotNET461.html @@ -155,7 +155,7 @@

new DotNET46
diff --git a/docs/jsdoc/DotNET462.html b/docs/jsdoc/DotNET462.html index ff236a8334..bfb0531632 100644 --- a/docs/jsdoc/DotNET462.html +++ b/docs/jsdoc/DotNET462.html @@ -155,7 +155,7 @@

new DotNET46
diff --git a/docs/jsdoc/DotNET472.html b/docs/jsdoc/DotNET472.html index 212ab01749..959200ba76 100644 --- a/docs/jsdoc/DotNET472.html +++ b/docs/jsdoc/DotNET472.html @@ -155,7 +155,7 @@

new DotNET47
diff --git a/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html b/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html index 1a1d3902e7..356fd49101 100644 --- a/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html +++ b/docs/jsdoc/Engines_Wine_Engine_Implementation_script.js.html @@ -580,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 9a97d82880..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 29a922ef94..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 2913895363..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 ed1cdd6822..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 a33fbd1fed..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 8bab51f125..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 68caa525e9..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 8f48db92a3..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 ac5623c472..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 d79239d066..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 52e420e6dd..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 9896e9dd28..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 72581e1002..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 3cfeeaf00e..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 d4a51c4137..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 24d3b493f7..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 198a9bcda0..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 ee9b33254d..e330df5efa 100644 --- a/docs/jsdoc/Engines_Wine_QuickScript_GoG Script_script.js.html +++ b/docs/jsdoc/Engines_Wine_QuickScript_GoG Script_script.js.html @@ -161,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 d3e196454b..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 2b4d04b317..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 28b1e28df5..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 52e89226b4..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 8e0b186dc0..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 1ca83456b0..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 ed41b41960..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 9580b6e2fe..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 d77b68d3b9..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 cd181a2928..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 57ebdc3c91..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 2ed365a866..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 d060fcc695..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 39aa66e158..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 719a38601a..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 a1e930cce6..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 2cce056bba..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 972297b259..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 488b883790..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 1770bb8d23..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 10bcb1e354..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 d9adbfd730..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 eaf5766f81..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 73d8e48276..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_DXVK_script.js.html b/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html index 04c5a59247..a0482407f5 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_DXVK_script.js.html @@ -63,6 +63,7 @@

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

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"); @@ -118,7 +119,7 @@

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

} }); - if (this.wine.architecture() == "amd64") { + if (architecture == "amd64") { const sys64dir = this.wine.system64directory(); //Copy 64 bits dll to system* @@ -210,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 aba0aed7f2..138b724cc3 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_FAudio_script.js.html @@ -126,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 81b71270fd..f0d7293e7a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_PhysX_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_PhysX_script.js.html @@ -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 0d4a1edffc..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 @@ -91,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 0b996f1ea9..0eb3191f58 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Remove Mono_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Remove Mono_script.js.html @@ -91,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 6bb6c48125..81fdded84f 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Tahoma_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Tahoma_script.js.html @@ -95,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 fa3486f8e7..494dad1fd0 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_Uplay_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_Uplay_script.js.html @@ -81,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 302114935b..deffd6cfe9 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_VK9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_VK9_script.js.html @@ -159,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 01e944dde9..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 @@ -110,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 1505fc661d..9ccdfc0dfc 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_adobeair_script.js.html @@ -42,6 +42,7 @@

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

} 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(); @@ -49,7 +50,7 @@

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

this.wine.windowsVersion("winxp"); const adobeair = new Resource() - .wizard(this.wizard()) + .wizard(wizard) .url("https://airdownload.adobe.com/air/win/download/latest/AdobeAIRInstaller.exe") .name("AdobeAIRInstaller.exe") .get(); @@ -84,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 56126fcb4c..19b290a354 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_amstream_script.js.html @@ -47,6 +47,7 @@

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

go() { const wizard = this.wine.wizard(); const system32directory = this.wine.system32directory(); + const architecture = this.wine.architecture(); const setupFile = new Resource() .wizard(wizard) @@ -78,7 +79,7 @@

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

this.wine.regsvr32().install("amstream.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); const setupFilex64 = new Resource() @@ -141,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 175ffae77c..01c5ebad48 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_atmlib_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_atmlib_script.js.html @@ -93,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 27283d1df6..96e2333927 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_corefonts_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_corefonts_script.js.html @@ -193,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 9533ace76c..89f65d974e 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_crypt32_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_crypt32_script.js.html @@ -75,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 eaad96fc35..c876c4cc5d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3drm_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3drm_script.js.html @@ -100,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 8faed06455..20f13e500d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx10_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx10_script.js.html @@ -75,6 +75,7 @@

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

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) @@ -112,7 +113,7 @@

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

this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "d3dx10*.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); new CabExtract() @@ -181,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 c5c784a5c1..9eb845bc84 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx11_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx11_script.js.html @@ -75,6 +75,7 @@

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

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) @@ -100,7 +101,7 @@

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

this.extractDirectXToSystemDirectory(progressBar, filesToExtractx86, system32directory, "*.dll"); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { const system64directory = this.wine.system64directory(); new CabExtract() @@ -149,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 b76960a9c6..82c7bb82c7 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_d3dx9_script.js.html @@ -207,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 86514b06d6..0fc183918d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_devenum_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_devenum_script.js.html @@ -102,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 5e40001fd2..6a19012234 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet20_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet20_script.js.html @@ -114,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 5137ed4121..1b268de0eb 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet20sp2_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet20sp2_script.js.html @@ -122,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 dba65a02c2..0f4c8123ea 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet40_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet40_script.js.html @@ -139,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 a21c051331..d5eb875d46 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet452_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet452_script.js.html @@ -117,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 3205959063..901ca6825a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet45_script.js.html @@ -48,8 +48,9 @@

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

go() { const wizard = this.wine.wizard(); const windowsVersion = this.wine.windowsVersion(); + const architecture = this.wine.architecture(); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { print( tr( "This package ({0}) may not fully work on a 64-bit installation. 32-bit prefixes may work better.", @@ -131,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 04822f066f..0b6b61205c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet461_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet461_script.js.html @@ -113,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 ab5e773207..1f4e986ff4 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet462_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet462_script.js.html @@ -113,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 1807862ae5..b188b5122c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet46_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet46_script.js.html @@ -113,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 84947af7da..6b22287966 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_dotnet472_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_dotnet472_script.js.html @@ -113,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 c6c07a8434..789f0bfab7 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_gallium9_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_gallium9_script.js.html @@ -65,7 +65,7 @@

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

this.gallium9Version = "0.4"; } - this.wizard().message( + 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)." ) @@ -149,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 dceb396dbf..11637119ad 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_gdiplus_script.js.html @@ -28,7 +28,8 @@

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");
 
@@ -46,19 +47,43 @@ 

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

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/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/WindowsXP-KB975337-x86-ENU.exe" - ) - .checksum("b9a84bc3de92863bba1f5eb1d598446567fbc646") - .name("WindowsXP-KB975337-x86-ENU.exe") + .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(); - - wizard.wait(tr("Please wait while {0} is installed...", "GDI+")); - - this.wine.run(setupFile, ["/extract:C:\\Tmp", "/q"], null, true, true); + + 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() @@ -92,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 2f87085674..a3ab6e3c1c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_luna_script.js.html @@ -91,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 605eddcb4c..10e1db25d8 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_mfc42_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_mfc42_script.js.html @@ -99,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 6ff94bc4eb..054bf2685f 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_msls31_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_msls31_script.js.html @@ -85,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 65e7601bc6..1ad43e3076 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_mspatcha_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_mspatcha_script.js.html @@ -103,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 5cd3d113cf..137313a0fe 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_msxml3_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_msxml3_script.js.html @@ -89,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 3fc505c3c7..4f30a256ab 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_msxml6_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_msxml6_script.js.html @@ -109,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 d045825aa3..a40cbc287a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_quartz_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_quartz_script.js.html @@ -104,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 131d4113da..8c5e882147 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_sandbox_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_sandbox_script.js.html @@ -78,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 bd19cba357..b713e2719f 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_secur32_script.js.html @@ -47,7 +47,7 @@

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

const wizard = this.wine.wizard(); const prefixDirectory = this.wine.prefixDirectory(); const system32directory = this.wine.system32directory(); - const system64directory = this.wine.system64directory(); + const architecture = this.wine.architecture(); const setupFilex86 = new Resource() .wizard(wizard) @@ -75,7 +75,9 @@

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

remove(`${prefixDirectory}/TMP/`); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + const setupFilex64 = new Resource() .wizard(wizard) .url( @@ -133,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 ef88051d7c..2927ae1048 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2003_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2003_script.js.html @@ -85,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 ef6bd1cb08..e1c96890e1 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2005_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2005_script.js.html @@ -85,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 62c265fe2d..9021170030 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2008_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2008_script.js.html @@ -100,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 11e0a66d5f..1c5d5db16e 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2010_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2010_script.js.html @@ -100,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 371b24cb12..b622c04c4c 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2012_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2012_script.js.html @@ -102,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 2e41d633d9..67afdc305d 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2013_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2013_script.js.html @@ -100,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 eb45c414de..e9656c0b5b 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2015_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2015_script.js.html @@ -115,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 062672af2e..3dc987112a 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun2017_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun2017_script.js.html @@ -117,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 f901d1bb2e..3458b70aaa 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vcrun6sp6_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vcrun6sp6_script.js.html @@ -94,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 1a063f5758..2056573f92 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_vulkanSDK_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_vulkanSDK_script.js.html @@ -123,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 2aaa01be5a..6c7a8abbc2 100644 --- a/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html +++ b/docs/jsdoc/Engines_Wine_Verbs_xact_script.js.html @@ -98,7 +98,7 @@

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

const wizard = this.wine.wizard(); const prefixDirectory = this.wine.prefixDirectory(); const system32directory = this.wine.system32directory(); - const system64directory = this.wine.system64directory(); + const architecture = this.wine.architecture(); const setupFile = new Resource() .wizard(wizard) @@ -223,7 +223,9 @@

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

remove(`${prefixDirectory}/drive_c/x3daudio_x86/`); remove(`${prefixDirectory}/drive_c/xaudio_x86/`); - if (this.architecture() == "amd64") { + if (architecture == "amd64") { + const system64directory = this.wine.system64directory(); + //---------------------------------------------------------Extract xactengine*.dll (x64)-------------------------------------------- new CabExtract() .wizard(wizard) @@ -324,7 +326,7 @@

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


diff --git a/docs/jsdoc/FAudio.html b/docs/jsdoc/FAudio.html index 7aa0bf5357..3c581c7535 100644 --- a/docs/jsdoc/FAudio.html +++ b/docs/jsdoc/FAudio.html @@ -319,7 +319,7 @@
Returns:

diff --git a/docs/jsdoc/GDIPlus.html b/docs/jsdoc/GDIPlus.html index 11b42d583c..8cb7668022 100644 --- a/docs/jsdoc/GDIPlus.html +++ b/docs/jsdoc/GDIPlus.html @@ -93,7 +93,7 @@

new GDIPlusSource:
@@ -155,7 +155,7 @@

new GDIPlus
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 index 5cd39861a2..02c8236451 100644 --- a/docs/jsdoc/Gallium9.html +++ b/docs/jsdoc/Gallium9.html @@ -319,7 +319,7 @@
Returns:

diff --git a/docs/jsdoc/Luna.html b/docs/jsdoc/Luna.html index 937844b4ac..3e9225d6fb 100644 --- a/docs/jsdoc/Luna.html +++ b/docs/jsdoc/Luna.html @@ -155,7 +155,7 @@

new Luna
diff --git a/docs/jsdoc/Mfc42.html b/docs/jsdoc/Mfc42.html index 81531f3c68..5e7fc0bf6e 100644 --- a/docs/jsdoc/Mfc42.html +++ b/docs/jsdoc/Mfc42.html @@ -155,7 +155,7 @@

new Mfc42
diff --git a/docs/jsdoc/Msls31.html b/docs/jsdoc/Msls31.html index 0dc2553497..ae75335b5c 100644 --- a/docs/jsdoc/Msls31.html +++ b/docs/jsdoc/Msls31.html @@ -155,7 +155,7 @@

new Msls31
diff --git a/docs/jsdoc/Mspatcha.html b/docs/jsdoc/Mspatcha.html index 0f621ca943..6cc619af70 100644 --- a/docs/jsdoc/Mspatcha.html +++ b/docs/jsdoc/Mspatcha.html @@ -155,7 +155,7 @@

new Mspatcha<
diff --git a/docs/jsdoc/Msxml3.html b/docs/jsdoc/Msxml3.html index 60a62fb126..e33d3e51b0 100644 --- a/docs/jsdoc/Msxml3.html +++ b/docs/jsdoc/Msxml3.html @@ -155,7 +155,7 @@

new Msxml3
diff --git a/docs/jsdoc/Msxml6.html b/docs/jsdoc/Msxml6.html index 51bb634d15..8d4bbcef51 100644 --- a/docs/jsdoc/Msxml6.html +++ b/docs/jsdoc/Msxml6.html @@ -155,7 +155,7 @@

new Msxml6
diff --git a/docs/jsdoc/PhysX.html b/docs/jsdoc/PhysX.html index 8524ba84ff..82aaa92c09 100644 --- a/docs/jsdoc/PhysX.html +++ b/docs/jsdoc/PhysX.html @@ -155,7 +155,7 @@

new PhysX
diff --git a/docs/jsdoc/Quartz.html b/docs/jsdoc/Quartz.html index 37d815d941..6d855b4085 100644 --- a/docs/jsdoc/Quartz.html +++ b/docs/jsdoc/Quartz.html @@ -155,7 +155,7 @@

new Quartz
diff --git a/docs/jsdoc/QuickTime76.html b/docs/jsdoc/QuickTime76.html index e2263d3ae0..0db2ded2c9 100644 --- a/docs/jsdoc/QuickTime76.html +++ b/docs/jsdoc/QuickTime76.html @@ -155,7 +155,7 @@

new QuickT
diff --git a/docs/jsdoc/RemoveMono.html b/docs/jsdoc/RemoveMono.html index 2fc73374b5..03e5331929 100644 --- a/docs/jsdoc/RemoveMono.html +++ b/docs/jsdoc/RemoveMono.html @@ -155,7 +155,7 @@

new RemoveM
diff --git a/docs/jsdoc/Sandbox.html b/docs/jsdoc/Sandbox.html index b48e3d0b4f..8ccf779541 100644 --- a/docs/jsdoc/Sandbox.html +++ b/docs/jsdoc/Sandbox.html @@ -155,7 +155,7 @@

new Sandbox
diff --git a/docs/jsdoc/Secur32.html b/docs/jsdoc/Secur32.html index 297c37255d..b28b211174 100644 --- a/docs/jsdoc/Secur32.html +++ b/docs/jsdoc/Secur32.html @@ -155,7 +155,7 @@

new Secur32
diff --git a/docs/jsdoc/Tahoma.html b/docs/jsdoc/Tahoma.html index 66124c3af8..b4a4ea9d65 100644 --- a/docs/jsdoc/Tahoma.html +++ b/docs/jsdoc/Tahoma.html @@ -155,7 +155,7 @@

new Tahoma
diff --git a/docs/jsdoc/Uplay.html b/docs/jsdoc/Uplay.html index a0135fb81f..e5ff52c387 100644 --- a/docs/jsdoc/Uplay.html +++ b/docs/jsdoc/Uplay.html @@ -155,7 +155,7 @@

new Uplay
diff --git a/docs/jsdoc/Utils_Functions_Apps_PlainInstaller_script.js.html b/docs/jsdoc/Utils_Functions_Apps_PlainInstaller_script.js.html index 5add0b7e1b..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 c30eb2e7b7..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 e286332ad8..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 21ef7bfdae..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 3b0aa0ab64..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 b53e6f2272..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 589ce28550..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 index 39803e17f9..168662d4b7 100644 --- a/docs/jsdoc/VK9.html +++ b/docs/jsdoc/VK9.html @@ -319,7 +319,7 @@

Returns:

diff --git a/docs/jsdoc/Vcrun2003.html b/docs/jsdoc/Vcrun2003.html index 92f2bbc836..d30903308b 100644 --- a/docs/jsdoc/Vcrun2003.html +++ b/docs/jsdoc/Vcrun2003.html @@ -155,7 +155,7 @@

new Vcrun200
diff --git a/docs/jsdoc/Vcrun2005.html b/docs/jsdoc/Vcrun2005.html index b4816cf232..0e7e38907e 100644 --- a/docs/jsdoc/Vcrun2005.html +++ b/docs/jsdoc/Vcrun2005.html @@ -155,7 +155,7 @@

new Vcrun200
diff --git a/docs/jsdoc/Vcrun2008.html b/docs/jsdoc/Vcrun2008.html index 0f017f6eaf..b9d6b2418d 100644 --- a/docs/jsdoc/Vcrun2008.html +++ b/docs/jsdoc/Vcrun2008.html @@ -155,7 +155,7 @@

new Vcrun200
diff --git a/docs/jsdoc/Vcrun2010.html b/docs/jsdoc/Vcrun2010.html index 291f5c7fff..6aa6b0e72f 100644 --- a/docs/jsdoc/Vcrun2010.html +++ b/docs/jsdoc/Vcrun2010.html @@ -155,7 +155,7 @@

new Vcrun201
diff --git a/docs/jsdoc/Vcrun2012.html b/docs/jsdoc/Vcrun2012.html index f2b385bac4..2e993f3c61 100644 --- a/docs/jsdoc/Vcrun2012.html +++ b/docs/jsdoc/Vcrun2012.html @@ -155,7 +155,7 @@

new Vcrun201
diff --git a/docs/jsdoc/Vcrun2013.html b/docs/jsdoc/Vcrun2013.html index 99c00555ae..fa42879393 100644 --- a/docs/jsdoc/Vcrun2013.html +++ b/docs/jsdoc/Vcrun2013.html @@ -155,7 +155,7 @@

new Vcrun201
diff --git a/docs/jsdoc/Vcrun2015.html b/docs/jsdoc/Vcrun2015.html index 6ac5cc0aa6..644b23baea 100644 --- a/docs/jsdoc/Vcrun2015.html +++ b/docs/jsdoc/Vcrun2015.html @@ -155,7 +155,7 @@

new Vcrun201
diff --git a/docs/jsdoc/Vcrun2017.html b/docs/jsdoc/Vcrun2017.html index c6306ad34e..379e94651c 100644 --- a/docs/jsdoc/Vcrun2017.html +++ b/docs/jsdoc/Vcrun2017.html @@ -155,7 +155,7 @@

new Vcrun201
diff --git a/docs/jsdoc/Vcrun6SP6.html b/docs/jsdoc/Vcrun6SP6.html index 6a552f33cd..439c637862 100644 --- a/docs/jsdoc/Vcrun6SP6.html +++ b/docs/jsdoc/Vcrun6SP6.html @@ -155,7 +155,7 @@

new Vcrun6SP
diff --git a/docs/jsdoc/VulkanSDK.html b/docs/jsdoc/VulkanSDK.html index 991521e969..7303d3e16b 100644 --- a/docs/jsdoc/VulkanSDK.html +++ b/docs/jsdoc/VulkanSDK.html @@ -156,7 +156,7 @@

new VulkanSD
diff --git a/docs/jsdoc/WindowsXPSP3.html b/docs/jsdoc/WindowsXPSP3.html index 31662c48fd..64d315b563 100644 --- a/docs/jsdoc/WindowsXPSP3.html +++ b/docs/jsdoc/WindowsXPSP3.html @@ -318,7 +318,7 @@

Returns:

diff --git a/docs/jsdoc/Xact.html b/docs/jsdoc/Xact.html index 8860061a2f..ebff8690a4 100644 --- a/docs/jsdoc/Xact.html +++ b/docs/jsdoc/Xact.html @@ -584,7 +584,7 @@
Returns:

diff --git a/docs/jsdoc/global.html b/docs/jsdoc/global.html index 19c7416c11..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 f9f7b92769..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 d30cd2e3b5..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 98339f3097..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 59edcd94ef..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 371419cacf..04103b9f5f 100644 --- a/docs/jsdoc/module.default.html +++ b/docs/jsdoc/module.default.html @@ -30,7 +30,7 @@

Class: default

default()

-
Setting to enable/disable UseTakeFocus
+
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
@@ -3490,7 +3490,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -3571,7 +3571,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -3582,7 +3582,7 @@
Returns:
-String +string
@@ -3600,7 +3600,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -3619,55 +3619,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -3701,7 +3652,7 @@
Parameters:
Source:
@@ -3730,7 +3681,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -3741,7 +3692,7 @@
Returns:
-Resource +String
@@ -3759,7 +3710,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -3811,7 +3811,7 @@

getSource:
@@ -3840,7 +3840,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -3851,7 +3851,7 @@
Returns:
-string +Resource
@@ -4991,7 +4991,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -4999,7 +4999,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -5023,8 +5023,6 @@
Parameters:
Type - Attributes - @@ -5043,6 +5041,9 @@
Parameters:
+Array.<string> +| + URI @@ -5050,20 +5051,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 @@ -5104,7 +5095,7 @@
Parameters:
Source:
@@ -5129,6 +5120,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -5140,7 +5153,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -5148,7 +5161,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -5172,6 +5185,8 @@
Parameters:
Type + Attributes + @@ -5190,9 +5205,6 @@
Parameters:
-Array.<string> -| - URI @@ -5200,10 +5212,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 @@ -5244,7 +5266,7 @@
Parameters:
Source:
@@ -5269,28 +5291,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -5302,7 +5302,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -5310,7 +5310,7 @@

name - Sets the shortcut name + 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
@@ -5934,13 +5934,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -5962,8 +5966,6 @@
Parameters:
Type - Attributes - @@ -5989,119 +5991,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -6142,7 +6035,7 @@
Parameters:
Source:
@@ -6170,6 +6063,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -6178,10 +6075,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -6199,17 +6093,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -6231,6 +6121,8 @@
Parameters:
Type + Attributes + @@ -6256,10 +6148,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -6300,7 +6301,7 @@
Parameters:
Source:
@@ -6328,10 +6329,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -6340,7 +6337,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -8696,7 +8696,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -8704,7 +8704,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -8797,7 +8797,7 @@
Parameters:
Source:
@@ -8826,7 +8826,7 @@
Returns:
- The Resource object + The Downloader object
@@ -8837,7 +8837,7 @@
Returns:
-Resource +Downloader
@@ -8855,7 +8855,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -8863,7 +8863,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -8956,7 +8956,7 @@
Parameters:
Source:
@@ -8985,7 +8985,7 @@
Returns:
- The Downloader object + The Resource object
@@ -8996,7 +8996,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
setting to set always offscreen
+
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
@@ -13539,7 +13539,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -13620,7 +13620,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -13631,7 +13631,7 @@
Returns:
-String +string
@@ -13649,7 +13649,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -13668,55 +13668,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -13750,7 +13701,7 @@
Parameters:
Source:
@@ -13779,7 +13730,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -13790,7 +13741,7 @@
Returns:
-Resource +String
@@ -13808,7 +13759,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -13860,7 +13860,7 @@

getSource:
@@ -13889,7 +13889,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -13900,7 +13900,7 @@
Returns:
-string +Resource
@@ -15040,7 +15040,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -15048,7 +15048,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -15072,8 +15072,6 @@
Parameters:
Type - Attributes - @@ -15092,6 +15090,9 @@
Parameters:
+Array.<string> +| + URI @@ -15099,20 +15100,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 @@ -15153,7 +15144,7 @@
Parameters:
Source:
@@ -15178,6 +15169,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -15189,7 +15202,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -15197,7 +15210,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -15221,6 +15234,8 @@
Parameters:
Type + Attributes + @@ -15239,9 +15254,6 @@
Parameters:
-Array.<string> -| - URI @@ -15249,10 +15261,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 @@ -15293,7 +15315,7 @@
Parameters:
Source:
@@ -15318,28 +15340,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -15351,7 +15351,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -15359,7 +15359,7 @@

name - Sets the shortcut name + 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
@@ -15983,13 +15983,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -16011,8 +16015,6 @@
Parameters:
Type - Attributes - @@ -16038,60 +16040,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -16124,7 +16217,7 @@
Parameters:
versiondistribution @@ -16154,145 +16247,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| -Wine - -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + - + + + @@ -16349,7 +16350,7 @@
Parameters:
Source:
@@ -16377,10 +16378,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -16389,7 +16386,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -18745,7 +18745,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -18753,7 +18753,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -18846,7 +18846,7 @@
Parameters:
Source:
@@ -18875,7 +18875,7 @@
Returns:
- The Resource object + The Downloader object
@@ -18886,7 +18886,7 @@
Returns:
-Resource +Downloader
@@ -18904,7 +18904,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -18912,7 +18912,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -19005,7 +19005,7 @@
Parameters:
Source:
@@ -19034,7 +19034,7 @@
Returns:
- The Downloader object + The Resource object
@@ -19045,7 +19045,7 @@
Returns:
-Downloader +Resource
@@ -19628,13 +19628,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -19656,8 +19660,6 @@
Parameters:

- - @@ -19683,20 +19685,10 @@
Parameters:
- - - + @@ -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:
+ + @@ -20010,10 +20001,20 @@
Parameters:
+ + - + @@ -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()

-
Setting to enable/disable Retina
+
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:
-

+ @@ -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:
-

+ @@ -22263,7 +22263,7 @@
Parameters:
Source:
@@ -22292,7 +22292,7 @@
Returns:
- The Downloader object + The Resource object
@@ -22303,7 +22303,7 @@
Returns:
-Downloader +Resource
@@ -23588,7 +23588,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -23669,7 +23669,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -23680,7 +23680,7 @@
Returns:
-String +string
@@ -23698,7 +23698,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -23717,55 +23717,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -16305,10 +16296,20 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -23799,7 +23750,7 @@
Parameters:
Source:
@@ -23828,7 +23779,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -23839,7 +23790,7 @@
Returns:
-Resource +String
@@ -23857,7 +23808,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -23909,7 +23909,7 @@

getSource:
@@ -23938,7 +23938,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -23949,7 +23949,7 @@
Returns:
-string +Resource
@@ -25089,7 +25089,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -25097,7 +25097,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -25121,8 +25121,6 @@
Parameters:
Type - Attributes - @@ -25141,6 +25139,9 @@
Parameters:
+Array.<string> +| + URI @@ -25148,20 +25149,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 @@ -25202,7 +25193,7 @@
Parameters:
Source:
@@ -25227,6 +25218,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -25238,7 +25251,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -25246,7 +25259,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -25270,6 +25283,8 @@
Parameters:
Type + Attributes + @@ -25288,9 +25303,6 @@
Parameters:
-Array.<string> -| - URI @@ -25298,10 +25310,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 @@ -25342,7 +25364,7 @@
Parameters:
Source:
@@ -25367,28 +25389,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -25400,7 +25400,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -25408,7 +25408,7 @@

name - Sets the shortcut name + 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
@@ -26032,13 +26032,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -26060,8 +26064,6 @@
Parameters:
Type - Attributes - @@ -26087,119 +26089,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -26240,7 +26133,7 @@
Parameters:
Source:
@@ -26268,6 +26161,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -26276,10 +26173,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -26297,17 +26191,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -26329,6 +26219,8 @@
Parameters:
Type + Attributes + @@ -26354,10 +26246,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -26398,7 +26399,7 @@
Parameters:
Source:
@@ -26426,10 +26427,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -26438,7 +26435,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -28794,7 +28794,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -28802,7 +28802,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -28895,7 +28895,7 @@
Parameters:
Source:
@@ -28924,7 +28924,7 @@
Returns:
- The Resource object + The Downloader object
@@ -28935,7 +28935,7 @@
Returns:
-Resource +Downloader
@@ -28953,7 +28953,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -28961,7 +28961,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -29054,7 +29054,7 @@
Parameters:
Source:
@@ -29083,7 +29083,7 @@
Returns:
- The Downloader object + The Resource object
@@ -29094,7 +29094,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
Setting to configure mouse warp override
+
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
@@ -33637,7 +33637,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -33718,7 +33718,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -33729,7 +33729,7 @@
Returns:
-String +string
@@ -33747,7 +33747,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -33766,55 +33766,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -33848,7 +33799,7 @@
Parameters:
Source:
@@ -33877,7 +33828,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -33888,7 +33839,7 @@
Returns:
-Resource +String
@@ -33906,7 +33857,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -33958,7 +33958,7 @@

getSource:
@@ -33987,7 +33987,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -33998,7 +33998,7 @@
Returns:
-string +Resource
@@ -35138,7 +35138,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -35146,7 +35146,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -35170,8 +35170,6 @@
Parameters:
Type - Attributes - @@ -35190,6 +35188,9 @@
Parameters:
+Array.<string> +| + URI @@ -35197,20 +35198,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 @@ -35251,7 +35242,7 @@
Parameters:
Source:
@@ -35276,6 +35267,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -35287,7 +35300,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -35295,7 +35308,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -35319,6 +35332,8 @@
Parameters:
Type + Attributes + @@ -35337,9 +35352,6 @@
Parameters:
-Array.<string> -| - URI @@ -35347,10 +35359,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 @@ -35391,7 +35413,7 @@
Parameters:
Source:
@@ -35416,28 +35438,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -35449,7 +35449,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -35457,7 +35457,7 @@

name - Sets the shortcut name + 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
@@ -36081,13 +36081,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -36109,8 +36113,6 @@
Parameters:
Type - Attributes - @@ -36136,60 +36138,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -36222,7 +36315,7 @@
Parameters:
versiondistribution @@ -36252,145 +36345,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| -Wine - -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + - + + + @@ -36447,7 +36448,7 @@
Parameters:
Source:
@@ -36475,10 +36476,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -36487,7 +36484,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -38843,7 +38843,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -38851,7 +38851,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -38944,7 +38944,7 @@
Parameters:
Source:
@@ -38973,7 +38973,7 @@
Returns:
- The Resource object + The Downloader object
@@ -38984,7 +38984,7 @@
Returns:
-Resource +Downloader
@@ -39002,7 +39002,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -39010,7 +39010,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -39103,7 +39103,7 @@
Parameters:
Source:
@@ -39132,7 +39132,7 @@
Returns:
- The Downloader object + The Resource object
@@ -39143,7 +39143,7 @@
Returns:
-Downloader +Resource
@@ -39726,13 +39726,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -39754,8 +39758,6 @@
Parameters:

- - @@ -39781,20 +39783,10 @@
Parameters:
- - - + @@ -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:
+ + @@ -40108,10 +40099,20 @@
Parameters:
+ + - + @@ -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()

-
Setting to configure multisampling
+
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:
-

+ @@ -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:
-

+ @@ -42361,7 +42361,7 @@
Parameters:
Source:
@@ -42390,7 +42390,7 @@
Returns:
- The Downloader object + The Resource object
@@ -42401,7 +42401,7 @@
Returns:
-Downloader +Resource
@@ -43686,7 +43686,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -43767,7 +43767,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -43778,7 +43778,7 @@
Returns:
-String +string
@@ -43796,7 +43796,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -43815,55 +43815,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -36403,10 +36394,20 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -43897,7 +43848,7 @@
Parameters:
Source:
@@ -43926,7 +43877,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -43937,7 +43888,7 @@
Returns:
-Resource +String
@@ -43955,7 +43906,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -44007,7 +44007,7 @@

getSource:
@@ -44036,7 +44036,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -44047,7 +44047,7 @@
Returns:
-string +Resource
@@ -45187,7 +45187,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -45195,7 +45195,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -45219,8 +45219,6 @@
Parameters:
Type - Attributes - @@ -45239,6 +45237,9 @@
Parameters:
+Array.<string> +| + URI @@ -45246,20 +45247,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 @@ -45300,7 +45291,7 @@
Parameters:
Source:
@@ -45325,6 +45316,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -45336,7 +45349,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -45344,7 +45357,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -45368,6 +45381,8 @@
Parameters:
Type + Attributes + @@ -45386,9 +45401,6 @@
Parameters:
-Array.<string> -| - URI @@ -45396,10 +45408,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 @@ -45440,7 +45462,7 @@
Parameters:
Source:
@@ -45465,28 +45487,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -45498,7 +45498,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -45506,7 +45506,7 @@

name - Sets the shortcut name + 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
@@ -46130,13 +46130,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -46158,8 +46162,6 @@
Parameters:
Type - Attributes - @@ -46185,119 +46187,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -46338,7 +46231,7 @@
Parameters:
Source:
@@ -46366,6 +46259,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -46374,10 +46271,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -46395,17 +46289,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -46427,6 +46317,8 @@
Parameters:
Type + Attributes + @@ -46452,10 +46344,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -46496,7 +46497,7 @@
Parameters:
Source:
@@ -46524,10 +46525,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -46536,7 +46533,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -48892,7 +48892,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -48900,7 +48900,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -48993,7 +48993,7 @@
Parameters:
Source:
@@ -49022,7 +49022,7 @@
Returns:
- The Resource object + The Downloader object
@@ -49033,7 +49033,7 @@
Returns:
-Resource +Downloader
@@ -49051,7 +49051,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -49059,7 +49059,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -49152,7 +49152,7 @@
Parameters:
Source:
@@ -49181,7 +49181,7 @@
Returns:
- The Downloader object + The Resource object
@@ -49192,7 +49192,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
Setting to set the offscreen rendering mode
+
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
@@ -53735,7 +53735,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -53816,7 +53816,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -53827,7 +53827,7 @@
Returns:
-String +string
@@ -53845,7 +53845,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -53864,55 +53864,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -53946,7 +53897,7 @@
Parameters:
Source:
@@ -53975,7 +53926,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -53986,7 +53937,7 @@
Returns:
-Resource +String
@@ -54004,7 +53955,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -54056,7 +54056,7 @@

getSource:
@@ -54085,7 +54085,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -54096,7 +54096,7 @@
Returns:
-string +Resource
@@ -55236,7 +55236,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -55244,7 +55244,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -55268,8 +55268,6 @@
Parameters:
Type - Attributes - @@ -55288,6 +55286,9 @@
Parameters:
+Array.<string> +| + URI @@ -55295,20 +55296,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 @@ -55349,7 +55340,7 @@
Parameters:
Source:
@@ -55374,6 +55365,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -55385,7 +55398,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -55393,7 +55406,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -55417,6 +55430,8 @@
Parameters:
Type + Attributes + @@ -55435,9 +55450,6 @@
Parameters:
-Array.<string> -| - URI @@ -55445,10 +55457,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 @@ -55489,7 +55511,7 @@
Parameters:
Source:
@@ -55514,28 +55536,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -55547,7 +55547,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -55555,7 +55555,7 @@

name - Sets the shortcut name + 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
@@ -56179,13 +56179,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -56207,8 +56211,6 @@
Parameters:
Type - Attributes - @@ -56234,60 +56236,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -56320,7 +56413,7 @@
Parameters:
versiondistribution @@ -56350,145 +56443,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| -Wine - -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + - + + + @@ -56545,7 +56546,7 @@
Parameters:
Source:
@@ -56573,10 +56574,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -56585,7 +56582,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -58941,7 +58941,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -58949,7 +58949,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -59042,7 +59042,7 @@
Parameters:
Source:
@@ -59071,7 +59071,7 @@
Returns:
- The Resource object + The Downloader object
@@ -59082,7 +59082,7 @@
Returns:
-Resource +Downloader
@@ -59100,7 +59100,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -59108,7 +59108,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -59201,7 +59201,7 @@
Parameters:
Source:
@@ -59230,7 +59230,7 @@
Returns:
- The Downloader object + The Resource object
@@ -59241,7 +59241,7 @@
Returns:
-Downloader +Resource
@@ -59824,13 +59824,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -59852,8 +59856,6 @@
Parameters:

- - @@ -59879,20 +59881,10 @@
Parameters:
- - - + @@ -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:
+ + @@ -60206,10 +60197,20 @@
Parameters:
+ + - + @@ -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()

-
Setting to set the render target lock mode
+
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:
-

+ @@ -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:
-

+ @@ -62459,7 +62459,7 @@
Parameters:
Source:
@@ -62488,7 +62488,7 @@
Returns:
- The Downloader object + The Resource object
@@ -62499,7 +62499,7 @@
Returns:
-Downloader +Resource
@@ -63784,7 +63784,7 @@
Returns:
-

get() → {String}

+

get() → {string}

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

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

getSource:
@@ -63865,7 +63865,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -63876,7 +63876,7 @@
Returns:
-String +string
@@ -63894,7 +63894,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

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

get - Returns the searched resource + Gets the content of the downloaded file @@ -63913,55 +63913,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -56501,10 +56492,20 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -63995,7 +63946,7 @@
Parameters:
Source:
@@ -64024,7 +63975,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -64035,7 +63986,7 @@
Returns:
-Resource +String
@@ -64053,7 +64004,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

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

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -64105,7 +64105,7 @@

getSource:
@@ -64134,7 +64134,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -64145,7 +64145,7 @@
Returns:
-string +Resource
@@ -65285,7 +65285,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -65293,7 +65293,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -65317,8 +65317,6 @@
Parameters:
Type - Attributes - @@ -65337,6 +65335,9 @@
Parameters:
+Array.<string> +| + URI @@ -65344,20 +65345,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 @@ -65398,7 +65389,7 @@
Parameters:
Source:
@@ -65423,6 +65414,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -65434,7 +65447,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -65442,7 +65455,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -65466,6 +65479,8 @@
Parameters:
Type + Attributes + @@ -65484,9 +65499,6 @@
Parameters:
-Array.<string> -| - URI @@ -65494,10 +65506,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 @@ -65538,7 +65560,7 @@
Parameters:
Source:
@@ -65563,28 +65585,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -65596,7 +65596,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -65604,7 +65604,7 @@

name - Sets the shortcut name + 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
@@ -66228,13 +66228,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -66256,8 +66260,6 @@
Parameters:
Type - Attributes - @@ -66283,119 +66285,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -66436,7 +66329,7 @@
Parameters:
Source:
@@ -66464,6 +66357,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -66472,10 +66369,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -66493,17 +66387,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -66525,6 +66415,8 @@
Parameters:
Type + Attributes + @@ -66550,10 +66442,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -66594,7 +66595,7 @@
Parameters:
Source:
@@ -66622,10 +66623,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -66634,7 +66631,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -68990,7 +68990,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -68998,7 +68998,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -69091,7 +69091,7 @@
Parameters:
Source:
@@ -69120,7 +69120,7 @@
Returns:
- The Resource object + The Downloader object
@@ -69131,7 +69131,7 @@
Returns:
-Resource +Downloader
@@ -69149,7 +69149,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -69157,7 +69157,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -69250,7 +69250,7 @@
Parameters:
Source:
@@ -69279,7 +69279,7 @@
Returns:
- The Downloader object + The Resource object
@@ -69290,7 +69290,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
Setting to configure strict draw ordering
+
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
@@ -73833,7 +73833,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -73841,7 +73841,7 @@

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

getSource:
@@ -73914,7 +73914,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -73925,7 +73925,7 @@
Returns:
-String +string
@@ -73943,7 +73943,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -73951,7 +73951,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -73962,55 +73962,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -74044,7 +73995,7 @@
Parameters:
Source:
@@ -74073,7 +74024,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -74084,7 +74035,7 @@
Returns:
-Resource +String
@@ -74102,7 +74053,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -74110,7 +74061,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -74154,7 +74154,7 @@

getSource:
@@ -74183,7 +74183,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -74194,7 +74194,7 @@
Returns:
-string +Resource
@@ -75334,7 +75334,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -75342,7 +75342,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -75366,8 +75366,6 @@
Parameters:
Type - Attributes - @@ -75386,6 +75384,9 @@
Parameters:
+Array.<string> +| + URI @@ -75393,20 +75394,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 @@ -75447,7 +75438,7 @@
Parameters:
Source:
@@ -75472,6 +75463,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -75483,7 +75496,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -75491,7 +75504,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -75515,6 +75528,8 @@
Parameters:
Type + Attributes + @@ -75533,9 +75548,6 @@
Parameters:
-Array.<string> -| - URI @@ -75543,10 +75555,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 @@ -75587,7 +75609,7 @@
Parameters:
Source:
@@ -75612,28 +75634,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -75645,7 +75645,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -75653,7 +75653,7 @@

name - Sets the shortcut name + 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
@@ -76277,13 +76277,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -76305,8 +76309,6 @@
Parameters:
Type - Attributes - @@ -76332,60 +76334,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -76418,7 +76511,7 @@
Parameters:
versiondistribution @@ -76448,145 +76541,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| -Wine - -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + - + + + @@ -76643,7 +76644,7 @@
Parameters:
Source:
@@ -76671,10 +76672,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -76683,7 +76680,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -79039,7 +79039,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -79047,7 +79047,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -79140,7 +79140,7 @@
Parameters:
Source:
@@ -79169,7 +79169,7 @@
Returns:
- The Resource object + The Downloader object
@@ -79180,7 +79180,7 @@
Returns:
-Resource +Downloader
@@ -79198,7 +79198,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -79206,7 +79206,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -79299,7 +79299,7 @@
Parameters:
Source:
@@ -79328,7 +79328,7 @@
Returns:
- The Downloader object + The Resource object
@@ -79339,7 +79339,7 @@
Returns:
-Downloader +Resource
@@ -79922,13 +79922,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -79950,8 +79954,6 @@
Parameters:

- - @@ -79977,20 +79979,10 @@
Parameters:
- - - + @@ -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:
+ + @@ -80304,10 +80295,20 @@
Parameters:
+ + - + @@ -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()

-
Setting to set the video memory size
+
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:
-

+ @@ -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:
-

+ @@ -82557,7 +82557,7 @@
Parameters:
Source:
@@ -82586,7 +82586,7 @@
Returns:
- The Downloader object + The Resource object
@@ -82597,7 +82597,7 @@
Returns:
-Downloader +Resource
@@ -83882,7 +83882,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -83890,7 +83890,7 @@

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

getSource:
@@ -83963,7 +83963,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -83974,7 +83974,7 @@
Returns:
-String +string
@@ -83992,7 +83992,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -84000,7 +84000,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -84011,55 +84011,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -76599,10 +76590,20 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -84093,7 +84044,7 @@
Parameters:
Source:
@@ -84122,7 +84073,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -84133,7 +84084,7 @@
Returns:
-Resource +String
@@ -84151,7 +84102,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -84159,7 +84110,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -84203,7 +84203,7 @@

getSource:
@@ -84232,7 +84232,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -84243,7 +84243,7 @@
Returns:
-string +Resource
@@ -85383,7 +85383,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -85391,7 +85391,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -85415,8 +85415,6 @@
Parameters:
Type - Attributes - @@ -85435,6 +85433,9 @@
Parameters:
+Array.<string> +| + URI @@ -85442,20 +85443,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 @@ -85496,7 +85487,7 @@
Parameters:
Source:
@@ -85521,6 +85512,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -85532,7 +85545,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -85540,7 +85553,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -85564,6 +85577,8 @@
Parameters:
Type + Attributes + @@ -85582,9 +85597,6 @@
Parameters:
-Array.<string> -| - URI @@ -85592,10 +85604,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 @@ -85636,7 +85658,7 @@
Parameters:
Source:
@@ -85661,28 +85683,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -85694,7 +85694,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -85702,7 +85702,7 @@

name - Sets the shortcut name + 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
@@ -86326,13 +86326,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -86354,8 +86358,6 @@
Parameters:
Type - Attributes - @@ -86381,119 +86383,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -86534,7 +86427,7 @@
Parameters:
Source:
@@ -86562,6 +86455,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -86570,10 +86467,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -86591,17 +86485,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -86623,6 +86513,8 @@
Parameters:
Type + Attributes + @@ -86648,10 +86540,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -86692,7 +86693,7 @@
Parameters:
Source:
@@ -86720,10 +86721,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -86732,7 +86729,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -89088,7 +89088,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -89096,7 +89096,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -89189,7 +89189,7 @@
Parameters:
Source:
@@ -89218,7 +89218,7 @@
Returns:
- The Resource object + The Downloader object
@@ -89229,7 +89229,7 @@
Returns:
-Resource +Downloader
@@ -89247,7 +89247,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -89255,7 +89255,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -89348,7 +89348,7 @@
Parameters:
Source:
@@ -89377,7 +89377,7 @@
Returns:
- The Downloader object + The Resource object
@@ -89388,7 +89388,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
Wine main prototype
+
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
@@ -93931,7 +93931,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -93939,7 +93939,7 @@

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

getSource:
@@ -94012,7 +94012,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -94023,7 +94023,7 @@
Returns:
-String +string
@@ -94041,7 +94041,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -94049,7 +94049,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -94060,55 +94060,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -94142,7 +94093,7 @@
Parameters:
Source:
@@ -94171,7 +94122,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -94182,7 +94133,7 @@
Returns:
-Resource +String
@@ -94200,7 +94151,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -94208,7 +94159,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -94252,7 +94252,7 @@

getSource:
@@ -94281,7 +94281,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -94292,7 +94292,7 @@
Returns:
-string +Resource
@@ -95432,7 +95432,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -95440,7 +95440,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -95464,8 +95464,6 @@
Parameters:
Type - Attributes - @@ -95484,6 +95482,9 @@
Parameters:
+Array.<string> +| + URI @@ -95491,20 +95492,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 @@ -95545,7 +95536,7 @@
Parameters:
Source:
@@ -95570,6 +95561,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -95581,7 +95594,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -95589,7 +95602,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -95613,6 +95626,8 @@
Parameters:
Type + Attributes + @@ -95631,9 +95646,6 @@
Parameters:
-Array.<string> -| - URI @@ -95641,10 +95653,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 @@ -95685,7 +95707,7 @@
Parameters:
Source:
@@ -95710,28 +95732,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -95743,7 +95743,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -95751,7 +95751,7 @@

name - Sets the shortcut name + 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
@@ -96375,13 +96375,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -96403,8 +96407,6 @@
Parameters:
Type - Attributes - @@ -96430,60 +96432,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -96516,7 +96609,7 @@
Parameters:
versiondistribution @@ -96546,145 +96639,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| -Wine - -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + - + + + @@ -96741,7 +96742,7 @@
Parameters:
Source:
@@ -96769,10 +96770,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -96781,7 +96778,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -99137,7 +99137,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -99145,7 +99145,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -99238,7 +99238,7 @@
Parameters:
Source:
@@ -99267,7 +99267,7 @@
Returns:
- The Resource object + The Downloader object
@@ -99278,7 +99278,7 @@
Returns:
-Resource +Downloader
@@ -99296,7 +99296,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -99304,7 +99304,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -99397,7 +99397,7 @@
Parameters:
Source:
@@ -99426,7 +99426,7 @@
Returns:
- The Downloader object + The Resource object
@@ -99437,7 +99437,7 @@
Returns:
-Downloader +Resource
@@ -100020,13 +100020,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -100048,8 +100052,6 @@
Parameters:

- - @@ -100075,20 +100077,10 @@
Parameters:
- - - + @@ -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:
+ + @@ -100402,10 +100393,20 @@
Parameters:
+ + - + @@ -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()

-
AppResource class
+
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:
-

+ @@ -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:
-

+ @@ -102655,7 +102655,7 @@
Parameters:
Source:
@@ -102684,7 +102684,7 @@
Returns:
- The Downloader object + The Resource object
@@ -102695,7 +102695,7 @@
Returns:
-Downloader +Resource
@@ -103980,7 +103980,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -103988,7 +103988,7 @@

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

getSource:
@@ -104061,7 +104061,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -104072,7 +104072,7 @@
Returns:
-String +string
@@ -104090,7 +104090,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -104098,7 +104098,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -104109,55 +104109,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -96697,10 +96688,20 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -104191,7 +104142,7 @@
Parameters:
Source:
@@ -104220,7 +104171,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -104231,7 +104182,7 @@
Returns:
-Resource +String
@@ -104249,7 +104200,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -104257,7 +104208,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -104301,7 +104301,7 @@

getSource:
@@ -104330,7 +104330,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -104341,7 +104341,7 @@
Returns:
-string +Resource
@@ -105481,7 +105481,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -105489,7 +105489,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -105513,8 +105513,6 @@
Parameters:
Type - Attributes - @@ -105533,6 +105531,9 @@
Parameters:
+Array.<string> +| + URI @@ -105540,20 +105541,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 @@ -105594,7 +105585,7 @@
Parameters:
Source:
@@ -105619,6 +105610,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -105630,7 +105643,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -105638,7 +105651,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -105662,6 +105675,8 @@
Parameters:
Type + Attributes + @@ -105680,9 +105695,6 @@
Parameters:
-Array.<string> -| - URI @@ -105690,10 +105702,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 @@ -105734,7 +105756,7 @@
Parameters:
Source:
@@ -105759,28 +105781,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -105792,7 +105792,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -105800,7 +105800,7 @@

name - Sets the shortcut name + 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
@@ -106424,13 +106424,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -106452,8 +106456,6 @@
Parameters:
Type - Attributes - @@ -106479,119 +106481,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -106632,7 +106525,7 @@
Parameters:
Source:
@@ -106660,6 +106553,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -106668,10 +106565,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -106689,17 +106583,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -106721,6 +106611,8 @@
Parameters:
Type + Attributes + @@ -106746,10 +106638,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -106790,7 +106791,7 @@
Parameters:
Source:
@@ -106818,10 +106819,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -106830,7 +106827,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -109186,7 +109186,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -109194,7 +109194,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -109287,7 +109287,7 @@
Parameters:
Source:
@@ -109316,7 +109316,7 @@
Returns:
- The Resource object + The Downloader object
@@ -109327,7 +109327,7 @@
Returns:
-Resource +Downloader
@@ -109345,7 +109345,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -109353,7 +109353,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -109446,7 +109446,7 @@
Parameters:
Source:
@@ -109475,7 +109475,7 @@
Returns:
- The Downloader object + The Resource object
@@ -109486,7 +109486,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
A "plain" script installer that is fully configurable.
+
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
@@ -114029,7 +114029,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -114037,7 +114037,7 @@

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

getSource:
@@ -114110,7 +114110,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -114121,7 +114121,7 @@
Returns:
-String +string
@@ -114139,7 +114139,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -114147,7 +114147,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -114158,55 +114158,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -114240,7 +114191,7 @@
Parameters:
Source:
@@ -114269,7 +114220,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -114280,7 +114231,7 @@
Returns:
-Resource +String
@@ -114298,7 +114249,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -114306,7 +114257,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -114350,7 +114350,7 @@

getSource:
@@ -114379,7 +114379,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -114390,7 +114390,7 @@
Returns:
-string +Resource
@@ -115530,7 +115530,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -115538,7 +115538,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -115562,8 +115562,6 @@
Parameters:
Type - Attributes - @@ -115582,6 +115580,9 @@
Parameters:
+Array.<string> +| + URI @@ -115589,20 +115590,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 @@ -115643,7 +115634,7 @@
Parameters:
Source:
@@ -115668,6 +115659,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -115679,7 +115692,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -115687,7 +115700,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -115711,6 +115724,8 @@
Parameters:
Type + Attributes + @@ -115729,9 +115744,6 @@
Parameters:
-Array.<string> -| - URI @@ -115739,10 +115751,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 @@ -115783,7 +115805,7 @@
Parameters:
Source:
@@ -115808,28 +115830,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -115841,7 +115841,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -115849,7 +115849,7 @@

name - Sets the shortcut name + 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
@@ -116473,13 +116473,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -116501,8 +116505,6 @@
Parameters:
Type - Attributes - @@ -116528,60 +116530,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -116614,7 +116707,7 @@
Parameters:
versiondistribution @@ -116644,145 +116737,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| -Wine - -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + - + + + @@ -116839,7 +116840,7 @@
Parameters:
Source:
@@ -116867,10 +116868,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -116879,7 +116876,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -119235,7 +119235,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -119243,7 +119243,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -119336,7 +119336,7 @@
Parameters:
Source:
@@ -119365,7 +119365,7 @@
Returns:
- The Resource object + The Downloader object
@@ -119376,7 +119376,7 @@
Returns:
-Resource +Downloader
@@ -119394,7 +119394,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -119402,7 +119402,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -119495,7 +119495,7 @@
Parameters:
Source:
@@ -119524,7 +119524,7 @@
Returns:
- The Downloader object + The Resource object
@@ -119535,7 +119535,7 @@
Returns:
-Downloader +Resource
@@ -120118,13 +120118,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -120146,8 +120150,6 @@
Parameters:

- - @@ -120173,20 +120175,10 @@
Parameters:
- - - + @@ -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:
+ + @@ -120500,10 +120491,20 @@
Parameters:
+ + - + @@ -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()

-
Wine engine
+
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:
-

+ @@ -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:
-

+ @@ -122753,7 +122753,7 @@
Parameters:
Source:
@@ -122782,7 +122782,7 @@
Returns:
- The Downloader object + The Resource object
@@ -122793,7 +122793,7 @@
Returns:
-Downloader +Resource
@@ -124078,7 +124078,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -124086,7 +124086,7 @@

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

getSource:
@@ -124159,7 +124159,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -124170,7 +124170,7 @@
Returns:
-String +string
@@ -124188,7 +124188,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -124196,7 +124196,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -124207,55 +124207,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -116795,10 +116786,20 @@
Parameters:
+ + <optional>
+ + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -124289,7 +124240,7 @@
Parameters:
Source:
@@ -124318,7 +124269,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -124329,7 +124280,7 @@
Returns:
-Resource +String
@@ -124347,7 +124298,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -124355,7 +124306,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -124399,7 +124399,7 @@

getSource:
@@ -124428,7 +124428,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -124439,7 +124439,7 @@
Returns:
-string +Resource
@@ -125579,7 +125579,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -125587,7 +125587,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -125611,8 +125611,6 @@
Parameters:
Type - Attributes - @@ -125631,6 +125629,9 @@
Parameters:
+Array.<string> +| + URI @@ -125638,20 +125639,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 @@ -125692,7 +125683,7 @@
Parameters:
Source:
@@ -125717,6 +125708,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -125728,7 +125741,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -125736,7 +125749,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -125760,6 +125773,8 @@
Parameters:
Type + Attributes + @@ -125778,9 +125793,6 @@
Parameters:
-Array.<string> -| - URI @@ -125788,10 +125800,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 @@ -125832,7 +125854,7 @@
Parameters:
Source:
@@ -125857,28 +125879,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -125890,7 +125890,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -125898,7 +125898,7 @@

name - Sets the shortcut name + 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
@@ -126522,13 +126522,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -126550,8 +126554,6 @@
Parameters:
Type - Attributes - @@ -126577,119 +126579,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -126730,7 +126623,7 @@
Parameters:
Source:
@@ -126758,6 +126651,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -126766,10 +126663,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -126787,17 +126681,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -126819,6 +126709,8 @@
Parameters:
Type + Attributes + @@ -126844,10 +126736,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -126888,7 +126889,7 @@
Parameters:
Source:
@@ -126916,10 +126917,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -126928,7 +126925,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -129284,7 +129284,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -129292,7 +129292,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -129385,7 +129385,7 @@
Parameters:
Source:
@@ -129414,7 +129414,7 @@
Returns:
- The Resource object + The Downloader object
@@ -129425,7 +129425,7 @@
Returns:
-Resource +Downloader
@@ -129443,7 +129443,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -129451,7 +129451,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -129544,7 +129544,7 @@
Parameters:
Source:
@@ -129573,7 +129573,7 @@
Returns:
- The Downloader object + The Resource object
@@ -129584,7 +129584,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
Downloader class
+
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
@@ -134127,7 +134127,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -134135,7 +134135,7 @@

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

getSource:
@@ -134208,7 +134208,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -134219,7 +134219,7 @@
Returns:
-String +string
@@ -134237,7 +134237,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -134245,7 +134245,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -134256,55 +134256,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -134338,7 +134289,7 @@
Parameters:
Source:
@@ -134367,7 +134318,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -134378,7 +134329,7 @@
Returns:
-Resource +String
@@ -134396,7 +134347,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -134404,7 +134355,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -134448,7 +134448,7 @@

getSource:
@@ -134477,7 +134477,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -134488,7 +134488,7 @@
Returns:
-string +Resource
@@ -135628,7 +135628,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -135636,7 +135636,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -135660,8 +135660,6 @@
Parameters:
Type - Attributes - @@ -135680,6 +135678,9 @@
Parameters:
+Array.<string> +| + URI @@ -135687,20 +135688,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 @@ -135741,7 +135732,7 @@
Parameters:
Source:
@@ -135766,6 +135757,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -135777,7 +135790,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -135785,7 +135798,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -135809,6 +135822,8 @@
Parameters:
Type + Attributes + @@ -135827,9 +135842,6 @@
Parameters:
-Array.<string> -| - URI @@ -135837,10 +135849,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 @@ -135881,7 +135903,7 @@
Parameters:
Source:
@@ -135906,28 +135928,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -135939,7 +135939,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -135947,7 +135947,7 @@

name - Sets the shortcut name + 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
@@ -136571,13 +136571,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -136599,8 +136603,6 @@
Parameters:
Type - Attributes - @@ -136626,60 +136628,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
- - - + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -136712,7 +136805,7 @@
Parameters:
versiondistribution @@ -136742,145 +136835,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| - -Wine - - -
-
- - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + + - + @@ -136937,7 +136938,7 @@
Parameters:
Source:
@@ -136965,10 +136966,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -136977,7 +136974,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -138085,7 +138085,484 @@
Returns:
- The WineShortcut object + 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:
+ + +
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -136893,10 +136884,20 @@
Parameters:
+ + <optional>
+ + + + + +
The shortcut prefix
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
localDestination + + +string + + + + The destination of the download. If it is a directory, the file will be placed inside
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The Downloader object
@@ -138096,7 +138573,7 @@
Returns:
-WineShortcut +Downloader
@@ -138114,7 +138591,7 @@
Returns:
-

stop() → {void}

+

trustLevel(trustLevel) → {WineShortcut}

@@ -138122,7 +138599,7 @@

stop - Stops the running shortcut + Sets the trust level @@ -138133,106 +138610,53 @@

stop - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + + -
-
- Type -
-
-void + -
-
+ + + + + + + + + - - + - -

system32directory() → {string}

- + + - - - - - - - - - + +
NameTypeDescription
trustLevel + + +string + + The trust level
@@ -138268,7 +138692,7 @@

syst
Source:
@@ -138297,7 +138721,7 @@

Returns:
- system32 directory + The WineShortcut object
@@ -138308,7 +138732,7 @@
Returns:
-string +WineShortcut
@@ -138326,13 +138750,16 @@
Returns:
-

system64directory() → {string}

+

trustLevel(trustlevel) → {QuickScript}

+
+ set trust level +
@@ -138342,6 +138769,56 @@

syst +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
trustlevel + + +string + + + +
+ + + @@ -138374,7 +138851,7 @@

syst
Source:
@@ -138403,7 +138880,7 @@

Returns:
- system64 directory + QuickScript object
@@ -138414,7 +138891,7 @@
Returns:
-string +QuickScript
@@ -138432,7 +138909,7 @@
Returns:
-

to(localDestination) → {Downloader}

+

type(type) → {WineShortcut}

@@ -138440,7 +138917,7 @@

to - Sets the download destination + Sets the shortcut type @@ -138476,7 +138953,7 @@
Parameters:
- localDestination + type @@ -138492,7 +138969,7 @@
Parameters:
- The destination of the download. If it is a directory, the file will be placed inside + The shortcut type @@ -138533,7 +139010,7 @@
Parameters:
Source:
@@ -138562,7 +139039,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -138573,7 +139050,7 @@
Returns:
-Downloader +WineShortcut
@@ -138591,7 +139068,7 @@
Returns:
-

trustLevel(trustLevel) → {WineShortcut}

+

uninstall(name) → {bool}

@@ -138599,7 +139076,7 @@

trustLevel<
- Sets the trust level + uninstall application
@@ -138635,7 +139112,7 @@

Parameters:
- trustLevel + name @@ -138651,7 +139128,7 @@
Parameters:
- The trust level + of the application which shall be uninstalled @@ -138692,7 +139169,7 @@
Parameters:
Source:
@@ -138721,7 +139198,7 @@
Returns:
- The WineShortcut object + true if an application has been uninstalled, false otherwise
@@ -138732,7 +139209,7 @@
Returns:
-WineShortcut +bool
@@ -138750,7 +139227,7 @@
Returns:
-

trustLevel(trustlevel) → {QuickScript}

+

uninstall() → {void}

@@ -138758,7 +139235,7 @@

trustLevel<
- set trust level + Uninstalls the shortcut
@@ -138769,55 +139246,6 @@

trustLevel< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
trustlevel - - -string - - - -
- - @@ -138851,7 +139279,7 @@
Parameters:
Source:
@@ -138879,10 +139307,6 @@
Parameters:
Returns:
-
- QuickScript object -
-
@@ -138891,7 +139315,7 @@
Returns:
-QuickScript +void
@@ -138909,7 +139333,7 @@
Returns:
-

type(type) → {WineShortcut}

+

url(url) → {Downloader}

@@ -138917,7 +139341,7 @@

type - Sets the shortcut type + Sets the URL which shall be used for the download @@ -138953,7 +139377,7 @@
Parameters:
- type + url @@ -138969,7 +139393,7 @@
Parameters:
- The shortcut type + The URL @@ -139010,7 +139434,7 @@
Parameters:
Source:
@@ -139039,7 +139463,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -139050,7 +139474,7 @@
Returns:
-WineShortcut +Downloader
@@ -139068,7 +139492,7 @@
Returns:
-

uninstall(name) → {bool}

+

url(url) → {Resource}

@@ -139076,7 +139500,7 @@

uninstall - uninstall application + Sets the resource URL @@ -139112,7 +139536,7 @@
Parameters:
- name + url @@ -139128,7 +139552,7 @@
Parameters:
- of the application which shall be uninstalled + The URL @@ -139169,7 +139593,7 @@
Parameters:
Source:
@@ -139198,7 +139622,7 @@
Returns:
- true if an application has been uninstalled, false otherwise + The Resource object
@@ -139209,7 +139633,7 @@
Returns:
-bool +Resource
@@ -139227,7 +139651,7 @@
Returns:
-

uninstall() → {void}

+

wait() → {Wine}

@@ -139235,7 +139659,7 @@

uninstall - Uninstalls the shortcut + wait until wineserver finishes @@ -139279,7 +139703,7 @@

uninstallSource:
@@ -139315,7 +139739,7 @@
Returns:
-void +Wine
@@ -139333,17 +139757,13 @@
Returns:
-

url(url) → {Resource}

+

winepath(pathopt) → {String}

-
- Sets the resource URL -
- @@ -139365,6 +139785,8 @@
Parameters:
Type + Attributes + @@ -139377,23 +139799,33 @@
Parameters:
- url + path -string +String + + + <optional>
+ + + + + - The URL + + + @@ -139434,7 +139866,7 @@
Parameters:
Source:
@@ -139462,10 +139894,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -139474,7 +139902,7 @@
Returns:
-Resource +String
@@ -139492,7 +139920,7 @@
Returns:
-

url(url) → {Downloader}

+

wineServer(wineserver)

@@ -139500,7 +139928,7 @@

url - Sets the URL which shall be used for the download + executes wineserver in current prefix @@ -139536,7 +139964,7 @@
Parameters:
- url + wineserver @@ -139552,7 +139980,7 @@
Parameters:
- The URL + parameter @@ -139593,7 +140021,7 @@
Parameters:
Source:
@@ -139618,28 +140046,6 @@
Parameters:
-
Returns:
- - -
- The Downloader object -
- - - -
-
- Type -
-
- -Downloader - - -
-
- - @@ -139651,7 +140057,7 @@
Returns:
-

wait() → {Wine}

+

withScript(command) → {PlainInstaller}

@@ -139659,7 +140065,7 @@

wait - wait until wineserver finishes + Sets the installation script consisting of a lambda function @@ -139670,108 +140076,6 @@

wait - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -

- - - - - - - - - - - - - - - -
Returns:
- - - - -
-
- Type -
-
- -Wine - - -
-
- - - - - - - - - - - - - -

winepath(pathopt) → {String}

- - - - - - - - - - - - - -
Parameters:
@@ -139785,8 +140089,6 @@
Parameters:
Type - Attributes - @@ -139799,33 +140101,23 @@
Parameters:
- path + command -String +function - - - <optional>
- - - - - - - - + The installation command @@ -139866,7 +140158,7 @@
Parameters:
Source:
@@ -139894,6 +140186,10 @@
Parameters:
Returns:
+
+ The PlainInstaller object +
+
@@ -139902,7 +140198,7 @@
Returns:
-String +PlainInstaller
@@ -139920,7 +140216,7 @@
Returns:
-

wineServer(wineserver)

+

wizard(wizard) → {Resource}

@@ -139928,7 +140224,7 @@

wineServer<
- executes wineserver in current prefix + Sets the setup wizard
@@ -139964,13 +140260,13 @@

Parameters:
- wineserver + wizard -string +SetupWizard @@ -139980,7 +140276,7 @@
Parameters:
- parameter + The setup wizard @@ -140021,7 +140317,7 @@
Parameters:
Source:
@@ -140046,6 +140342,28 @@
Parameters:
+
Returns:
+ + +
+ The Resource object +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + @@ -140057,7 +140375,7 @@
Parameters:
-

withScript(command) → {PlainInstaller}

+

wizard(wizard) → {Downloader}

@@ -140065,7 +140383,7 @@

withScript<
- Sets the installation script consisting of a lambda function + Sets the setup wizard
@@ -140101,13 +140419,13 @@

Parameters:
- command + wizard -function +SetupWizard @@ -140117,7 +140435,7 @@
Parameters:
- The installation command + The setup wizard @@ -140158,7 +140476,7 @@
Parameters:
Source:
@@ -140187,7 +140505,7 @@
Returns:
- The PlainInstaller object + The Downloader object
@@ -140198,7 +140516,7 @@
Returns:
-PlainInstaller +Downloader
@@ -140377,22 +140695,14 @@
Returns:
- - -

wizard(wizard) → {Resource}

- +

- - -
- Sets the setup wizard -
- +

@@ -140400,54 +140710,40 @@

wizard -
Parameters:
+
- - - - +

default()

- +
Wine engine
+ + - - +
+
+ - + +

Constructor

+ -
- - + +

new default()

+ - - - - - - - - - - - - -
NameTypeDescription
wizard - - -SetupWizard - - The setup wizard
+ @@ -140483,7 +140779,7 @@
Parameters:
Source:
@@ -140508,32 +140804,30 @@
Parameters:
-
Returns:
- -
- The Resource object -
-
-
- Type -
-
- -Resource + + -
-
+ + + + + + + + + +

Methods

@@ -140541,7 +140835,7 @@
Returns:
-

wizard(wizard) → {Downloader}

+

_createShortcut(prefixopt)

@@ -140549,7 +140843,7 @@

wizard - Sets the setup wizard + creates shortcut @@ -140573,6 +140867,8 @@
Parameters:
Type + Attributes + @@ -140585,23 +140881,33 @@
Parameters:
- wizard + prefix -SetupWizard +string + + + <optional>
+ + + + + + + - The setup wizard + prefix name @@ -140642,7 +140948,7 @@
Parameters:
Source:
@@ -140667,83 +140973,83 @@
Parameters:
-
Returns:
- -
- The Downloader object -
-
-
- Type -
-
- -Downloader - -
-
+ + - - - - - - +

_fetchFileNameFromUrl(url) → {string}

- - +
+ Fetches the file name from an URL +
-
-
+ + + +
Parameters:
-

default()

+ + + + -
WineShortcut prototype
+ - - -
-
- +
+ - -

Constructor

- + - -

new default()

- + + + + + + + + + + + + + - + + +
NameTypeDescription
url + + +string + + The URL
@@ -140779,7 +141085,7 @@

new defaultSource:
@@ -140804,30 +141110,32 @@

new defaultReturns:

+ +
+ The file name +
+
+
+ Type +
+
+ +string - - - - - - - +
+
- - - - -

Methods

@@ -140835,7 +141143,7 @@

Methods

-

_createShortcut(prefixopt)

+

algorithm(algorithm) → {Resource}

@@ -140843,7 +141151,7 @@

_creat
- creates shortcut + Sets the checksum algorithm
@@ -140867,8 +141175,6 @@

Parameters:
Type - Attributes - @@ -140881,7 +141187,7 @@
Parameters:
- prefix + algorithm @@ -140894,20 +141200,10 @@
Parameters:
- - - <optional>
- - - - - - - - prefix name + The algorithm to verify the checksum (e.g. "SHA") @@ -140948,7 +141244,7 @@
Parameters:
Source:
@@ -140973,6 +141269,28 @@
Parameters:
+
Returns:
+ + +
+ The Resource object +
+ + + +
+
+ Type +
+
+ +Resource + + +
+
+ + @@ -140984,7 +141302,7 @@
Parameters:
-

_fetchFileNameFromUrl(url) → {string}

+

algorithm(algorithm) → {Downloader}

@@ -140992,7 +141310,7 @@

- Fetches the file name from an URL + Sets the algorithm which shall be used to verify the checksum
@@ -141028,7 +141346,7 @@

Parameters:
- url + algorithm @@ -141044,7 +141362,7 @@
Parameters:
- The URL + The checksum algorithm (e.g. "SHA") @@ -141085,7 +141403,7 @@
Parameters:
Source:
@@ -141114,7 +141432,7 @@
Returns:
- The file name + The Downloader object
@@ -141125,7 +141443,7 @@
Returns:
-string +Downloader
@@ -141143,7 +141461,7 @@
Returns:
-

algorithm(algorithm) → {Resource}

+

application(application) → {AppResource}

@@ -141151,7 +141469,7 @@

algorithm - Sets the checksum algorithm + Sets the application containing the resources @@ -141187,7 +141505,7 @@
Parameters:
- algorithm + application @@ -141203,7 +141521,7 @@
Parameters:
- The algorithm to verify the checksum (e.g. "SHA") + The application with the resource @@ -141244,7 +141562,7 @@
Parameters:
Source:
@@ -141273,7 +141591,7 @@
Returns:
- The Resource object + The AppResource object
@@ -141284,7 +141602,7 @@
Returns:
-Resource +AppResource
@@ -141302,7 +141620,113 @@
Returns:
-

algorithm(algorithm) → {Downloader}

+

architecture() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ architecture ("x86" or "amd64") +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + + + + + + + + + + + + +

arguments(args) → {WineShortcut}

@@ -141310,7 +141734,7 @@

algorithm - Sets the algorithm which shall be used to verify the checksum + Sets the shortcut arguments @@ -141346,13 +141770,13 @@
Parameters:
- algorithm + args -string +array @@ -141362,7 +141786,7 @@
Parameters:
- The checksum algorithm (e.g. "SHA") + The shortcut arguments @@ -141403,7 +141827,7 @@
Parameters:
Source:
@@ -141432,7 +141856,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -141443,7 +141867,7 @@
Returns:
-Downloader +WineShortcut
@@ -141461,17 +141885,13 @@
Returns:
-

application(application) → {AppResource}

+

availableDistributions(architectureopt) → {Array.<string>}

-
- Sets the application containing the resources -
- @@ -141493,8 +141913,12 @@
Parameters:
Type + Attributes + + Default + Description @@ -141505,7 +141929,7 @@
Parameters:
- application + architecture @@ -141518,10 +141942,26 @@
Parameters:
+ + + <optional>
+ + + + + + + + + + current architecture + + + - The application with the resource + @@ -141562,7 +142002,7 @@
Parameters:
Source:
@@ -141590,10 +142030,6 @@
Parameters:
Returns:
-
- The AppResource object -
-
@@ -141602,7 +142038,7 @@
Returns:
-AppResource +Array.<string>
@@ -141620,19 +142056,88 @@
Returns:
-

architecture() → {string}

+

availableVersions(distribution nameopt) → {Array.<string>}

+ + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
distribution name + + +string + + + + <optional>
+ + + +
+ + current distribution + +
@@ -141668,7 +142173,7 @@

architect
Source:
@@ -141696,10 +142201,6 @@

architect

Returns:
-
- architecture ("x86" or "amd64") -
-
@@ -141708,7 +142209,7 @@
Returns:
-string +Array.<string>
@@ -141726,7 +142227,7 @@
Returns:
-

arguments(args) → {WineShortcut}

+

binPath(subCategoryopt, versionopt) → {string}

@@ -141734,7 +142235,8 @@

arguments - Sets the shortcut arguments + returns the path to the engine binary directory +if no parameters are given, the Wine version of the current prefix is used @@ -141758,6 +142260,8 @@
Parameters:
Type + Attributes + @@ -141770,23 +142274,66 @@
Parameters:
- args + subCategory -array +string + + + <optional>
+ + + + + + + - The shortcut arguments + Wine sub-category + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + Wine version @@ -141827,7 +142374,7 @@
Parameters:
Source:
@@ -141856,7 +142403,7 @@
Returns:
- The WineShortcut object + path to "wine" binary
@@ -141867,7 +142414,7 @@
Returns:
-WineShortcut +string
@@ -141885,13 +142432,17 @@
Returns:
-

availableDistributions(architectureopt) → {Array.<string>}

+

category(category) → {WineShortcut}

+
+ Sets the shortcut category +
+ @@ -141913,12 +142464,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -141929,7 +142476,7 @@
Parameters:
- architecture + category @@ -141942,26 +142489,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - current architecture - - - - + The shortcut category @@ -142002,7 +142533,7 @@
Parameters:
Source:
@@ -142030,6 +142561,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -142038,7 +142573,7 @@
Returns:
-Array.<string> +WineShortcut
@@ -142056,13 +142591,17 @@
Returns:
-

availableVersions(distribution nameopt) → {Array.<string>}

+

checksum(checksum) → {Downloader}

+
+ Sets the checksum +
+ @@ -142084,12 +142623,8 @@
Parameters:
Type - Attributes - - Default - Description @@ -142100,7 +142635,7 @@
Parameters:
- distribution name + checksum @@ -142113,26 +142648,10 @@
Parameters:
- - - <optional>
- - - - - - - - - current distribution - - - - - + The checksum which shall be used to verify the download @@ -142173,7 +142692,7 @@
Parameters:
Source:
@@ -142201,6 +142720,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -142209,7 +142732,7 @@
Returns:
-Array.<string> +Downloader
@@ -142227,7 +142750,7 @@
Returns:
-

binPath(subCategoryopt, versionopt) → {string}

+

checksum(checksum) → {Resource}

@@ -142235,8 +142758,7 @@

binPath - returns the path to the engine binary directory -if no parameters are given, the Wine version of the current prefix is used + Sets the checksum which shall be used to verify the resource @@ -142260,8 +142782,6 @@
Parameters:
Type - Attributes - @@ -142274,40 +142794,7 @@
Parameters:
- subCategory - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - Wine sub-category - - - - - - - version + checksum @@ -142320,20 +142807,10 @@
Parameters:
- - - <optional>
- - - - - - - - Wine version + The checksum @@ -142374,7 +142851,7 @@
Parameters:
Source:
@@ -142403,7 +142880,7 @@
Returns:
- path to "wine" binary + The Resource object
@@ -142414,7 +142891,7 @@
Returns:
-string +Resource
@@ -142432,7 +142909,7 @@
Returns:
-

category(category) → {WineShortcut}

+

create() → {Wine}

@@ -142440,7 +142917,7 @@

category - Sets the shortcut category + runs "wineboot" @@ -142451,55 +142928,6 @@

categoryParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
category - - -string - - - - The shortcut category
- - @@ -142533,7 +142961,7 @@
Parameters:
Source:
@@ -142562,7 +142990,7 @@
Returns:
- The WineShortcut object + The Wine object
@@ -142573,7 +143001,7 @@
Returns:
-WineShortcut +Wine
@@ -142591,7 +143019,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

create() → {void}

@@ -142599,7 +143027,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Creates a new shortcut @@ -142610,55 +143038,6 @@

checksumParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
checksum - - -string - - - - The checksum
- - @@ -142692,7 +143071,7 @@
Parameters:
Source:
@@ -142720,10 +143099,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -142732,7 +143107,7 @@
Returns:
-Resource +void
@@ -142750,7 +143125,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

description(description) → {WineShortcut}

@@ -142758,7 +143133,7 @@

checksum - Sets the checksum + Sets the shortcut description @@ -142794,7 +143169,7 @@
Parameters:
- checksum + description @@ -142810,7 +143185,7 @@
Parameters:
- The checksum which shall be used to verify the download + The shortcut description @@ -142851,7 +143226,7 @@
Parameters:
Source:
@@ -142880,7 +143255,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -142891,7 +143266,7 @@
Returns:
-Downloader +WineShortcut
@@ -142909,7 +143284,7 @@
Returns:
-

create() → {Wine}

+

directory(directory) → {Resource}

@@ -142917,7 +143292,7 @@

create - runs "wineboot" + Sets the directory inside the resources directory where the Resource is stored @@ -142928,114 +143303,53 @@

create - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The Wine object -
- + -
-
- Type -
-
-Wine + -
-
+ + + + + + + + + - - + - -

create() → {void}

- + + - - - -
- Creates a new shortcut -
- - - - - - - + +
NameTypeDescription
directory + + +string + + The directory path
@@ -143071,7 +143385,7 @@

createSource:
@@ -143099,6 +143413,10 @@

createReturns:

+
+ The Resource object +
+
@@ -143107,7 +143425,7 @@
Returns:
-void +Resource
@@ -143125,7 +143443,7 @@
Returns:
-

description(description) → {WineShortcut}

+

download(setupWizard) → {String}

@@ -143133,7 +143451,7 @@

descriptio
- Sets the shortcut description + Download the setup resources in the same directory, and returns the path of the .exe
@@ -143169,13 +143487,13 @@

Parameters:
- description + setupWizard -string +SetupWizard @@ -143185,7 +143503,7 @@
Parameters:
- The shortcut description + The setup wizard @@ -143226,7 +143544,7 @@
Parameters:
Source:
@@ -143255,7 +143573,7 @@
Returns:
- The WineShortcut object + The .exe file entry that can be used to continue the installation
@@ -143266,7 +143584,7 @@
Returns:
-WineShortcut +String
@@ -143284,7 +143602,7 @@
Returns:
-

directory(directory) → {Resource}

+

environment(environment) → {WineShortcut}

@@ -143292,7 +143610,7 @@

directory - Sets the directory inside the resources directory where the Resource is stored + Sets the shortcut environment variables @@ -143328,7 +143646,7 @@
Parameters:
- directory + environment @@ -143344,7 +143662,7 @@
Parameters:
- The directory path + The environment variables @@ -143385,7 +143703,7 @@
Parameters:
Source:
@@ -143414,7 +143732,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -143425,7 +143743,7 @@
Returns:
-Resource +WineShortcut
@@ -143443,7 +143761,7 @@
Returns:
-

download(setupWizard) → {String}

+

environment(environment) → {QuickScript}

@@ -143451,7 +143769,7 @@

download - Download the setup resources in the same directory, and returns the path of the .exe + set environment @@ -143487,13 +143805,13 @@
Parameters:
- setupWizard + environment -SetupWizard +string @@ -143503,7 +143821,7 @@
Parameters:
- The setup wizard + variables @@ -143544,7 +143862,7 @@
Parameters:
Source:
@@ -143573,7 +143891,7 @@
Returns:
- The .exe file entry that can be used to continue the installation + QuickScript object
@@ -143584,7 +143902,7 @@
Returns:
-String +QuickScript
@@ -143602,7 +143920,7 @@
Returns:
-

environment(environment) → {WineShortcut}

+

executable(executable, args)

@@ -143610,7 +143928,7 @@

environmen
- Sets the shortcut environment variables + set executable
@@ -143646,15 +143964,28 @@

Parameters:
- environment + executable - -string + + + + + + executable without path (e.g. "Steam.exe") + + + + + + + args + + @@ -143662,7 +143993,7 @@
Parameters:
- The environment variables + use array (e.g. ["-applaunch", 409160]) @@ -143703,7 +144034,7 @@
Parameters:
Source:
@@ -143728,28 +144059,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -143761,72 +144070,19 @@
Returns:
-

environment(environment) → {QuickScript}

+

fontDirectory() → {string}

-
- set environment -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
environment - - -string - - variables
@@ -143862,7 +144118,7 @@
Parameters:
Source:
@@ -143891,7 +144147,7 @@
Returns:
- QuickScript object + font directory
@@ -143902,7 +144158,7 @@
Returns:
-QuickScript +string
@@ -143920,7 +144176,7 @@
Returns:
-

executable(executable, args)

+

get() → {string}

@@ -143928,7 +144184,7 @@

executable<
- set executable + Fetches the Resource and returns the path leading to the downloaded resource
@@ -143939,152 +144195,6 @@

executable< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -

fontDirectory() → {string}

- - - - - - - - - - - - - - @@ -144118,7 +144228,7 @@

fontDire
Source:
@@ -144147,7 +144257,7 @@

Returns:
- font directory + The path leading to the downloaded resource
@@ -144445,7 +144555,7 @@
Returns:
-

get() → {string}

+

getContainer() → {string}

@@ -144453,7 +144563,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the name of the container belonging to a shortcut @@ -144497,7 +144607,7 @@

getSource:
@@ -144526,7 +144636,7 @@
Returns:
- The path leading to the downloaded resource + The container name
@@ -144555,7 +144665,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -144563,7 +144673,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
@@ -144574,6 +144684,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -144607,7 +144766,7 @@

getContai
Source:
@@ -144636,7 +144795,7 @@

Returns:
- The container name + This
@@ -144647,7 +144806,7 @@
Returns:
-string +GogScript
@@ -144665,7 +144824,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -144673,7 +144832,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
@@ -144709,13 +144868,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -144725,7 +144884,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -144766,7 +144925,7 @@
Parameters:
Source:
@@ -144824,7 +144983,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

headers(headers) → {Downloader}

@@ -144832,7 +144991,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Sets the http headers
@@ -144868,13 +145027,13 @@

Parameters:
- setupFileNames + headers -Array.<string> +Object @@ -144884,7 +145043,7 @@
Parameters:
- The setup file name(s) + The http headers @@ -144925,7 +145084,7 @@
Parameters:
Source:
@@ -144954,7 +145113,7 @@
Returns:
- This + The Downloader object
@@ -144965,7 +145124,7 @@
Returns:
-GogScript +Downloader
@@ -144983,7 +145142,7 @@
Returns:
-

headers(headers) → {Downloader}

+

json() → {any}

@@ -144991,7 +145150,7 @@

headers - Sets the http headers + Gets the content of the downloaded file and returns it as a JSON value @@ -145002,55 +145161,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -145084,7 +145194,7 @@
Parameters:
Source:
@@ -145113,7 +145223,7 @@
Returns:
- The Downloader object + The json value
@@ -145124,7 +145234,7 @@
Returns:
-Downloader +any
@@ -145142,7 +145252,7 @@
Returns:
-

json() → {any}

+

kill() → {Wine}

@@ -145150,7 +145260,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + kill wine server @@ -145194,7 +145304,7 @@

jsonSource:
@@ -145222,10 +145332,6 @@

json - The json value - -
@@ -145234,7 +145340,7 @@
Returns:
-any +Wine
@@ -145252,7 +145358,7 @@
Returns:
-

kill() → {Wine}

+

loginToGog(setupWizard) → {GogScript}

@@ -145260,7 +145366,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 @@ -145271,6 +145378,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupWizard + + + + + +SetupWizard + + + + + + + + + + The setupWizard to use + + + + + + + @@ -145304,7 +145460,7 @@

killSource:
@@ -145332,6 +145488,10 @@

kill + This + +
@@ -145340,7 +145500,7 @@
Returns:
-Wine +GogScript
@@ -145358,7 +145518,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -145366,8 +145526,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
@@ -145403,13 +145562,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -145419,7 +145578,7 @@
Parameters:
- The setupWizard to use + The download message @@ -145460,7 +145619,7 @@
Parameters:
Source:
@@ -145489,7 +145648,7 @@
Returns:
- This + The Downloader object
@@ -145500,7 +145659,7 @@
Returns:
-GogScript +Downloader
@@ -145518,7 +145677,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -145526,7 +145685,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -145562,13 +145721,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -145578,7 +145740,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -145619,7 +145781,7 @@
Parameters:
Source:
@@ -145648,7 +145810,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -145659,7 +145821,7 @@
Returns:
-Downloader +WineShortcut
@@ -145826,7 +145988,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -145834,7 +145996,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -145870,16 +146032,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -145889,7 +146048,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 @@ -145930,7 +146089,7 @@
Parameters:
Source:
@@ -145959,7 +146118,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -145970,7 +146129,7 @@
Returns:
-WineShortcut +Resource
@@ -146147,7 +146306,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -146155,7 +146314,7 @@

name - Sets the resource name + Sets shortcut @@ -146191,7 +146350,7 @@
Parameters:
- name + shortcut @@ -146207,7 +146366,7 @@
Parameters:
- The name of the resource + shortcut @@ -146248,7 +146407,7 @@
Parameters:
Source:
@@ -146276,10 +146435,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -146288,7 +146443,7 @@
Returns:
-Resource +void
@@ -146306,7 +146461,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -146314,7 +146469,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -146350,13 +146505,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -146366,7 +146521,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -146407,7 +146562,7 @@
Parameters:
Source:
@@ -146435,6 +146590,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -146443,7 +146602,7 @@
Returns:
-void +Downloader
@@ -146461,7 +146620,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefix) → {WineShortcut}

@@ -146469,7 +146628,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets the shortcut prefix
@@ -146505,13 +146664,13 @@

Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string @@ -146521,7 +146680,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + The shortcut prefix @@ -146562,7 +146721,7 @@
Parameters:
Source:
@@ -146591,7 +146750,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -146602,7 +146761,7 @@
Returns:
-Downloader +WineShortcut
@@ -146885,165 +147044,6 @@
Returns:
-

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

prefixDirectory() → {string}

@@ -149382,7 +149382,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -149390,7 +149390,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -149483,7 +149483,7 @@
Parameters:
Source:
@@ -149512,7 +149512,7 @@
Returns:
- The Resource object + The Downloader object
@@ -149523,7 +149523,7 @@
Returns:
-Resource +Downloader
@@ -149541,7 +149541,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -149549,7 +149549,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -149642,7 +149642,7 @@
Parameters:
Source:
@@ -149671,7 +149671,7 @@
Returns:
- The Downloader object + The Resource object
@@ -149682,7 +149682,7 @@
Returns:
-Downloader +Resource
@@ -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()

-
Resource class
+
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
@@ -154225,6 +154225,116 @@
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}

@@ -154494,7 +154604,7 @@
Returns:
-

get() → {string}

+

getContainer() → {string}

@@ -154502,7 +154612,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the name of the container belonging to a shortcut @@ -154546,7 +154656,7 @@

getSource:
@@ -154575,7 +154685,7 @@
Returns:
- The path leading to the downloaded resource + The container name
@@ -154604,7 +154714,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -154612,7 +154722,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
@@ -154623,6 +154733,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -154656,7 +154815,7 @@

getContai
Source:
@@ -154685,7 +154844,7 @@

Returns:
- The container name + This
@@ -154696,7 +154855,7 @@
Returns:
-string +GogScript
@@ -154714,7 +154873,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -154722,7 +154881,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
@@ -154758,13 +154917,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -154774,7 +154933,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -154815,7 +154974,7 @@
Parameters:
Source:
@@ -154873,7 +155032,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

headers(headers) → {Downloader}

@@ -154881,7 +155040,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Sets the http headers
@@ -154917,13 +155076,13 @@

Parameters:
- setupFileNames + headers -Array.<string> +Object @@ -154933,7 +155092,7 @@
Parameters:
- The setup file name(s) + The http headers @@ -154974,7 +155133,7 @@
Parameters:
Source:
@@ -155003,7 +155162,7 @@
Returns:
- This + The Downloader object
@@ -155014,7 +155173,7 @@
Returns:
-GogScript +Downloader
@@ -155032,7 +155191,7 @@
Returns:
-

headers(headers) → {Downloader}

+

json() → {any}

@@ -155040,7 +155199,7 @@

headers - Sets the http headers + Gets the content of the downloaded file and returns it as a JSON value @@ -155051,55 +155210,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -155133,7 +155243,7 @@
Parameters:
Source:
@@ -155162,7 +155272,7 @@
Returns:
- The Downloader object + The json value
@@ -155173,7 +155283,7 @@
Returns:
-Downloader +any
@@ -155191,7 +155301,7 @@
Returns:
-

json() → {any}

+

kill() → {Wine}

@@ -155199,7 +155309,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + kill wine server @@ -155243,7 +155353,7 @@

jsonSource:
@@ -155271,10 +155381,6 @@

json - The json value - -
@@ -155283,7 +155389,7 @@
Returns:
-any +Wine
@@ -155301,7 +155407,7 @@
Returns:
-

kill() → {Wine}

+

loginToGog(setupWizard) → {GogScript}

@@ -155309,7 +155415,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 @@ -155320,6 +155427,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupWizard + + + + + +SetupWizard + + + + + + + + + + The setupWizard to use + + + + + + + @@ -155353,7 +155509,7 @@

killSource:
@@ -155381,6 +155537,10 @@

kill + This + +
@@ -155389,7 +155549,7 @@
Returns:
-Wine +GogScript
@@ -155407,7 +155567,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -155415,8 +155575,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
@@ -155452,13 +155611,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -155468,7 +155627,7 @@
Parameters:
- The setupWizard to use + The download message @@ -155509,7 +155668,7 @@
Parameters:
Source:
@@ -155538,7 +155697,7 @@
Returns:
- This + The Downloader object
@@ -155549,7 +155708,7 @@
Returns:
-GogScript +Downloader
@@ -155567,7 +155726,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -155575,7 +155734,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -155611,13 +155770,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -155627,7 +155789,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -155668,7 +155830,7 @@
Parameters:
Source:
@@ -155697,7 +155859,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -155708,7 +155870,7 @@
Returns:
-Downloader +WineShortcut
@@ -155875,7 +156037,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -155883,7 +156045,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -155919,16 +156081,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -155938,7 +156097,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 @@ -155979,7 +156138,7 @@
Parameters:
Source:
@@ -156008,7 +156167,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -156019,7 +156178,7 @@
Returns:
-WineShortcut +Resource
@@ -156196,7 +156355,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -156204,7 +156363,7 @@

name - Sets the resource name + Sets shortcut @@ -156240,7 +156399,7 @@
Parameters:
- name + shortcut @@ -156256,7 +156415,7 @@
Parameters:
- The name of the resource + shortcut @@ -156297,7 +156456,7 @@
Parameters:
Source:
@@ -156325,10 +156484,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -156337,7 +156492,7 @@
Returns:
-Resource +void
@@ -156355,7 +156510,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -156363,7 +156518,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -156399,13 +156554,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -156415,7 +156570,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -156456,7 +156611,7 @@
Parameters:
Source:
@@ -156484,6 +156639,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -156492,7 +156651,7 @@
Returns:
-void +Downloader
@@ -156510,7 +156669,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefix) → {WineShortcut}

@@ -156518,7 +156677,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets the shortcut prefix
@@ -156554,13 +156713,13 @@

Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string @@ -156570,7 +156729,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + The shortcut prefix @@ -156611,7 +156770,7 @@
Parameters:
Source:
@@ -156640,7 +156799,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -156651,7 +156810,7 @@
Returns:
-Downloader +WineShortcut
@@ -156934,165 +157093,6 @@
Returns:
-

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

prefixDirectory() → {string}

@@ -159431,7 +159431,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -159439,7 +159439,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -159532,7 +159532,7 @@
Parameters:
Source:
@@ -159561,7 +159561,7 @@
Returns:
- The Resource object + The Downloader object
@@ -159572,7 +159572,7 @@
Returns:
-Resource +Downloader
@@ -159590,7 +159590,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -159598,7 +159598,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -159691,7 +159691,7 @@
Parameters:
Source:
@@ -159720,7 +159720,7 @@
Returns:
- The Downloader object + The Resource object
@@ -159731,7 +159731,7 @@
Returns:
-Downloader +Resource
@@ -160314,13 +160314,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -160342,8 +160346,6 @@
Parameters:
Type - Attributes - @@ -160369,20 +160371,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -160423,7 +160415,7 @@
Parameters:
Source:
@@ -160451,6 +160443,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -160459,10 +160455,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -160480,7 +160473,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -160581,7 +160574,7 @@
Parameters:
Source:
@@ -160610,7 +160603,7 @@
Returns:
- The Resource object + The Downloader object
@@ -160621,7 +160614,7 @@
Returns:
-Resource +Downloader
@@ -160639,17 +160632,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -160671,6 +160660,8 @@
Parameters:
Type + Attributes + @@ -160696,10 +160687,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -160740,7 +160741,7 @@
Parameters:
Source:
@@ -160768,10 +160769,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -160780,7 +160777,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -160814,7 +160814,7 @@
Returns:

default()

-
setting to set the DirectDraw renderer
+
WineShortcut prototype

@@ -160877,7 +160877,7 @@

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

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -162697,7 +162697,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -162749,7 +162749,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -162790,7 +162790,7 @@
Parameters:
Source:
@@ -162819,7 +162819,7 @@
Returns:
- The Resource object + The Downloader object
@@ -162830,7 +162830,7 @@
Returns:
-Resource +Downloader
@@ -162848,7 +162848,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -162856,7 +162856,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -162908,7 +162908,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -162949,7 +162949,7 @@
Parameters:
Source:
@@ -162978,7 +162978,7 @@
Returns:
- The Downloader object + The Resource object
@@ -162989,7 +162989,7 @@
Returns:
-Downloader +Resource
@@ -164274,7 +164274,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -164282,7 +164282,7 @@

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

getSource:
@@ -164355,7 +164355,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -164366,7 +164366,7 @@
Returns:
-String +string
@@ -164384,7 +164384,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -164392,7 +164392,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -164403,55 +164403,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -164485,7 +164436,7 @@
Parameters:
Source:
@@ -164514,7 +164465,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -164525,7 +164476,7 @@
Returns:
-Resource +String
@@ -164543,7 +164494,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -164551,7 +164502,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -164595,7 +164595,7 @@

getSource:
@@ -164624,7 +164624,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -164635,7 +164635,7 @@
Returns:
-string +Resource
@@ -165775,7 +165775,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -165783,7 +165783,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -165807,8 +165807,6 @@
Parameters:
Type - Attributes - @@ -165827,6 +165825,9 @@
Parameters:
+Array.<string> +| + URI @@ -165834,20 +165835,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 @@ -165888,7 +165879,7 @@
Parameters:
Source:
@@ -165913,6 +165904,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -165924,7 +165937,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -165932,7 +165945,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -165956,6 +165969,8 @@
Parameters:
Type + Attributes + @@ -165974,9 +165989,6 @@
Parameters:
-Array.<string> -| - URI @@ -165984,10 +165996,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 @@ -166028,7 +166050,7 @@
Parameters:
Source:
@@ -166053,28 +166075,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -166086,7 +166086,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -166094,7 +166094,7 @@

name - Sets the shortcut name + Sets the resource name @@ -166146,7 +166146,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -166187,7 +166187,7 @@
Parameters:
Source:
@@ -166216,7 +166216,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -166227,7 +166227,7 @@
Returns:
-WineShortcut +Resource
@@ -166245,7 +166245,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -166253,7 +166253,7 @@

name - Sets the resource name + Sets the shortcut name @@ -166305,7 +166305,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -166346,7 +166346,7 @@
Parameters:
Source:
@@ -166375,7 +166375,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -166386,7 +166386,7 @@
Returns:
-Resource +WineShortcut
@@ -166718,13 +166718,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -166746,8 +166750,6 @@
Parameters:
Type - Attributes - @@ -166773,119 +166775,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -166926,7 +166819,7 @@
Parameters:
Source:
@@ -166954,6 +166847,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -166962,10 +166859,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -166983,17 +166877,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -167015,6 +166905,8 @@
Parameters:
Type + Attributes + @@ -167040,10 +166932,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -167084,7 +167085,7 @@
Parameters:
Source:
@@ -167112,10 +167113,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -167124,7 +167121,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -169480,7 +169480,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -169488,7 +169488,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -169581,7 +169581,7 @@
Parameters:
Source:
@@ -169610,7 +169610,7 @@
Returns:
- The Resource object + The Downloader object
@@ -169621,7 +169621,7 @@
Returns:
-Resource +Downloader
@@ -169639,7 +169639,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -169647,7 +169647,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -169740,7 +169740,7 @@
Parameters:
Source:
@@ -169769,7 +169769,7 @@
Returns:
- The Downloader object + The Resource object
@@ -169780,7 +169780,7 @@
Returns:
-Downloader +Resource
@@ -170363,13 +170363,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -170391,8 +170395,6 @@
Parameters:
Type - Attributes - @@ -170418,20 +170420,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -170472,7 +170464,7 @@
Parameters:
Source:
@@ -170500,6 +170492,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -170508,10 +170504,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -170529,7 +170522,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -170630,7 +170623,7 @@
Parameters:
Source:
@@ -170659,7 +170652,7 @@
Returns:
- The Resource object + The Downloader object
@@ -170670,7 +170663,7 @@
Returns:
-Resource +Downloader
@@ -170688,17 +170681,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -170720,6 +170709,8 @@
Parameters:
Type + Attributes + @@ -170745,10 +170736,20 @@
Parameters:
+ + + <optional>
+ + + + + - The setup wizard + + + @@ -170789,7 +170790,7 @@
Parameters:
Source:
@@ -170817,10 +170818,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -170829,7 +170826,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -170863,7 +170863,7 @@
Returns:

default()

-
Setting to set the Fonts Smoothing
+
A "plain" script installer that is fully configurable.
@@ -170926,7 +170926,7 @@

new defaultSource:
@@ -172738,6 +172738,165 @@
Returns:
+

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 + + +
+
+ + + + + + + + + + + + +

checksum(checksum) → {Resource}

@@ -172897,165 +173056,6 @@
Returns:
-

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() → {Wine}

@@ -174323,6 +174323,116 @@
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}

@@ -174592,7 +174702,7 @@
Returns:
-

get() → {string}

+

getContainer() → {string}

@@ -174600,7 +174710,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the name of the container belonging to a shortcut @@ -174644,7 +174754,7 @@

getSource:
@@ -174673,7 +174783,7 @@
Returns:
- The path leading to the downloaded resource + The container name
@@ -174702,7 +174812,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -174710,7 +174820,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
@@ -174721,6 +174831,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -174754,7 +174913,7 @@

getContai
Source:
@@ -174783,7 +174942,7 @@

Returns:
- The container name + This
@@ -174794,7 +174953,7 @@
Returns:
-string +GogScript
@@ -174812,7 +174971,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -174820,7 +174979,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
@@ -174856,13 +175015,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -174872,7 +175031,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -174913,7 +175072,7 @@
Parameters:
Source:
@@ -174971,7 +175130,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

headers(headers) → {Downloader}

@@ -174979,7 +175138,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Sets the http headers
@@ -175015,13 +175174,13 @@

Parameters:
- setupFileNames + headers -Array.<string> +Object @@ -175031,7 +175190,7 @@
Parameters:
- The setup file name(s) + The http headers @@ -175072,7 +175231,7 @@
Parameters:
Source:
@@ -175101,7 +175260,7 @@
Returns:
- This + The Downloader object
@@ -175112,7 +175271,7 @@
Returns:
-GogScript +Downloader
@@ -175130,7 +175289,7 @@
Returns:
-

headers(headers) → {Downloader}

+

json() → {any}

@@ -175138,7 +175297,7 @@

headers - Sets the http headers + Gets the content of the downloaded file and returns it as a JSON value @@ -175149,55 +175308,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -175231,7 +175341,7 @@
Parameters:
Source:
@@ -175260,7 +175370,7 @@
Returns:
- The Downloader object + The json value
@@ -175271,7 +175381,7 @@
Returns:
-Downloader +any
@@ -175289,7 +175399,7 @@
Returns:
-

json() → {any}

+

kill() → {Wine}

@@ -175297,7 +175407,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + kill wine server @@ -175341,7 +175451,7 @@

jsonSource:
@@ -175369,10 +175479,6 @@

json - The json value - -
@@ -175381,7 +175487,7 @@
Returns:
-any +Wine
@@ -175399,7 +175505,7 @@
Returns:
-

kill() → {Wine}

+

loginToGog(setupWizard) → {GogScript}

@@ -175407,7 +175513,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 @@ -175418,6 +175525,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupWizard + + + + + +SetupWizard + + + + + + + + + + The setupWizard to use + + + + + + + @@ -175451,7 +175607,7 @@

killSource:
@@ -175479,6 +175635,10 @@

kill + This + +
@@ -175487,7 +175647,7 @@
Returns:
-Wine +GogScript
@@ -175505,7 +175665,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -175513,8 +175673,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
@@ -175550,13 +175709,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -175566,7 +175725,7 @@
Parameters:
- The setupWizard to use + The download message @@ -175607,7 +175766,7 @@
Parameters:
Source:
@@ -175636,7 +175795,7 @@
Returns:
- This + The Downloader object
@@ -175647,7 +175806,7 @@
Returns:
-GogScript +Downloader
@@ -175665,7 +175824,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -175673,7 +175832,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -175709,13 +175868,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -175725,7 +175887,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -175766,7 +175928,7 @@
Parameters:
Source:
@@ -175795,7 +175957,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -175806,7 +175968,7 @@
Returns:
-Downloader +WineShortcut
@@ -175973,7 +176135,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -175981,7 +176143,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -176017,16 +176179,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -176036,7 +176195,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 @@ -176077,7 +176236,7 @@
Parameters:
Source:
@@ -176106,7 +176265,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -176117,7 +176276,7 @@
Returns:
-WineShortcut +Resource
@@ -176294,7 +176453,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -176302,7 +176461,7 @@

name - Sets the resource name + Sets shortcut @@ -176338,7 +176497,7 @@
Parameters:
- name + shortcut @@ -176354,7 +176513,7 @@
Parameters:
- The name of the resource + shortcut @@ -176395,7 +176554,7 @@
Parameters:
Source:
@@ -176423,10 +176582,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -176435,7 +176590,7 @@
Returns:
-Resource +void
@@ -176453,7 +176608,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -176461,7 +176616,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -176497,13 +176652,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -176513,7 +176668,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -176554,7 +176709,7 @@
Parameters:
Source:
@@ -176582,6 +176737,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -176590,7 +176749,7 @@
Returns:
-void +Downloader
@@ -176608,7 +176767,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefix) → {WineShortcut}

@@ -176616,7 +176775,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets the shortcut prefix
@@ -176652,13 +176811,13 @@

Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string @@ -176668,7 +176827,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + The shortcut prefix @@ -176709,7 +176868,7 @@
Parameters:
Source:
@@ -176738,7 +176897,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -176749,7 +176908,7 @@
Returns:
-Downloader +WineShortcut
@@ -177032,165 +177191,6 @@
Returns:
-

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

prefixDirectory() → {string}

@@ -179529,7 +179529,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -179537,7 +179537,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -179630,7 +179630,7 @@
Parameters:
Source:
@@ -179659,7 +179659,7 @@
Returns:
- The Resource object + The Downloader object
@@ -179670,7 +179670,7 @@
Returns:
-Resource +Downloader
@@ -179688,7 +179688,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -179696,7 +179696,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -179789,7 +179789,7 @@
Parameters:
Source:
@@ -179818,7 +179818,7 @@
Returns:
- The Downloader object + The Resource object
@@ -179829,7 +179829,7 @@
Returns:
-Downloader +Resource
@@ -180412,13 +180412,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -180440,8 +180444,6 @@
Parameters:
Type - Attributes - @@ -180467,20 +180469,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -180521,7 +180513,7 @@
Parameters:
Source:
@@ -180549,6 +180541,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -180557,10 +180553,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -180578,7 +180571,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -180679,7 +180672,7 @@
Parameters:
Source:
@@ -180708,7 +180701,7 @@
Returns:
- The Resource object + The Downloader object
@@ -180719,7 +180712,7 @@
Returns:
-Resource +Downloader
@@ -180737,17 +180730,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -180769,6 +180758,8 @@
Parameters:
Type + Attributes + @@ -180794,10 +180785,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -180838,7 +180839,7 @@
Parameters:
Source:
@@ -180866,10 +180867,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -180878,7 +180875,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -180912,7 +180912,7 @@
Returns:

default()

-
Setting to enable/disable GLSL
+
setting to set the DirectDraw renderer
@@ -180975,7 +180975,7 @@

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

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -182795,7 +182795,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -182847,7 +182847,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -182888,7 +182888,7 @@
Parameters:
Source:
@@ -182917,7 +182917,7 @@
Returns:
- The Resource object + The Downloader object
@@ -182928,7 +182928,7 @@
Returns:
-Resource +Downloader
@@ -182946,7 +182946,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -182954,7 +182954,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -183006,7 +183006,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -183047,7 +183047,7 @@
Parameters:
Source:
@@ -183076,7 +183076,7 @@
Returns:
- The Downloader object + The Resource object
@@ -183087,7 +183087,7 @@
Returns:
-Downloader +Resource
@@ -184058,7 +184058,179 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ QuickScript object +
+ + + +
+
+ Type +
+
+ +QuickScript + + +
+
+ + + + + + + + + + + + + +

executable(executable, args)

+ + + + + + +
+ set executable +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
executable + + executable without path (e.g. "Steam.exe")
args + + use array (e.g. ["-applaunch", 409160])
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -184083,28 +184255,6 @@
Parameters:
-
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - @@ -184116,16 +184266,13 @@
Returns:
-

executable(executable, args)

+

fontDirectory() → {string}

-
- set executable -
@@ -184135,69 +184282,6 @@

executable< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - @@ -184230,7 +184314,7 @@
Parameters:
Source:
@@ -184255,6 +184339,28 @@
Parameters:
+
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -184266,13 +184372,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {string}

+
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ @@ -184314,7 +184424,7 @@

fontDire
Source:
@@ -184343,7 +184453,7 @@

Returns:
- font directory + The path leading to the downloaded resource
@@ -184641,116 +184751,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 - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -185873,7 +185873,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -185881,7 +185881,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -185905,8 +185905,6 @@
Parameters:
Type - Attributes - @@ -185925,6 +185923,9 @@
Parameters:
+Array.<string> +| + URI @@ -185932,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 @@ -185986,7 +185977,7 @@
Parameters:
Source:
@@ -186011,6 +186002,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -186022,7 +186035,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -186030,7 +186043,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -186054,6 +186067,8 @@
Parameters:
Type + Attributes + @@ -186072,9 +186087,6 @@
Parameters:
-Array.<string> -| - URI @@ -186082,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 @@ -186126,7 +186148,7 @@
Parameters:
Source:
@@ -186151,28 +186173,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -186184,7 +186184,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -186192,7 +186192,7 @@

name - Sets the shortcut name + Sets the resource name @@ -186244,7 +186244,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -186285,7 +186285,7 @@
Parameters:
Source:
@@ -186314,7 +186314,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -186325,7 +186325,7 @@
Returns:
-WineShortcut +Resource
@@ -186343,7 +186343,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -186351,7 +186351,7 @@

name - Sets the resource name + Sets the shortcut name @@ -186403,7 +186403,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -186444,7 +186444,7 @@
Parameters:
Source:
@@ -186473,7 +186473,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -186484,7 +186484,7 @@
Returns:
-Resource +WineShortcut
@@ -186816,13 +186816,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -186844,8 +186848,6 @@
Parameters:
Type - Attributes - @@ -186871,60 +186873,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ - - - +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -186957,7 +187050,7 @@
Parameters:
versiondistribution @@ -186987,145 +187080,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| - -Wine -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + + - + @@ -187182,7 +187183,7 @@
Parameters:
Source:
@@ -187210,10 +187211,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -187222,7 +187219,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -189578,7 +189578,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -189586,7 +189586,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -189679,7 +189679,7 @@
Parameters:
Source:
@@ -189708,7 +189708,7 @@
Returns:
- The Resource object + The Downloader object
@@ -189719,7 +189719,7 @@
Returns:
-Resource +Downloader
@@ -189737,7 +189737,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -189745,7 +189745,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -189838,7 +189838,7 @@
Parameters:
Source:
@@ -189867,7 +189867,7 @@
Returns:
- The Downloader object + The Resource object
@@ -189878,7 +189878,7 @@
Returns:
-Downloader +Resource
@@ -190461,13 +190461,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -190489,8 +190493,6 @@
Parameters:

- - @@ -190516,20 +190518,10 @@
Parameters:
- - - + @@ -190570,7 +190562,7 @@
Parameters:
Source:
@@ -190598,6 +190590,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -190606,10 +190602,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -190627,7 +190620,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -190728,7 +190721,7 @@
Parameters:
Source:
@@ -190757,7 +190750,7 @@
Returns:
- The Resource object + The Downloader object
@@ -190768,7 +190761,7 @@
Returns:
-Resource +Downloader
@@ -190786,17 +190779,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -190818,6 +190807,8 @@
Parameters:
+ + @@ -190843,10 +190834,20 @@
Parameters:
+ + - + @@ -190887,7 +190888,7 @@
Parameters:
Source:
@@ -190915,10 +190916,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -190927,7 +190924,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -192836,7 +192836,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -192844,7 +192844,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -192896,7 +192896,7 @@
Parameters:
-

+ @@ -192937,7 +192937,7 @@
Parameters:
Source:
@@ -192966,7 +192966,7 @@
Returns:
- The Resource object + The Downloader object
@@ -192977,7 +192977,7 @@
Returns:
-Resource +Downloader
@@ -192995,7 +192995,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -193003,7 +193003,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -193055,7 +193055,7 @@
Parameters:
-

+ @@ -193096,7 +193096,7 @@
Parameters:
Source:
@@ -193125,7 +193125,7 @@
Returns:
- The Downloader object + The Resource object
@@ -193136,7 +193136,7 @@
Returns:
-Downloader +Resource
@@ -194421,7 +194421,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -194429,7 +194429,7 @@

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

getSource:
@@ -194502,7 +194502,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -194513,7 +194513,7 @@
Returns:
-String +string
@@ -194531,7 +194531,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -194539,7 +194539,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -194550,55 +194550,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -187138,10 +187129,20 @@
Parameters:
+ + <optional>
+ + + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -194632,7 +194583,7 @@
Parameters:
Source:
@@ -194661,7 +194612,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -194672,7 +194623,7 @@
Returns:
-Resource +String
@@ -194690,7 +194641,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -194698,7 +194649,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -194742,7 +194742,7 @@

getSource:
@@ -194771,7 +194771,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -194782,7 +194782,7 @@
Returns:
-string +Resource
@@ -195922,7 +195922,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -195930,7 +195930,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -195954,8 +195954,6 @@
Parameters:
Type - Attributes - @@ -195974,6 +195972,9 @@
Parameters:
+Array.<string> +| + URI @@ -195981,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 @@ -196035,7 +196026,7 @@
Parameters:
Source:
@@ -196060,6 +196051,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -196071,7 +196084,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -196079,7 +196092,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -196103,6 +196116,8 @@
Parameters:
Type + Attributes + @@ -196121,9 +196136,6 @@
Parameters:
-Array.<string> -| - URI @@ -196131,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 @@ -196175,7 +196197,7 @@
Parameters:
Source:
@@ -196200,28 +196222,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -196233,7 +196233,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -196241,7 +196241,7 @@

name - Sets the shortcut name + Sets the resource name @@ -196293,7 +196293,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -196334,7 +196334,7 @@
Parameters:
Source:
@@ -196363,7 +196363,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -196374,7 +196374,7 @@
Returns:
-WineShortcut +Resource
@@ -196392,7 +196392,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -196400,7 +196400,7 @@

name - Sets the resource name + Sets the shortcut name @@ -196452,7 +196452,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -196493,7 +196493,7 @@
Parameters:
Source:
@@ -196522,7 +196522,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -196533,7 +196533,7 @@
Returns:
-Resource +WineShortcut
@@ -196865,13 +196865,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -196893,8 +196897,6 @@
Parameters:
Type - Attributes - @@ -196920,119 +196922,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -197073,7 +196966,7 @@
Parameters:
Source:
@@ -197101,6 +196994,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -197109,10 +197006,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -197130,17 +197024,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -197162,6 +197052,8 @@
Parameters:
Type + Attributes + @@ -197187,10 +197079,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -197231,7 +197232,7 @@
Parameters:
Source:
@@ -197259,10 +197260,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -197271,7 +197268,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -199627,7 +199627,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -199635,7 +199635,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -199728,7 +199728,7 @@
Parameters:
Source:
@@ -199757,7 +199757,7 @@
Returns:
- The Resource object + The Downloader object
@@ -199768,7 +199768,7 @@
Returns:
-Resource +Downloader
@@ -199786,7 +199786,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -199794,7 +199794,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -199887,7 +199887,7 @@
Parameters:
Source:
@@ -199916,7 +199916,7 @@
Returns:
- The Downloader object + The Resource object
@@ -199927,7 +199927,7 @@
Returns:
-Downloader +Resource
@@ -200510,13 +200510,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -200538,8 +200542,6 @@
Parameters:
Type - Attributes - @@ -200565,20 +200567,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -200619,7 +200611,7 @@
Parameters:
Source:
@@ -200647,6 +200639,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -200655,10 +200651,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -200676,7 +200669,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -200777,7 +200770,7 @@
Parameters:
Source:
@@ -200806,7 +200799,7 @@
Returns:
- The Resource object + The Downloader object
@@ -200817,7 +200810,7 @@
Returns:
-Resource +Downloader
@@ -200835,17 +200828,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -200867,6 +200856,8 @@
Parameters:
Type + Attributes + @@ -200892,10 +200883,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -200936,7 +200937,7 @@
Parameters:
Source:
@@ -200964,10 +200965,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -200976,7 +200973,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -202697,7 +202697,166 @@
Returns:
- path to "wine" binary + 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
@@ -202708,7 +202867,7 @@
Returns:
-string +WineShortcut
@@ -202726,7 +202885,7 @@
Returns:
-

category(category) → {WineShortcut}

+

checksum(checksum) → {Downloader}

@@ -202734,7 +202893,7 @@

category - Sets the shortcut category + Sets the checksum @@ -202770,7 +202929,7 @@
Parameters:
- category + checksum @@ -202786,7 +202945,7 @@
Parameters:
- The shortcut category + The checksum which shall be used to verify the download @@ -202827,7 +202986,7 @@
Parameters:
Source:
@@ -202856,7 +203015,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -202867,7 +203026,7 @@
Returns:
-WineShortcut +Downloader
@@ -203044,165 +203203,6 @@
Returns:
-

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() → {Wine}

@@ -204328,7 +204328,91 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -204353,6 +204437,28 @@
Parameters:
+
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -204364,13 +204470,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {string}

+
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ @@ -204412,7 +204522,7 @@

fontDire
Source:
@@ -204441,7 +204551,7 @@

Returns:
- font directory + The path leading to the downloaded resource
@@ -204739,7 +204849,7 @@
Returns:
-

get() → {string}

+

getContainer() → {string}

@@ -204747,7 +204857,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the name of the container belonging to a shortcut @@ -204791,7 +204901,7 @@

getSource:
@@ -204820,7 +204930,7 @@
Returns:
- The path leading to the downloaded resource + The container name
@@ -204849,7 +204959,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -204857,7 +204967,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
@@ -204868,6 +204978,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -204901,7 +205060,7 @@

getContai
Source:
@@ -204930,7 +205089,7 @@

Returns:
- The container name + This
@@ -204941,7 +205100,7 @@
Returns:
-string +GogScript
@@ -204959,7 +205118,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -204967,7 +205126,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
@@ -205003,13 +205162,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -205019,7 +205178,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -205060,7 +205219,166 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ This +
+ + + +
+
+ Type +
+
+ +GogScript + + +
+
+ + + + + + + + + + + + + +

headers(headers) → {Downloader}

+ + + + + + +
+ Sets the http headers +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
headers + + +Object + + + + The http headers
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -205089,7 +205407,7 @@
Returns:
- This + The Downloader object
@@ -205100,7 +205418,7 @@
Returns:
-GogScript +Downloader
@@ -205118,7 +205436,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

json() → {any}

@@ -205126,7 +205444,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Gets the content of the downloaded file and returns it as a JSON value
@@ -205137,55 +205455,6 @@

gogS -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - @@ -205219,7 +205488,7 @@
Parameters:
Source:
@@ -205248,7 +205517,7 @@
Returns:
- This + The json value
@@ -205259,7 +205528,7 @@
Returns:
-GogScript +any
@@ -205277,7 +205546,7 @@
Returns:
-

headers(headers) → {Downloader}

+

kill() → {Wine}

@@ -205285,7 +205554,7 @@

headers - Sets the http headers + kill wine server @@ -205296,55 +205565,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -205378,7 +205598,7 @@
Parameters:
Source:
@@ -205406,10 +205626,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -205418,7 +205634,7 @@
Returns:
-Downloader +Wine
@@ -205436,7 +205652,7 @@
Returns:
-

json() → {any}

+

loginToGog(setupWizard) → {GogScript}

@@ -205444,7 +205660,8 @@

json - Gets the content of the downloaded file and returns it as a JSON value + 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 @@ -205455,114 +205672,53 @@

json - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The json value -
- + -
-
- Type -
-
-any + -
-
+ + + + + + + + + - - + - -

kill() → {Wine}

- + + - - - -
- kill wine server -
- - - - - - - + +
NameTypeDescription
setupWizard + + +SetupWizard + + The setupWizard to use
@@ -205598,7 +205754,7 @@

killSource:
@@ -205626,6 +205782,10 @@

kill + This + +
@@ -205634,7 +205794,7 @@
Returns:
-Wine +GogScript
@@ -205652,7 +205812,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -205660,8 +205820,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
@@ -205697,13 +205856,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -205713,7 +205872,7 @@
Parameters:
- The setupWizard to use + The download message @@ -205754,7 +205913,7 @@
Parameters:
Source:
@@ -205783,7 +205942,7 @@
Returns:
- This + The Downloader object
@@ -205794,7 +205953,7 @@
Returns:
-GogScript +Downloader
@@ -205812,7 +205971,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -205820,7 +205979,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -205856,13 +206015,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -205872,7 +206034,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -205913,7 +206075,7 @@
Parameters:
Source:
@@ -205942,7 +206104,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -205953,7 +206115,7 @@
Returns:
-Downloader +WineShortcut
@@ -206120,7 +206282,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -206128,7 +206290,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -206164,16 +206326,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -206183,7 +206342,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 @@ -206224,7 +206383,7 @@
Parameters:
Source:
@@ -206253,7 +206412,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -206264,7 +206423,7 @@
Returns:
-WineShortcut +Resource
@@ -206441,7 +206600,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -206449,7 +206608,7 @@

name - Sets the resource name + Sets shortcut @@ -206485,7 +206644,7 @@
Parameters:
- name + shortcut @@ -206501,7 +206660,7 @@
Parameters:
- The name of the resource + shortcut @@ -206542,7 +206701,7 @@
Parameters:
Source:
@@ -206570,10 +206729,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -206582,7 +206737,7 @@
Returns:
-Resource +void
@@ -206600,7 +206755,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -206608,7 +206763,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -206644,13 +206799,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -206660,7 +206815,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -206701,7 +206856,7 @@
Parameters:
Source:
@@ -206729,6 +206884,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -206737,7 +206896,7 @@
Returns:
-void +Downloader
@@ -206755,7 +206914,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefix) → {WineShortcut}

@@ -206763,7 +206922,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets the shortcut prefix
@@ -206799,13 +206958,13 @@

Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string @@ -206815,7 +206974,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + The shortcut prefix @@ -206856,7 +207015,7 @@
Parameters:
Source:
@@ -206885,7 +207044,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -206896,7 +207055,7 @@
Returns:
-Downloader +WineShortcut
@@ -207179,165 +207338,6 @@
Returns:
-

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

prefixDirectory() → {string}

@@ -209676,7 +209676,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -209684,7 +209684,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -209777,7 +209777,7 @@
Parameters:
Source:
@@ -209806,7 +209806,7 @@
Returns:
- The Resource object + The Downloader object
@@ -209817,7 +209817,7 @@
Returns:
-Resource +Downloader
@@ -209835,7 +209835,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -209843,7 +209843,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -209936,7 +209936,7 @@
Parameters:
Source:
@@ -209965,7 +209965,7 @@
Returns:
- The Downloader object + The Resource object
@@ -209976,7 +209976,7 @@
Returns:
-Downloader +Resource
@@ -210559,13 +210559,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -210587,8 +210591,6 @@
Parameters:
Type - Attributes - @@ -210614,20 +210616,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -210668,7 +210660,7 @@
Parameters:
Source:
@@ -210696,6 +210688,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -210704,10 +210700,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -210725,7 +210718,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -210826,7 +210819,7 @@
Parameters:
Source:
@@ -210855,7 +210848,7 @@
Returns:
- The Resource object + The Downloader object
@@ -210866,7 +210859,7 @@
Returns:
-Resource +Downloader
@@ -210884,17 +210877,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -210916,6 +210905,8 @@
Parameters:
Type + Attributes + @@ -210941,10 +210932,20 @@
Parameters:
+ + + <optional>
+ + + + + - The setup wizard + + + @@ -210985,7 +210986,7 @@
Parameters:
Source:
@@ -211013,10 +211014,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -211025,7 +211022,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -212934,7 +212934,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -212942,7 +212942,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -212994,7 +212994,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -213035,7 +213035,7 @@
Parameters:
Source:
@@ -213064,7 +213064,7 @@
Returns:
- The Resource object + The Downloader object
@@ -213075,7 +213075,7 @@
Returns:
-Resource +Downloader
@@ -213093,7 +213093,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -213101,7 +213101,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -213153,7 +213153,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -213194,7 +213194,7 @@
Parameters:
Source:
@@ -213223,7 +213223,7 @@
Returns:
- The Downloader object + The Resource object
@@ -213234,7 +213234,7 @@
Returns:
-Downloader +Resource
@@ -214519,7 +214519,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -214527,7 +214527,7 @@

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

getSource:
@@ -214600,7 +214600,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -214611,7 +214611,7 @@
Returns:
-String +string
@@ -214629,7 +214629,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -214637,7 +214637,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -214648,55 +214648,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -214730,7 +214681,7 @@
Parameters:
Source:
@@ -214759,7 +214710,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -214770,7 +214721,7 @@
Returns:
-Resource +String
@@ -214788,7 +214739,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -214796,7 +214747,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -214840,7 +214840,7 @@

getSource:
@@ -214869,7 +214869,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -214880,7 +214880,7 @@
Returns:
-string +Resource
@@ -216020,7 +216020,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -216028,7 +216028,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -216052,8 +216052,6 @@
Parameters:
Type - Attributes - @@ -216072,6 +216070,9 @@
Parameters:
+Array.<string> +| + URI @@ -216079,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 @@ -216133,7 +216124,7 @@
Parameters:
Source:
@@ -216158,6 +216149,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -216169,7 +216182,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -216177,7 +216190,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -216201,6 +216214,8 @@
Parameters:
Type + Attributes + @@ -216219,9 +216234,6 @@
Parameters:
-Array.<string> -| - URI @@ -216229,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 @@ -216273,7 +216295,7 @@
Parameters:
Source:
@@ -216298,28 +216320,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -216331,7 +216331,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -216339,7 +216339,7 @@

name - Sets the shortcut name + Sets the resource name @@ -216391,7 +216391,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -216432,7 +216432,7 @@
Parameters:
Source:
@@ -216461,7 +216461,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -216472,7 +216472,7 @@
Returns:
-WineShortcut +Resource
@@ -216490,7 +216490,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -216498,7 +216498,7 @@

name - Sets the resource name + Sets the shortcut name @@ -216550,7 +216550,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -216591,7 +216591,7 @@
Parameters:
Source:
@@ -216620,7 +216620,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -216631,7 +216631,7 @@
Returns:
-Resource +WineShortcut
@@ -216963,13 +216963,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -216991,8 +216995,6 @@
Parameters:
Type - Attributes - @@ -217018,60 +217020,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ - - - +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -217104,7 +217197,7 @@
Parameters:
versiondistribution @@ -217134,145 +217227,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| - -Wine -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + + - + @@ -217329,7 +217330,7 @@
Parameters:
Source:
@@ -217357,10 +217358,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -217369,7 +217366,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -219725,7 +219725,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -219733,7 +219733,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -219826,7 +219826,7 @@
Parameters:
Source:
@@ -219855,7 +219855,7 @@
Returns:
- The Resource object + The Downloader object
@@ -219866,7 +219866,7 @@
Returns:
-Resource +Downloader
@@ -219884,7 +219884,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -219892,7 +219892,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -219985,7 +219985,7 @@
Parameters:
Source:
@@ -220014,7 +220014,7 @@
Returns:
- The Downloader object + The Resource object
@@ -220025,7 +220025,7 @@
Returns:
-Downloader +Resource
@@ -220608,13 +220608,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -220636,8 +220640,6 @@
Parameters:

- - @@ -220663,20 +220665,10 @@
Parameters:
- - - + @@ -220717,7 +220709,7 @@
Parameters:
Source:
@@ -220745,6 +220737,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -220753,10 +220749,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -220774,7 +220767,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -220875,7 +220868,7 @@
Parameters:
Source:
@@ -220904,7 +220897,7 @@
Returns:
- The Resource object + The Downloader object
@@ -220915,7 +220908,7 @@
Returns:
-Resource +Downloader
@@ -220933,17 +220926,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -220965,6 +220954,8 @@
Parameters:
+ + @@ -220990,10 +220981,20 @@
Parameters:
+ + - + @@ -221034,7 +221035,7 @@
Parameters:
Source:
@@ -221062,10 +221063,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -221074,7 +221071,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -222983,7 +222983,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -222991,7 +222991,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -223043,7 +223043,7 @@
Parameters:
-

+ @@ -223084,7 +223084,7 @@
Parameters:
Source:
@@ -223113,7 +223113,7 @@
Returns:
- The Resource object + The Downloader object
@@ -223124,7 +223124,7 @@
Returns:
-Resource +Downloader
@@ -223142,7 +223142,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -223150,7 +223150,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -223202,7 +223202,7 @@
Parameters:
-

+ @@ -223243,7 +223243,7 @@
Parameters:
Source:
@@ -223272,7 +223272,7 @@
Returns:
- The Downloader object + The Resource object
@@ -223283,7 +223283,7 @@
Returns:
-Downloader +Resource
@@ -224568,7 +224568,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -224576,7 +224576,7 @@

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

getSource:
@@ -224649,7 +224649,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -224660,7 +224660,7 @@
Returns:
-String +string
@@ -224678,7 +224678,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -224686,7 +224686,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -224697,55 +224697,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -217285,10 +217276,20 @@
Parameters:
+ + <optional>
+ + + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -224779,7 +224730,7 @@
Parameters:
Source:
@@ -224808,7 +224759,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -224819,7 +224770,7 @@
Returns:
-Resource +String
@@ -224837,7 +224788,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -224845,7 +224796,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -224889,7 +224889,7 @@

getSource:
@@ -224918,7 +224918,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -224929,7 +224929,7 @@
Returns:
-string +Resource
@@ -226069,7 +226069,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -226077,7 +226077,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -226101,8 +226101,6 @@
Parameters:
Type - Attributes - @@ -226121,6 +226119,9 @@
Parameters:
+Array.<string> +| + URI @@ -226128,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 @@ -226182,7 +226173,7 @@
Parameters:
Source:
@@ -226207,6 +226198,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -226218,7 +226231,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -226226,7 +226239,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -226250,6 +226263,8 @@
Parameters:
Type + Attributes + @@ -226268,9 +226283,6 @@
Parameters:
-Array.<string> -| - URI @@ -226278,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 @@ -226322,7 +226344,7 @@
Parameters:
Source:
@@ -226347,28 +226369,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -226380,7 +226380,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -226388,7 +226388,7 @@

name - Sets the shortcut name + Sets the resource name @@ -226440,7 +226440,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -226481,7 +226481,7 @@
Parameters:
Source:
@@ -226510,7 +226510,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -226521,7 +226521,7 @@
Returns:
-WineShortcut +Resource
@@ -226539,7 +226539,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -226547,7 +226547,7 @@

name - Sets the resource name + Sets the shortcut name @@ -226599,7 +226599,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -226640,7 +226640,7 @@
Parameters:
Source:
@@ -226669,7 +226669,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -226680,7 +226680,7 @@
Returns:
-Resource +WineShortcut
@@ -227012,13 +227012,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -227040,8 +227044,6 @@
Parameters:
Type - Attributes - @@ -227067,119 +227069,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -227220,7 +227113,7 @@
Parameters:
Source:
@@ -227248,6 +227141,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -227256,10 +227153,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -227277,17 +227171,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -227309,6 +227199,8 @@
Parameters:
Type + Attributes + @@ -227334,10 +227226,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -227378,7 +227379,7 @@
Parameters:
Source:
@@ -227406,10 +227407,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -227418,7 +227415,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -229774,7 +229774,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -229782,7 +229782,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -229875,7 +229875,7 @@
Parameters:
Source:
@@ -229904,7 +229904,7 @@
Returns:
- The Resource object + The Downloader object
@@ -229915,7 +229915,7 @@
Returns:
-Resource +Downloader
@@ -229933,7 +229933,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -229941,7 +229941,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -230034,7 +230034,7 @@
Parameters:
Source:
@@ -230063,7 +230063,7 @@
Returns:
- The Downloader object + The Resource object
@@ -230074,7 +230074,7 @@
Returns:
-Downloader +Resource
@@ -230657,13 +230657,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -230685,8 +230689,6 @@
Parameters:
Type - Attributes - @@ -230712,20 +230714,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -230766,7 +230758,7 @@
Parameters:
Source:
@@ -230794,6 +230786,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -230802,10 +230798,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -230823,7 +230816,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -230924,7 +230917,7 @@
Parameters:
Source:
@@ -230953,7 +230946,7 @@
Returns:
- The Resource object + The Downloader object
@@ -230964,7 +230957,7 @@
Returns:
-Resource +Downloader
@@ -230982,17 +230975,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -231014,6 +231003,8 @@
Parameters:
Type + Attributes + @@ -231039,10 +231030,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -231083,7 +231084,7 @@
Parameters:
Source:
@@ -231111,10 +231112,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -231123,7 +231120,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -232844,7 +232844,166 @@
Returns:
- path to "wine" binary + 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
@@ -232855,7 +233014,7 @@
Returns:
-string +WineShortcut
@@ -232873,7 +233032,7 @@
Returns:
-

category(category) → {WineShortcut}

+

checksum(checksum) → {Downloader}

@@ -232881,7 +233040,7 @@

category - Sets the shortcut category + Sets the checksum @@ -232917,7 +233076,7 @@
Parameters:
- category + checksum @@ -232933,7 +233092,7 @@
Parameters:
- The shortcut category + The checksum which shall be used to verify the download @@ -232974,7 +233133,7 @@
Parameters:
Source:
@@ -233003,7 +233162,7 @@
Returns:
- The WineShortcut object + The Downloader object
@@ -233014,7 +233173,7 @@
Returns:
-WineShortcut +Downloader
@@ -233191,165 +233350,6 @@
Returns:
-

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() → {Wine}

@@ -234475,7 +234475,91 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

fontDirectory() → {string}

+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -234500,6 +234584,28 @@
Parameters:
+
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -234511,13 +234617,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {string}

+
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ @@ -234559,7 +234669,7 @@

fontDire
Source:
@@ -234588,7 +234698,7 @@

Returns:
- font directory + The path leading to the downloaded resource
@@ -234886,7 +234996,7 @@
Returns:
-

get() → {string}

+

getContainer() → {string}

@@ -234894,7 +235004,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the name of the container belonging to a shortcut @@ -234938,7 +235048,7 @@

getSource:
@@ -234967,7 +235077,7 @@
Returns:
- The path leading to the downloaded resource + The container name
@@ -234996,7 +235106,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -235004,7 +235114,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
@@ -235015,6 +235125,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -235048,7 +235207,7 @@

getContai
Source:
@@ -235077,7 +235236,7 @@

Returns:
- The container name + This
@@ -235088,7 +235247,7 @@
Returns:
-string +GogScript
@@ -235106,7 +235265,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -235114,7 +235273,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
@@ -235150,13 +235309,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -235166,7 +235325,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -235207,7 +235366,166 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ This +
+ + + +
+
+ Type +
+
+ +GogScript + + +
+
+ + + + + + + + + + + + + +

headers(headers) → {Downloader}

+ + + + + + +
+ Sets the http headers +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
headers + + +Object + + + + The http headers
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -235236,7 +235554,7 @@
Returns:
- This + The Downloader object
@@ -235247,7 +235565,7 @@
Returns:
-GogScript +Downloader
@@ -235265,7 +235583,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

json() → {any}

@@ -235273,7 +235591,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Gets the content of the downloaded file and returns it as a JSON value
@@ -235284,55 +235602,6 @@

gogS -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
setupFileNames - - -Array.<string> - - - - The setup file name(s)
- - @@ -235366,7 +235635,7 @@
Parameters:
Source:
@@ -235395,7 +235664,7 @@
Returns:
- This + The json value
@@ -235406,7 +235675,7 @@
Returns:
-GogScript +any
@@ -235424,7 +235693,7 @@
Returns:
-

headers(headers) → {Downloader}

+

kill() → {Wine}

@@ -235432,7 +235701,7 @@

headers - Sets the http headers + kill wine server @@ -235443,55 +235712,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -235525,7 +235745,7 @@
Parameters:
Source:
@@ -235553,10 +235773,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -235565,7 +235781,7 @@
Returns:
-Downloader +Wine
@@ -235583,7 +235799,7 @@
Returns:
-

json() → {any}

+

loginToGog(setupWizard) → {GogScript}

@@ -235591,7 +235807,8 @@

json - Gets the content of the downloaded file and returns it as a JSON value + 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 @@ -235602,114 +235819,53 @@

json - - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - +
Parameters:
-

- - - - - - - - - - - - - - - -
Returns:
+ + + + + -
- The json value -
- + -
-
- Type -
-
-any + -
-
+ + + + + + + + + - - + - -

kill() → {Wine}

- + + - - - -
- kill wine server -
- - - - - - - + +
NameTypeDescription
setupWizard + + +SetupWizard + + The setupWizard to use
@@ -235745,7 +235901,7 @@

killSource:
@@ -235773,6 +235929,10 @@

kill + This + +
@@ -235781,7 +235941,7 @@
Returns:
-Wine +GogScript
@@ -235799,7 +235959,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -235807,8 +235967,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
@@ -235844,13 +236003,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -235860,7 +236019,7 @@
Parameters:
- The setupWizard to use + The download message @@ -235901,7 +236060,7 @@
Parameters:
Source:
@@ -235930,7 +236089,7 @@
Returns:
- This + The Downloader object
@@ -235941,7 +236100,7 @@
Returns:
-GogScript +Downloader
@@ -235959,7 +236118,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -235967,7 +236126,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -236003,13 +236162,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -236019,7 +236181,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -236060,7 +236222,7 @@
Parameters:
Source:
@@ -236089,7 +236251,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -236100,7 +236262,7 @@
Returns:
-Downloader +WineShortcut
@@ -236267,7 +236429,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -236275,7 +236437,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -236311,16 +236473,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -236330,7 +236489,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 @@ -236371,7 +236530,7 @@
Parameters:
Source:
@@ -236400,7 +236559,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -236411,7 +236570,7 @@
Returns:
-WineShortcut +Resource
@@ -236588,7 +236747,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -236596,7 +236755,7 @@

name - Sets the resource name + Sets shortcut @@ -236632,7 +236791,7 @@
Parameters:
- name + shortcut @@ -236648,7 +236807,7 @@
Parameters:
- The name of the resource + shortcut @@ -236689,7 +236848,7 @@
Parameters:
Source:
@@ -236717,10 +236876,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -236729,7 +236884,7 @@
Returns:
-Resource +void
@@ -236747,7 +236902,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -236755,7 +236910,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -236791,13 +236946,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -236807,7 +236962,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -236848,7 +237003,7 @@
Parameters:
Source:
@@ -236876,6 +237031,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -236884,7 +237043,7 @@
Returns:
-void +Downloader
@@ -236902,7 +237061,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefix) → {WineShortcut}

@@ -236910,7 +237069,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets the shortcut prefix
@@ -236946,13 +237105,13 @@

Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string @@ -236962,7 +237121,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + The shortcut prefix @@ -237003,7 +237162,7 @@
Parameters:
Source:
@@ -237032,7 +237191,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -237043,7 +237202,7 @@
Returns:
-Downloader +WineShortcut
@@ -237326,165 +237485,6 @@
Returns:
-

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

prefixDirectory() → {string}

@@ -239823,7 +239823,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -239831,7 +239831,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -239924,7 +239924,7 @@
Parameters:
Source:
@@ -239953,7 +239953,7 @@
Returns:
- The Resource object + The Downloader object
@@ -239964,7 +239964,7 @@
Returns:
-Resource +Downloader
@@ -239982,7 +239982,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -239990,7 +239990,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -240083,7 +240083,7 @@
Parameters:
Source:
@@ -240112,7 +240112,7 @@
Returns:
- The Downloader object + The Resource object
@@ -240123,7 +240123,7 @@
Returns:
-Downloader +Resource
@@ -240706,13 +240706,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -240734,8 +240738,6 @@
Parameters:
Type - Attributes - @@ -240761,20 +240763,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -240815,7 +240807,7 @@
Parameters:
Source:
@@ -240843,6 +240835,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -240851,10 +240847,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -240872,7 +240865,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -240973,7 +240966,7 @@
Parameters:
Source:
@@ -241002,7 +240995,7 @@
Returns:
- The Resource object + The Downloader object
@@ -241013,7 +241006,7 @@
Returns:
-Resource +Downloader
@@ -241031,17 +241024,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -241063,6 +241052,8 @@
Parameters:
Type + Attributes + @@ -241088,10 +241079,20 @@
Parameters:
+ + + <optional>
+ + + + + - The setup wizard + + + @@ -241132,7 +241133,7 @@
Parameters:
Source:
@@ -241160,10 +241161,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -241172,7 +241169,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -243081,7 +243081,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -243089,7 +243089,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -243141,7 +243141,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -243182,7 +243182,7 @@
Parameters:
Source:
@@ -243211,7 +243211,7 @@
Returns:
- The Resource object + The Downloader object
@@ -243222,7 +243222,7 @@
Returns:
-Resource +Downloader
@@ -243240,7 +243240,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -243248,7 +243248,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -243300,7 +243300,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -243341,7 +243341,7 @@
Parameters:
Source:
@@ -243370,7 +243370,7 @@
Returns:
- The Downloader object + The Resource object
@@ -243381,7 +243381,7 @@
Returns:
-Downloader +Resource
@@ -244666,7 +244666,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -244674,7 +244674,7 @@

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

getSource:
@@ -244747,7 +244747,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -244758,7 +244758,7 @@
Returns:
-String +string
@@ -244776,7 +244776,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -244784,7 +244784,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -244795,55 +244795,6 @@

get - - - - Name - - - Type - - - - - - Description - - - - - - - - - resourceName - - - - - -string - - - - - - - - - - The name of the resource - - - - - - - @@ -244877,7 +244828,7 @@
Parameters:
Source:
@@ -244906,7 +244857,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -244917,7 +244868,7 @@
Returns:
-Resource +String
@@ -244935,7 +244886,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -244943,7 +244894,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -244987,7 +244987,7 @@

getSource:
@@ -245016,7 +245016,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -245027,7 +245027,7 @@
Returns:
-string +Resource
@@ -246167,7 +246167,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -246175,7 +246175,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -246199,8 +246199,6 @@
Parameters:
Type - Attributes - @@ -246219,6 +246217,9 @@
Parameters:
+Array.<string> +| + URI @@ -246226,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 @@ -246280,7 +246271,7 @@
Parameters:
Source:
@@ -246305,6 +246296,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -246316,7 +246329,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -246324,7 +246337,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -246348,6 +246361,8 @@
Parameters:
Type + Attributes + @@ -246366,9 +246381,6 @@
Parameters:
-Array.<string> -| - URI @@ -246376,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 @@ -246420,7 +246442,7 @@
Parameters:
Source:
@@ -246445,28 +246467,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -246478,7 +246478,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -246486,7 +246486,7 @@

name - Sets the shortcut name + Sets the resource name @@ -246538,7 +246538,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -246579,7 +246579,7 @@
Parameters:
Source:
@@ -246608,7 +246608,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -246619,7 +246619,7 @@
Returns:
-WineShortcut +Resource
@@ -246637,7 +246637,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -246645,7 +246645,7 @@

name - Sets the resource name + Sets the shortcut name @@ -246697,7 +246697,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -246738,7 +246738,7 @@
Parameters:
Source:
@@ -246767,7 +246767,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -246778,7 +246778,7 @@
Returns:
-Resource +WineShortcut
@@ -247110,13 +247110,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -247138,8 +247142,6 @@
Parameters:
Type - Attributes - @@ -247165,60 +247167,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ - - - +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -247251,7 +247344,7 @@
Parameters:
versiondistribution @@ -247281,145 +247374,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| - -Wine -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + + - + @@ -247476,7 +247477,7 @@
Parameters:
Source:
@@ -247504,10 +247505,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -247516,7 +247513,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -249872,7 +249872,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -249880,7 +249880,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -249973,7 +249973,7 @@
Parameters:
Source:
@@ -250002,7 +250002,7 @@
Returns:
- The Resource object + The Downloader object
@@ -250013,7 +250013,7 @@
Returns:
-Resource +Downloader
@@ -250031,7 +250031,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -250039,7 +250039,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -250132,7 +250132,7 @@
Parameters:
Source:
@@ -250161,7 +250161,7 @@
Returns:
- The Downloader object + The Resource object
@@ -250172,7 +250172,7 @@
Returns:
-Downloader +Resource
@@ -250755,13 +250755,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -250783,8 +250787,6 @@
Parameters:

- - @@ -250810,20 +250812,10 @@
Parameters:
- - - + @@ -250864,7 +250856,7 @@
Parameters:
Source:
@@ -250892,6 +250884,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -250900,10 +250896,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -250921,7 +250914,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -251022,7 +251015,7 @@
Parameters:
Source:
@@ -251051,7 +251044,7 @@
Returns:
- The Resource object + The Downloader object
@@ -251062,7 +251055,7 @@
Returns:
-Resource +Downloader
@@ -251080,17 +251073,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -251112,6 +251101,8 @@
Parameters:
+ + @@ -251137,10 +251128,20 @@
Parameters:
+ + - + @@ -251181,7 +251182,7 @@
Parameters:
Source:
@@ -251209,10 +251210,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -251221,7 +251218,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -253130,7 +253130,7 @@
Returns:
-

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -253138,7 +253138,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -253190,7 +253190,7 @@
Parameters:
-

+ @@ -253231,7 +253231,7 @@
Parameters:
Source:
@@ -253260,7 +253260,7 @@
Returns:
- The Resource object + The Downloader object
@@ -253271,7 +253271,7 @@
Returns:
-Resource +Downloader
@@ -253289,7 +253289,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -253297,7 +253297,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -253349,7 +253349,7 @@
Parameters:
-

+ @@ -253390,7 +253390,7 @@
Parameters:
Source:
@@ -253419,7 +253419,7 @@
Returns:
- The Downloader object + The Resource object
@@ -253430,7 +253430,7 @@
Returns:
-Downloader +Resource
@@ -254715,7 +254715,7 @@
Returns:
-

get() → {String}

+

get() → {string}

@@ -254723,7 +254723,7 @@

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

getSource:
@@ -254796,7 +254796,7 @@
Returns:
- The content of downloaded file + The path leading to the downloaded resource
@@ -254807,7 +254807,7 @@
Returns:
-String +string
@@ -254825,7 +254825,7 @@
Returns:
-

get(resourceName) → {Resource}

+

get() → {String}

@@ -254833,7 +254833,7 @@

get - Returns the searched resource + Gets the content of the downloaded file @@ -254844,55 +254844,6 @@

get -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name + + <optional>
+ -
TypeDescription
prefixversion @@ -247432,10 +247423,20 @@
Parameters:
+ + <optional>
+ + + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard
The checksumThe checksum which shall be used to verify the download
The checksum which shall be used to verify the downloadThe checksum
NameTypeDescription
resourceName - - -string - - - - The name of the resource
- - @@ -254926,7 +254877,7 @@
Parameters:
Source:
@@ -254955,7 +254906,7 @@
Returns:
- The found resource + The content of downloaded file
@@ -254966,7 +254917,7 @@
Returns:
-Resource +String
@@ -254984,7 +254935,7 @@
Returns:
-

get() → {string}

+

get(resourceName) → {Resource}

@@ -254992,7 +254943,7 @@

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

get + + + + Name + + + Type + + + + + + Description + + + + + + + + + resourceName + + + + + +string + + + + + + + + + + The name of the resource + + + + + + + @@ -255036,7 +255036,7 @@

getSource:
@@ -255065,7 +255065,7 @@
Returns:
- The path leading to the downloaded resource + The found resource
@@ -255076,7 +255076,7 @@
Returns:
-string +Resource
@@ -256216,7 +256216,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -256224,7 +256224,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -256248,8 +256248,6 @@
Parameters:
Type - Attributes - @@ -256268,6 +256266,9 @@
Parameters:
+Array.<string> +| + URI @@ -256275,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 @@ -256329,7 +256320,7 @@
Parameters:
Source:
@@ -256354,6 +256345,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -256365,7 +256378,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -256373,7 +256386,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -256397,6 +256410,8 @@
Parameters:
Type + Attributes + @@ -256415,9 +256430,6 @@
Parameters:
-Array.<string> -| - URI @@ -256425,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 @@ -256469,7 +256491,7 @@
Parameters:
Source:
@@ -256494,28 +256516,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -256527,7 +256527,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -256535,7 +256535,7 @@

name - Sets the shortcut name + Sets the resource name @@ -256587,7 +256587,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -256628,7 +256628,7 @@
Parameters:
Source:
@@ -256657,7 +256657,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -256668,7 +256668,7 @@
Returns:
-WineShortcut +Resource
@@ -256686,7 +256686,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -256694,7 +256694,7 @@

name - Sets the resource name + Sets the shortcut name @@ -256746,7 +256746,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -256787,7 +256787,7 @@
Parameters:
Source:
@@ -256816,7 +256816,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -256827,7 +256827,7 @@
Returns:
-Resource +WineShortcut
@@ -257159,13 +257159,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -257187,8 +257191,6 @@
Parameters:
Type - Attributes - @@ -257214,119 +257216,10 @@
Parameters:
- - - <optional>
- - - - - - - - - - - - - - - distribution - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - architecture - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - - - - - - - - version - - - - - -string - - - - - - - - - <optional>
- - - - - - - - - - - + The shortcut prefix @@ -257367,7 +257260,7 @@
Parameters:
Source:
@@ -257395,6 +257288,10 @@
Parameters:
Returns:
+
+ The WineShortcut object +
+
@@ -257403,10 +257300,7 @@
Returns:
-string -| - -Wine +WineShortcut
@@ -257424,17 +257318,13 @@
Returns:
-

prefix(prefix) → {WineShortcut}

+

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

-
- Sets the shortcut prefix -
- @@ -257456,6 +257346,8 @@
Parameters:
Type + Attributes + @@ -257481,10 +257373,119 @@
Parameters:
+ + + <optional>
+ + + + + + + - The shortcut prefix + + + + + + + + distribution + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + architecture + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + + + + + + + + version + + + + + +string + + + + + + + + + <optional>
+ + + + + + + + + + + @@ -257525,7 +257526,7 @@
Parameters:
Source:
@@ -257553,10 +257554,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -257565,7 +257562,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -259921,7 +259921,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -259929,7 +259929,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -260022,7 +260022,7 @@
Parameters:
Source:
@@ -260051,7 +260051,7 @@
Returns:
- The Resource object + The Downloader object
@@ -260062,7 +260062,7 @@
Returns:
-Resource +Downloader
@@ -260080,7 +260080,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -260088,7 +260088,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -260181,7 +260181,7 @@
Parameters:
Source:
@@ -260210,7 +260210,7 @@
Returns:
- The Downloader object + The Resource object
@@ -260221,7 +260221,7 @@
Returns:
-Downloader +Resource
@@ -260804,13 +260804,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -260832,8 +260836,6 @@
Parameters:
Type - Attributes - @@ -260859,20 +260861,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -260913,7 +260905,7 @@
Parameters:
Source:
@@ -260941,6 +260933,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -260949,10 +260945,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -260970,7 +260963,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -261071,7 +261064,7 @@
Parameters:
Source:
@@ -261100,7 +261093,7 @@
Returns:
- The Resource object + The Downloader object
@@ -261111,7 +261104,7 @@
Returns:
-Resource +Downloader
@@ -261129,17 +261122,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -261161,6 +261150,8 @@
Parameters:
Type + Attributes + @@ -261186,10 +261177,20 @@
Parameters:
+ + + <optional>
+ + + + + - The setup wizard + + + @@ -261230,7 +261231,7 @@
Parameters:
Source:
@@ -261258,10 +261259,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -261270,7 +261267,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -261304,7 +261304,7 @@
Returns:

default()

-
Tool to configure Wine
+
Tool to kill running Wine processes
@@ -261367,7 +261367,7 @@

new defaultSource:
@@ -263179,6 +263179,165 @@
Returns:
+

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 + + +
+
+ + + + + + + + + + + + +

checksum(checksum) → {Resource}

@@ -263338,165 +263497,6 @@
Returns:
-

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() → {Wine}

@@ -264764,6 +264764,116 @@
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}

@@ -265033,7 +265143,7 @@
Returns:
-

get() → {string}

+

getContainer() → {string}

@@ -265041,7 +265151,7 @@

get - Fetches the Resource and returns the path leading to the downloaded resource + Returns the name of the container belonging to a shortcut @@ -265085,7 +265195,7 @@

getSource:
@@ -265114,7 +265224,7 @@
Returns:
- The path leading to the downloaded resource + The container name
@@ -265143,7 +265253,7 @@
Returns:
-

getContainer() → {string}

+

gogSetupFileName(setupFileName) → {GogScript}

@@ -265151,7 +265261,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
@@ -265162,6 +265272,55 @@

getContai +

Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
setupFileName + + +string + + + + The setup file name
+ + @@ -265195,7 +265354,7 @@

getContai
Source:
@@ -265224,7 +265383,7 @@

Returns:
- The container name + This
@@ -265235,7 +265394,7 @@
Returns:
-string +GogScript
@@ -265253,7 +265412,7 @@
Returns:
-

gogSetupFileName(setupFileName) → {GogScript}

+

gogSetupFileNames(setupFileNames) → {GogScript}

@@ -265261,7 +265420,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
@@ -265297,13 +265456,13 @@

Parameters:
- setupFileName + setupFileNames -string +Array.<string> @@ -265313,7 +265472,7 @@
Parameters:
- The setup file name + The setup file name(s) @@ -265354,7 +265513,7 @@
Parameters:
Source:
@@ -265412,7 +265571,7 @@
Returns:
-

gogSetupFileNames(setupFileNames) → {GogScript}

+

headers(headers) → {Downloader}

@@ -265420,7 +265579,7 @@

gogS
- Sets the setup file(s) name so that the script can fetch it from gog.com + Sets the http headers
@@ -265456,13 +265615,13 @@

Parameters:
- setupFileNames + headers -Array.<string> +Object @@ -265472,7 +265631,7 @@
Parameters:
- The setup file name(s) + The http headers @@ -265513,7 +265672,7 @@
Parameters:
Source:
@@ -265542,7 +265701,7 @@
Returns:
- This + The Downloader object
@@ -265553,7 +265712,7 @@
Returns:
-GogScript +Downloader
@@ -265571,7 +265730,7 @@
Returns:
-

headers(headers) → {Downloader}

+

json() → {any}

@@ -265579,7 +265738,7 @@

headers - Sets the http headers + Gets the content of the downloaded file and returns it as a JSON value @@ -265590,55 +265749,6 @@

headersParameters:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
headers - - -Object - - - - The http headers
- - @@ -265672,7 +265782,7 @@
Parameters:
Source:
@@ -265701,7 +265811,7 @@
Returns:
- The Downloader object + The json value
@@ -265712,7 +265822,7 @@
Returns:
-Downloader +any
@@ -265730,7 +265840,7 @@
Returns:
-

json() → {any}

+

kill() → {Wine}

@@ -265738,7 +265848,7 @@

json - Gets the content of the downloaded file and returns it as a JSON value + kill wine server @@ -265782,7 +265892,7 @@

jsonSource:
@@ -265810,10 +265920,6 @@

json - The json value - -
@@ -265822,7 +265928,7 @@
Returns:
-any +Wine
@@ -265840,7 +265946,7 @@
Returns:
-

kill() → {Wine}

+

loginToGog(setupWizard) → {GogScript}

@@ -265848,7 +265954,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 @@ -265859,6 +265966,55 @@

kill + + + + Name + + + Type + + + + + + Description + + + + + + + + + setupWizard + + + + + +SetupWizard + + + + + + + + + + The setupWizard to use + + + + + + + @@ -265892,7 +266048,7 @@

killSource:
@@ -265920,6 +266076,10 @@

kill + This + +
@@ -265928,7 +266088,7 @@
Returns:
-Wine +GogScript
@@ -265946,7 +266106,7 @@
Returns:
-

loginToGog(setupWizard) → {GogScript}

+

message(message) → {Downloader}

@@ -265954,8 +266114,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
@@ -265991,13 +266150,13 @@

Parameters:
- setupWizard + message -SetupWizard +string @@ -266007,7 +266166,7 @@
Parameters:
- The setupWizard to use + The download message @@ -266048,7 +266207,7 @@
Parameters:
Source:
@@ -266077,7 +266236,7 @@
Returns:
- This + The Downloader object
@@ -266088,7 +266247,7 @@
Returns:
-GogScript +Downloader
@@ -266106,7 +266265,7 @@
Returns:
-

message(message) → {Downloader}

+

miniature(miniature) → {WineShortcut}

@@ -266114,7 +266273,7 @@

message - Sets the download message text + Sets the miniature for the shortcut @@ -266150,13 +266309,16 @@
Parameters:
- message + miniature -string +Array.<string> +| + +URI @@ -266166,7 +266328,7 @@
Parameters:
- The download message + An array which specifies the application of which the miniature shall be used or URI of the miniature @@ -266207,7 +266369,7 @@
Parameters:
Source:
@@ -266236,7 +266398,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -266247,7 +266409,7 @@
Returns:
-Downloader +WineShortcut
@@ -266414,7 +266576,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

name(name) → {Resource}

@@ -266422,7 +266584,7 @@

miniature - Sets the miniature for the shortcut + Sets the resource name @@ -266458,16 +266620,13 @@
Parameters:
- miniature + name -Array.<string> -| - -URI +string @@ -266477,7 +266636,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 @@ -266518,7 +266677,7 @@
Parameters:
Source:
@@ -266547,7 +266706,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -266558,7 +266717,7 @@
Returns:
-WineShortcut +Resource
@@ -266735,7 +266894,7 @@
Returns:
-

name(name) → {Resource}

+

of(shortcut) → {void}

@@ -266743,7 +266902,7 @@

name - Sets the resource name + Sets shortcut @@ -266779,7 +266938,7 @@
Parameters:
- name + shortcut @@ -266795,7 +266954,7 @@
Parameters:
- The name of the resource + shortcut @@ -266836,7 +266995,7 @@
Parameters:
Source:
@@ -266864,10 +267023,6 @@
Parameters:
Returns:
-
- The Resource object -
-
@@ -266876,7 +267031,7 @@
Returns:
-Resource +void
@@ -266894,7 +267049,7 @@
Returns:
-

of(shortcut) → {void}

+

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

@@ -266902,7 +267057,7 @@

of - Sets shortcut + Specifies if the download shall be executed only if a newer version is available @@ -266938,13 +267093,13 @@
Parameters:
- shortcut + onlyIfUpdateAvailable -string +boolean @@ -266954,7 +267109,7 @@
Parameters:
- shortcut + true the download shall be executed only if a newer version is available @@ -266995,7 +267150,7 @@
Parameters:
Source:
@@ -267023,6 +267178,10 @@
Parameters:
Returns:
+
+ The Downloader object +
+
@@ -267031,7 +267190,7 @@
Returns:
-void +Downloader
@@ -267049,7 +267208,7 @@
Returns:
-

onlyIfUpdateAvailable(onlyIfUpdateAvailable) → {Downloader}

+

prefix(prefix) → {WineShortcut}

@@ -267057,7 +267216,7 @@

- Specifies if the download shall be executed only if a newer version is available + Sets the shortcut prefix
@@ -267093,13 +267252,13 @@

Parameters:
- onlyIfUpdateAvailable + prefix -boolean +string @@ -267109,7 +267268,7 @@
Parameters:
- true the download shall be executed only if a newer version is available + The shortcut prefix @@ -267150,7 +267309,7 @@
Parameters:
Source:
@@ -267179,7 +267338,7 @@
Returns:
- The Downloader object + The WineShortcut object
@@ -267190,7 +267349,7 @@
Returns:
-Downloader +WineShortcut
@@ -267473,165 +267632,6 @@
Returns:
-

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
prefix - - -string - - - - The shortcut prefix
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - - - - - - - - - - - -

prefixDirectory() → {string}

@@ -269970,7 +269970,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -269978,7 +269978,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -270071,7 +270071,7 @@
Parameters:
Source:
@@ -270100,7 +270100,7 @@
Returns:
- The Resource object + The Downloader object
@@ -270111,7 +270111,7 @@
Returns:
-Resource +Downloader
@@ -270129,7 +270129,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -270137,7 +270137,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -270230,7 +270230,7 @@
Parameters:
Source:
@@ -270259,7 +270259,7 @@
Returns:
- The Downloader object + The Resource object
@@ -270270,7 +270270,7 @@
Returns:
-Downloader +Resource
@@ -270853,13 +270853,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -270881,8 +270885,6 @@
Parameters:
Type - Attributes - @@ -270908,20 +270910,10 @@
Parameters:
- - - <optional>
- - - - - - - - + The setup wizard @@ -270962,7 +270954,7 @@
Parameters:
Source:
@@ -270990,6 +270982,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -270998,10 +270994,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -271019,7 +271012,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -271120,7 +271113,7 @@
Parameters:
Source:
@@ -271149,7 +271142,7 @@
Returns:
- The Resource object + The Downloader object
@@ -271160,7 +271153,7 @@
Returns:
-Resource +Downloader
@@ -271178,17 +271171,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -271210,6 +271199,8 @@
Parameters:
Type + Attributes + @@ -271235,10 +271226,20 @@
Parameters:
+ + + <optional>
+ + + + + + + - The setup wizard + @@ -271279,7 +271280,7 @@
Parameters:
Source:
@@ -271307,10 +271308,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -271319,7 +271316,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -271353,7 +271353,7 @@
Returns:

default()

-
Tool to kill running Wine processes
+
Tool to configure Wine
@@ -271416,7 +271416,7 @@

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

checksum(checksum) → {Resource}

+

checksum(checksum) → {Downloader}

@@ -273236,7 +273236,7 @@

checksum - Sets the checksum which shall be used to verify the resource + Sets the checksum @@ -273288,7 +273288,7 @@
Parameters:
- The checksum + The checksum which shall be used to verify the download @@ -273329,7 +273329,7 @@
Parameters:
Source:
@@ -273358,7 +273358,7 @@
Returns:
- The Resource object + The Downloader object
@@ -273369,7 +273369,7 @@
Returns:
-Resource +Downloader
@@ -273387,7 +273387,7 @@
Returns:
-

checksum(checksum) → {Downloader}

+

checksum(checksum) → {Resource}

@@ -273395,7 +273395,7 @@

checksum - Sets the checksum + Sets the checksum which shall be used to verify the resource @@ -273447,7 +273447,7 @@
Parameters:
- The checksum which shall be used to verify the download + The checksum @@ -273488,7 +273488,7 @@
Parameters:
Source:
@@ -273517,7 +273517,7 @@
Returns:
- The Downloader object + The Resource object
@@ -273528,7 +273528,7 @@
Returns:
-Downloader +Resource
@@ -274499,7 +274499,179 @@
Parameters:
Source:
+ + + + + + + +

+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ QuickScript object +
+ + + +
+
+ Type +
+
+ +QuickScript + + +
+
+ + + + + + + + + + + + + +

executable(executable, args)

+ + + + + + +
+ set executable +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
executable + + executable without path (e.g. "Steam.exe")
args + + use array (e.g. ["-applaunch", 409160])
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
@@ -274524,28 +274696,6 @@
Parameters:
-
Returns:
- - -
- QuickScript object -
- - - -
-
- Type -
-
- -QuickScript - - -
-
- - @@ -274557,16 +274707,13 @@
Returns:
-

executable(executable, args)

+

fontDirectory() → {string}

-
- set executable -
@@ -274576,69 +274723,6 @@

executable< -

Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
executable - - executable without path (e.g. "Steam.exe")
args - - use array (e.g. ["-applaunch", 409160])
- - - @@ -274671,7 +274755,7 @@
Parameters:
Source:
@@ -274696,6 +274780,28 @@
Parameters:
+
Returns:
+ + +
+ font directory +
+ + + +
+
+ Type +
+
+ +string + + +
+
+ + @@ -274707,13 +274813,17 @@
Parameters:
-

fontDirectory() → {string}

+

get() → {string}

+
+ Fetches the Resource and returns the path leading to the downloaded resource +
+ @@ -274755,7 +274865,7 @@

fontDire
Source:
@@ -274784,7 +274894,7 @@

Returns:
- font directory + The path leading to the downloaded resource
@@ -275082,116 +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 - - -
-
- - - - - - - - - - - - -

getContainer() → {string}

@@ -276314,7 +276314,7 @@
Returns:
-

miniature(miniatureopt)

+

miniature(miniature) → {WineShortcut}

@@ -276322,7 +276322,7 @@

miniature - get/set miniature (for the installation and the shortcut) + Sets the miniature for the shortcut @@ -276346,8 +276346,6 @@
Parameters:
Type - Attributes - @@ -276366,6 +276364,9 @@
Parameters:
+Array.<string> +| + URI @@ -276373,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 @@ -276427,7 +276418,7 @@
Parameters:
Source:
@@ -276452,6 +276443,28 @@
Parameters:
+
Returns:
+ + +
+ The WineShortcut object +
+ + + +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + @@ -276463,7 +276476,7 @@
Parameters:
-

miniature(miniature) → {WineShortcut}

+

miniature(miniatureopt)

@@ -276471,7 +276484,7 @@

miniature - Sets the miniature for the shortcut + get/set miniature (for the installation and the shortcut) @@ -276495,6 +276508,8 @@
Parameters:
Type + Attributes + @@ -276513,9 +276528,6 @@
Parameters:
-Array.<string> -| - URI @@ -276523,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 @@ -276567,7 +276589,7 @@
Parameters:
Source:
@@ -276592,28 +276614,6 @@
Parameters:
-
Returns:
- - -
- The WineShortcut object -
- - - -
-
- Type -
-
- -WineShortcut - - -
-
- - @@ -276625,7 +276625,7 @@
Returns:
-

name(name) → {WineShortcut}

+

name(name) → {Resource}

@@ -276633,7 +276633,7 @@

name - Sets the shortcut name + Sets the resource name @@ -276685,7 +276685,7 @@
Parameters:
- The shortcut name + The name of the resource @@ -276726,7 +276726,7 @@
Parameters:
Source:
@@ -276755,7 +276755,7 @@
Returns:
- The WineShortcut object + The Resource object
@@ -276766,7 +276766,7 @@
Returns:
-WineShortcut +Resource
@@ -276784,7 +276784,7 @@
Returns:
-

name(name) → {Resource}

+

name(name) → {WineShortcut}

@@ -276792,7 +276792,7 @@

name - Sets the resource name + Sets the shortcut name @@ -276844,7 +276844,7 @@
Parameters:
- The name of the resource + The shortcut name @@ -276885,7 +276885,7 @@
Parameters:
Source:
@@ -276914,7 +276914,7 @@
Returns:
- The Resource object + The WineShortcut object
@@ -276925,7 +276925,7 @@
Returns:
-Resource +WineShortcut
@@ -277257,13 +277257,17 @@
Returns:
-

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+

prefix(prefix) → {WineShortcut}

+
+ Sets the shortcut prefix +
+ @@ -277285,8 +277289,6 @@
Parameters:
Type - Attributes - @@ -277312,60 +277314,151 @@
Parameters:
- - - <optional>
- - - - - - - - + The shortcut prefix + + - - - distribution - - - - -string - - - - - - <optional>
- - +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + +
Returns:
+ + +
+ The WineShortcut object +
+ - - - +
+
+ Type +
+
+ +WineShortcut + + +
+
+ + + + + + + + - - + + + +

prefix(prefixopt, distributionopt, architectureopt, versionopt) → {string|Wine}

+ + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + - + - + - -
NameTypeAttributesDescription
architectureprefix @@ -277398,7 +277491,7 @@
Parameters:
versiondistribution @@ -277428,145 +277521,43 @@
Parameters:
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Source:
-
- - - - - - - -
- - - - - - - - - - - - - - - -
Returns:
- - + + + architecture + -
-
- Type -
-
- + + + string -| - -Wine -
-
- - - - - - - - + - - - -

prefix(prefix) → {WineShortcut}

- - - - - - -
- Sets the shortcut prefix -
- - - - - - - - - -
Parameters:
- - - - - - - - + + + - + + + - + - - - + + - - + + + - + @@ -277623,7 +277624,7 @@
Parameters:
Source:
@@ -277651,10 +277652,6 @@
Parameters:
Returns:
-
- The WineShortcut object -
-
@@ -277663,7 +277660,10 @@
Returns:
-WineShortcut +string +| + +Wine
@@ -280019,7 +280019,7 @@
Returns:
-

url(url) → {Resource}

+

url(url) → {Downloader}

@@ -280027,7 +280027,7 @@

url - Sets the resource URL + Sets the URL which shall be used for the download @@ -280120,7 +280120,7 @@
Parameters:
Source:
@@ -280149,7 +280149,7 @@
Returns:
- The Resource object + The Downloader object
@@ -280160,7 +280160,7 @@
Returns:
-Resource +Downloader
@@ -280178,7 +280178,7 @@
Returns:
-

url(url) → {Downloader}

+

url(url) → {Resource}

@@ -280186,7 +280186,7 @@

url - Sets the URL which shall be used for the download + Sets the resource URL @@ -280279,7 +280279,7 @@
Parameters:
Source:
@@ -280308,7 +280308,7 @@
Returns:
- The Downloader object + The Resource object
@@ -280319,7 +280319,7 @@
Returns:
-Downloader +Resource
@@ -280902,13 +280902,17 @@
Returns:
-

wizard(wizardopt) → {SetupWizard|Wine}

+

wizard(wizard) → {Resource}

+
+ Sets the setup wizard +
+ @@ -280930,8 +280934,6 @@
Parameters:

- - @@ -280957,20 +280959,10 @@
Parameters:
- - - + @@ -281011,7 +281003,7 @@
Parameters:
Source:
@@ -281039,6 +281031,10 @@
Parameters:
Returns:
+
+ The Resource object +
+
@@ -281047,10 +281043,7 @@
Returns:
-SetupWizard -| - -Wine +Resource
@@ -281068,7 +281061,7 @@
Returns:
-

wizard(wizard) → {Resource}

+

wizard(wizard) → {Downloader}

@@ -281169,7 +281162,7 @@
Parameters:
Source:
@@ -281198,7 +281191,7 @@
Returns:
- The Resource object + The Downloader object
@@ -281209,7 +281202,7 @@
Returns:
-Resource +Downloader
@@ -281227,17 +281220,13 @@
Returns:
-

wizard(wizard) → {Downloader}

+

wizard(wizardopt) → {SetupWizard|Wine}

-
- Sets the setup wizard -
- @@ -281259,6 +281248,8 @@
Parameters:
+ + @@ -281284,10 +281275,20 @@
Parameters:
+ + - + @@ -281328,7 +281329,7 @@
Parameters:
Source:
@@ -281356,10 +281357,6 @@
Parameters:
Returns:
-
- The Downloader object -
-
@@ -281368,7 +281365,10 @@
Returns:
-Downloader +SetupWizard +| + +Wine
@@ -281396,7 +281396,7 @@
Returns:

Name + + <optional>
+ -
TypeDescription
prefixversion @@ -277579,10 +277570,20 @@
Parameters:
+ + <optional>
+ + + + + +
The shortcut prefix
TypeAttributes - - <optional>
- - - - - -
The setup wizard
TypeAttributes + + <optional>
+ + + + + +
The setup wizard