Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add simple Module System for "include" #1076

Merged
merged 21 commits into from
Aug 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
46 changes: 3 additions & 43 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -38,52 +38,12 @@ globals:
# java
Bean: false

# files
ls: false
mkdir: false
fileExists: false
cat: false
cp: false
getFileSize: false
fileName: false
lns: false
remove: false
touch: false
# translations
tr: false
writeToFile: false
createTempFile: false
createTempDir: false
chmod: false

# classes
AppResource: false
CabExtract: false
Checksum: false
Downloader: false
WineEngine: false
Extractor: false
InstallationType: false
Resource: false
SetupWizard: false
Wine: false
WineShortcut: false

# quick scripts
PlainInstaller: false
CustomInstallerScript: false
GogScript: false
InstallerScript: false
LocalInstallerScript: false
OnlineInstallerScript: false
OriginScript: false
QuickScript: false
SteamScript: false
UplayScript: false
ZipScript: false

# wine
LATEST_DEVELOPMENT_VERSION: false
LATEST_STABLE_VERSION: false
LATEST_STAGING_VERSION: false
LATEST_DOS_SUPPORT_VERSION: false
WINE_PREFIX_DIR: false
# module system
module: false
2 changes: 1 addition & 1 deletion Applications/Accessories/7-zip/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("7-zip")
2 changes: 1 addition & 1 deletion Applications/Accessories/ImgBurn/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("ImgBurn")
2 changes: 1 addition & 1 deletion Applications/Accessories/Soundplant/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
include("engines.wine.plugins.windows_version");

new OnlineInstallerScript()
2 changes: 1 addition & 1 deletion Applications/Custom/LocalInstaller/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
include("engines.wine.plugins.windows_version");

new LocalInstallerScript()
2 changes: 1 addition & 1 deletion Applications/Custom/OnlineInstaller/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
include("engines.wine.plugins.windows_version");

new OnlineInstallerScript()
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");

new LocalInstallerScript()
.name("Enterprise Architect")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("Enterprise Architect")
2 changes: 1 addition & 1 deletion Applications/Development/Notepad++/v7.2.2/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("Notepad++")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");

new LocalInstallerScript()
.name("18 Wheels of Steel: Across America")
4 changes: 2 additions & 2 deletions Applications/Games/Age of Empires II HD/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("engines.wine.quick_script.steam_script");
include("utils.functions.filesystem.files");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {cp, remove, lns} = include("utils.functions.filesystem.files");

new SteamScript()
.name("Age of Empires II HD")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.plugins.override_dll");
include("engines.wine.verbs.mfc42");

5 changes: 3 additions & 2 deletions Applications/Games/Anno 2070/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
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");
include("utils.functions.filesystem.files");

new LocalInstallerScript()
.name("Anno 2070")
3 changes: 2 additions & 1 deletion Applications/Games/Anno 2070/Uplay/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.uplay_script");
const UplayScript = include("engines.wine.quick_script.uplay_script");

include("engines.wine.verbs.corefonts");
include("engines.wine.plugins.virtual_desktop");

3 changes: 2 additions & 1 deletion Applications/Games/Assassin's Creed II/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Assassin’s Creed II")
3 changes: 2 additions & 1 deletion Applications/Games/Assassin's Creed III/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Assassin’s Creed® III")
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
.name("Assassin’s Creed® IV Black Flag™")
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
3 changes: 2 additions & 1 deletion Applications/Games/Assassin's Creed Unity/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Assassin’s Creed® Unity")
3 changes: 2 additions & 1 deletion Applications/Games/Assassin's Creed/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Assassin's Creed™")
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
2 changes: 1 addition & 1 deletion Applications/Games/Audiosurf/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.verbs.quicktime76");
include("engines.wine.verbs.corefonts");
include("engines.wine.verbs.tahoma");
2 changes: 1 addition & 1 deletion Applications/Games/BRINK/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("BRINK")
6 changes: 4 additions & 2 deletions Applications/Games/Batman™: Arkham Asylum/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");
include("engines.wine.plugins.glsl");

@@ -9,7 +11,7 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.appId(35140)
.postInstall(function (wine, wizard) {
.postInstall(function (wine/*, wizard*/) {
wine.UseGLSL("disabled");
wine.enableCSMT();
});
6 changes: 4 additions & 2 deletions Applications/Games/Batman™: Arkham City/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");

new SteamScript()
@@ -8,6 +10,6 @@ new SteamScript()
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.appId(200260)
.postInstall(function (wine, wizard) {
.postInstall(function (wine/*, wizard*/) {
wine.enableCSMT();
});
6 changes: 4 additions & 2 deletions Applications/Games/Batman™: Arkham Origins/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");

new SteamScript()
@@ -7,7 +9,7 @@ new SteamScript()
.author("ImperatorS79")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.postInstall(function (wine, wizard) {
.postInstall(function (wine/*, wizard*/) {
wine.enableCSMT();
//maybe needs xact
})
3 changes: 2 additions & 1 deletion Applications/Games/Beyond Good and Evil/Uplay/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.uplay_script");
const UplayScript = include("engines.wine.quick_script.uplay_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new UplayScript()
.name("Beyond Good and Evil™")
2 changes: 1 addition & 1 deletion Applications/Games/BioShock/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("BioShock™ (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/BioShock/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("BioShock™")
2 changes: 1 addition & 1 deletion Applications/Games/Black Mesa/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Black Mesa")
2 changes: 1 addition & 1 deletion Applications/Games/Blizzard app/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
include("engines.wine.verbs.vcrun2015");
include("engines.wine.verbs.corefonts");

2 changes: 1 addition & 1 deletion Applications/Games/Borderlands/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Borderlands")
2 changes: 1 addition & 1 deletion Applications/Games/Braid/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Braid (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Braid/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Braid")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Burnout™ Paradise: The Ultimate Box")
2 changes: 1 addition & 1 deletion Applications/Games/CONSORTIUM/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("CONSORTIUM")
2 changes: 1 addition & 1 deletion Applications/Games/Caesar III/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
include("engines.wine.plugins.virtual_desktop");

new LocalInstallerScript()
2 changes: 1 addition & 1 deletion Applications/Games/Caesar III/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.plugins.virtual_desktop");

new SteamScript()
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Call of Juarez® Gunslinger (Demo)")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Call of Juarez® Gunslinger")
2 changes: 1 addition & 1 deletion Applications/Games/ChromaGun/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("ChromaGun (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/ChromaGun/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("ChromaGun")
2 changes: 1 addition & 1 deletion Applications/Games/Civilization V/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Civilization V")
2 changes: 1 addition & 1 deletion Applications/Games/Clicker Heroes/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Clicker Heroes")
2 changes: 1 addition & 1 deletion Applications/Games/Cogs/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Cogs (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Cogs/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Cogs")
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include("engines.wine.quick_script.local_installer_script");
include("engines.wine.engine.object");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
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");
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Consortium: The Tower (Demo)")
3 changes: 2 additions & 1 deletion Applications/Games/Consortium: The Tower/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Consortium: The Tower")
2 changes: 1 addition & 1 deletion Applications/Games/Crayon Physics/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");

new ZipScript()
.name("Crayon Physics")
2 changes: 1 addition & 1 deletion Applications/Games/DC Universe Online/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
include("engines.wine.verbs.vcrun2012");
include("engines.wine.verbs.d3dx9");

3 changes: 2 additions & 1 deletion Applications/Games/DOOM (2016)/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("DOOM (2016)")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist")
4 changes: 3 additions & 1 deletion Applications/Games/Dragon Ball Xenoverse 2/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");

new SteamScript()
2 changes: 1 addition & 1 deletion Applications/Games/Dragon Ball Xenoverse/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Dragon Ball Xenoverse")
2 changes: 1 addition & 1 deletion Applications/Games/Druid Soccer/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");

new ZipScript()
.name("Druid Soccer")
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
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");
2 changes: 2 additions & 0 deletions Applications/Games/Elite:Dangerous/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const SteamScript = include("engines.wine.quick_script.steam_script");

include("engines.wine.verbs.corefonts");
include("engines.wine.verbs.dotnet45");
include("engines.wine.verbs.vcrun2015");
4 changes: 2 additions & 2 deletions Applications/Games/Enderal/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("engines.wine.quick_script.steam_script");
include("utils.functions.filesystem.files");
const SteamScript = include("engines.wine.quick_script.steam_script");
const Downloader = include("utils.functions.net.download");

new SteamScript()
.name("Enderal")
3 changes: 2 additions & 1 deletion Applications/Games/Epic Games Launcher/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("Epic Games Launcher")
3 changes: 2 additions & 1 deletion Applications/Games/Epic Games Launcher/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new OnlineInstallerScript()
.name("Epic Games Launcher")
2 changes: 1 addition & 1 deletion Applications/Games/Ether One Redux/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Ether One Redux")
2 changes: 1 addition & 1 deletion Applications/Games/Europa Universalis II/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");

new LocalInstallerScript()
.name("Europa Universalis II")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Europa Universalis IV (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Europa Universalis IV/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Europa Universalis IV")
4 changes: 3 additions & 1 deletion Applications/Games/Far Cry 2/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");
include("engines.wine.verbs.secur32");

3 changes: 2 additions & 1 deletion Applications/Games/Far Cry 3 - Blood Dragon/Uplay/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.uplay_script");
const UplayScript = include("engines.wine.quick_script.uplay_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new UplayScript()
.name("Far Cry 3 - Blood Dragon")
2 changes: 1 addition & 1 deletion Applications/Games/Far Cry/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Far Cry")
2 changes: 1 addition & 1 deletion Applications/Games/FlatOut/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("FlatOut (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/FlatOut/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("FlatOut")
5 changes: 4 additions & 1 deletion Applications/Games/GOG Galaxy/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include("engines.wine.quick_script.online_installer_script");
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");

include("engines.wine.verbs.corefonts");
include("engines.wine.verbs.vcrun2017");
include("engines.wine.verbs.xact");
2 changes: 1 addition & 1 deletion Applications/Games/Goodbye Deponia/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Goodbye Deponia (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Goodbye Deponia/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Goodbye Deponia")
4 changes: 3 additions & 1 deletion Applications/Games/Guild Wars 2/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");
include("engines.wine.plugins.virtual_desktop");

4 changes: 3 additions & 1 deletion Applications/Games/Guild Wars 2/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");
include("engines.wine.plugins.virtual_desktop");

4 changes: 3 additions & 1 deletion Applications/Games/Hearthstone/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.vcrun2015");
include("engines.wine.verbs.corefonts");

4 changes: 3 additions & 1 deletion Applications/Games/Heroes of the Storm/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
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");
2 changes: 1 addition & 1 deletion Applications/Games/Hexcells Infinite/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Hexcells Infinite")
2 changes: 1 addition & 1 deletion Applications/Games/Hexcells Plus/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Hexcells Plus")
2 changes: 1 addition & 1 deletion Applications/Games/Hexcells/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Hexcells")
2 changes: 1 addition & 1 deletion Applications/Games/Icy Tower/v1.5/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("Icy Tower 1.5")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

include("engines.wine.verbs.d3dx10");

7 changes: 5 additions & 2 deletions Applications/Games/League of Legends/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
include("engines.wine.quick_script.custom_installer_script");
const CustomInstallerScript = include("engines.wine.quick_script.custom_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");
const {fileName, mkdir, writeToFile} = include("utils.functions.filesystem.files");
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.shortcuts.wine");
include("engines.wine.verbs.sandbox");
include("engines.wine.verbs.d3dx9");

8 changes: 4 additions & 4 deletions Applications/Games/Lego Rock Raiders/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include("engines.wine.quick_script.local_installer_script");
include("utils.functions.net.download");
include("utils.functions.filesystem.extract");
include("utils.functions.filesystem.files");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const Downloader = include("utils.functions.net.download");
const {Extractor} = include("utils.functions.filesystem.extract");

include("engines.wine.verbs.amstream");
include("engines.wine.verbs.quartz");
include("engines.wine.verbs.devenum");
2 changes: 1 addition & 1 deletion Applications/Games/Mafia II/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Mafia II (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Mafia II/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Mafia II")
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.dxvk");
include("engines.wine.plugins.usetakefocus");

2 changes: 1 addition & 1 deletion Applications/Games/Mass Effect 2/Origin/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.origin_script");
const OriginScript = include("engines.wine.quick_script.origin_script");

new OriginScript()
.name("Mass Effect 2")
2 changes: 1 addition & 1 deletion Applications/Games/Mass Effect 2/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Mass Effect 2")
2 changes: 1 addition & 1 deletion Applications/Games/Mass Effect/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Mass Effect")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Medieval II: Total War™ (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Medieval II: Total War/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Medieval II: Total War™")
2 changes: 1 addition & 1 deletion Applications/Games/Mirror's Edge/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.plugins.managed");
include("engines.wine.verbs.physx");

2 changes: 1 addition & 1 deletion Applications/Games/Mount & Blade/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Mount & Blade (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Mount & Blade/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Mount & Blade")
2 changes: 1 addition & 1 deletion Applications/Games/Niko: Through The Dream/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.plugins.managed");
include("engines.wine.verbs.dotnet40");

7 changes: 4 additions & 3 deletions Applications/Games/Origin/Local (Legacy)/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.quick_script.local_installer_script");
include("utils.functions.net.download");
include("utils.functions.filesystem.extract");
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 {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("Origin")
5 changes: 4 additions & 1 deletion Applications/Games/Origin/Online (Legacy)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions");
const Downloader = include("utils.functions.net.download");
const {Extractor} = include("utils.functions.filesystem.extract");

new OnlineInstallerScript()
.name("Origin")
3 changes: 2 additions & 1 deletion Applications/Games/Origin/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new OnlineInstallerScript()
.name("Origin")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Orwell: Keeping an Eye On You (Demo)")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Orwell: Keeping an Eye On You")
4 changes: 3 additions & 1 deletion Applications/Games/Overwatch/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
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");
2 changes: 1 addition & 1 deletion Applications/Games/PAYDAY The Heist/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("PAYDAY™ The Heist")
6 changes: 4 additions & 2 deletions Applications/Games/PC Building Simulator/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.quick_script.steam_script");
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");
include("utils.functions.apps.resources");


new SteamScript()
.name("PC Building Simulator")
3 changes: 2 additions & 1 deletion Applications/Games/Prehistorik/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");
const {LATEST_DOS_SUPPORT_VERSION} = include("engines.wine.engine.versions");

new ZipScript()
.name("Prehistorik")
3 changes: 2 additions & 1 deletion Applications/Games/Prey/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Prey (Demo)")
3 changes: 2 additions & 1 deletion Applications/Games/Prey/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Prey")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");
const {LATEST_DOS_SUPPORT_VERSION} = include("engines.wine.engine.versions");

new ZipScript()
.name("Prince Of Persia: Original")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.uplay_script");
const UplayScript = include("engines.wine.quick_script.uplay_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new UplayScript()
.name("Prince of Persia®: The Sands of Time")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Pro Evolution Soccer 2018 (Demo)")
3 changes: 2 additions & 1 deletion Applications/Games/Pro Evolution Soccer 2018/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Pro Evolution Soccer 2018")
2 changes: 1 addition & 1 deletion Applications/Games/Q.U.B.E: Director's Cut/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.verbs.dotnet40");

new SteamScript()
2 changes: 1 addition & 1 deletion Applications/Games/Quantum Conundrum/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.verbs.vcrun2008");

new SteamScript()
4 changes: 3 additions & 1 deletion Applications/Games/Rayman Legends/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
4 changes: 3 additions & 1 deletion Applications/Games/Rayman Legends/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
3 changes: 2 additions & 1 deletion Applications/Games/Rayman Origins/Uplay/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.uplay_script");
const UplayScript = include("engines.wine.quick_script.uplay_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new UplayScript()
.name("Rayman® Origins")
3 changes: 2 additions & 1 deletion Applications/Games/Red Trigger/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Red Trigger")
2 changes: 1 addition & 1 deletion Applications/Games/Resident Evil 3/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");

new LocalInstallerScript()
.name("Resident Evil 3")
2 changes: 1 addition & 1 deletion Applications/Games/RimWorld/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
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");
2 changes: 1 addition & 1 deletion Applications/Games/RimWorld/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.verbs.vcrun2017");
include("engines.wine.verbs.d3dx9");
include("engines.wine.verbs.corefonts");
2 changes: 1 addition & 1 deletion Applications/Games/Road Rash/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");
include("engines.wine.plugins.regedit");

new ZipScript()
5 changes: 3 additions & 2 deletions Applications/Games/Rocksmith 2014/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {writeToFile} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.sound_driver");
include("utils.functions.filesystem.files");

function fixIni(ini) {
var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
5 changes: 3 additions & 2 deletions Applications/Games/Rocksmith/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {writeToFile} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.sound_driver");
include("utils.functions.filesystem.files");

function fixIni(ini) {
var screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const Downloader = include("utils.functions.net.download");

include("engines.wine.verbs.d3dx9");
include("engines.wine.engine.object");
include("utils.functions.filesystem.files");

new LocalInstallerScript()
.name("STAR WARS™ Empire at War: Gold Pack")
.editor("Petroglyph")
.author("ImperatorS79")
.category("Games")
.executable("LaunchEAW.exe")
.preInstall(function (wine, wizard) {
.preInstall(function (wine/*, wizard */) {
wine.d3dx9();
})
.postInstall(function (wine, wizard) {
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.verbs.d3dx9");

new SteamScript()
5 changes: 2 additions & 3 deletions Applications/Games/STAR WARS Battlefront II/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
include("engines.wine.engine.object");
include("utils.functions.filesystem.files");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const Downloader = include("utils.functions.net.download");

new LocalInstallerScript()
.name("STAR WARS™ Battlefront™ II")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("STAR WARS™ Battlefront™ II")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("STAR WARS™ Jedi Knight - Jedi Academy™")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("STAR WARS™ Jedi Knight - Mysteries of the Sith™")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("STAR WARS™ Jedi Knight II - Jedi Outcast™")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("STAR WARS™ Jedi Knight: Dark Forces II")
2 changes: 1 addition & 1 deletion Applications/Games/STAR WARS: Dark Forces/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("STAR WARS™: Dark Forces")
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {writeToFile} = include("utils.functions.filesystem.files");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.d3dx9");
include("utils.functions.filesystem.files");

new OnlineInstallerScript()
.name("STAR WARS™: The Old Republic")
2 changes: 1 addition & 1 deletion Applications/Games/Scribblenauts Unlimited/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Scribblenauts Unlimited")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Shower With Your Dad Simulator 2015: Do You Still Shower With Your Dad?")
2 changes: 1 addition & 1 deletion Applications/Games/SimCity (2013)/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");

new LocalInstallerScript()
.name("SimCity (2013)")
2 changes: 1 addition & 1 deletion Applications/Games/SimCity (2013)/Origin/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.origin_script");
const OriginScript = include("engines.wine.quick_script.origin_script");

new OriginScript()
.name("SimCity (2013)")
5 changes: 3 additions & 2 deletions Applications/Games/Space Colony/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include("engines.wine.quick_script.local_installer_script");
include("utils.functions.net.resource");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const Resource = include("utils.functions.net.resource");
const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("Space Colony")
4 changes: 3 additions & 1 deletion Applications/Games/Space Colony/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.vcrun2010");
include("engines.wine.verbs.dotnet40");
include("engines.wine.verbs.d3dx9");
2 changes: 1 addition & 1 deletion Applications/Games/Space Engineers/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.verbs.dotnet472");
include("engines.wine.verbs.vcrun2017");
include("engines.wine.verbs.dxvk");
2 changes: 1 addition & 1 deletion Applications/Games/Spore/Origin/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.origin_script");
const OriginScript = include("engines.wine.quick_script.origin_script");

new OriginScript()
.name("Spore")
2 changes: 1 addition & 1 deletion Applications/Games/Spore/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Spore")
2 changes: 1 addition & 1 deletion Applications/Games/Sprouts Adventure/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
include("engines.wine.verbs.vcrun2005");

new LocalInstallerScript()
2 changes: 1 addition & 1 deletion Applications/Games/Star Craft II/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
include("engines.wine.verbs.vcrun2015");
include("engines.wine.verbs.corefonts");

3 changes: 2 additions & 1 deletion Applications/Games/Star Trek Online/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Star Trek Online")
4 changes: 3 additions & 1 deletion Applications/Games/Steam/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.corefonts");
include("engines.wine.plugins.windows_version");

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Styx: Shards of Darkness (Demo)")
3 changes: 2 additions & 1 deletion Applications/Games/Styx: Shards of Darkness/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("Styx: Shards of Darkness")
5 changes: 3 additions & 2 deletions Applications/Games/Subnautica Below Zero/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
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");
include("utils.functions.apps.resources");

new SteamScript()
.name("Subnautica Below Zero")
5 changes: 3 additions & 2 deletions Applications/Games/Subnautica/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
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");
include("utils.functions.apps.resources");

new SteamScript()
.name("Subnautica")
2 changes: 1 addition & 1 deletion Applications/Games/Super Blue Boy Planet/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Super Blue Boy Planet")
3 changes: 2 additions & 1 deletion Applications/Games/TRON RUNr/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("TRON RUN/r (Demo)")
3 changes: 2 additions & 1 deletion Applications/Games/TRON RUNr/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("TRON RUN/r")
3 changes: 2 additions & 1 deletion Applications/Games/Teenagent/GOG/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.gog_script");
const GogScript = include("engines.wine.quick_script.gog_script");
const {LATEST_DOS_SUPPORT_VERSION} = include("engines.wine.engine.versions");

new GogScript()
.name("Teenagent")
3 changes: 2 additions & 1 deletion Applications/Games/The Crew/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("The Crew™ (Demo)")
3 changes: 2 additions & 1 deletion Applications/Games/The Crew/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("The Crew™")
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");
const {writeToFile} = include("utils.functions.filesystem.files");
const {LATEST_DOS_SUPPORT_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.dos_support");
include("utils.functions.filesystem.files");

new ZipScript()
.name("The Elder Scroll 1: Arena")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("The Elder Scrolls IV: Oblivion")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("The Elder Scrolls IV: Oblivion")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("The Elder Scrolls V: Skyrim")
2 changes: 1 addition & 1 deletion Applications/Games/The Room Two/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("The Room Two")
2 changes: 1 addition & 1 deletion Applications/Games/The Room/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("The Room")
3 changes: 2 additions & 1 deletion Applications/Games/The Sims 3/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
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");
3 changes: 2 additions & 1 deletion Applications/Games/The Sims 3/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

include("engines.wine.verbs.dotnet20");
include("engines.wine.verbs.vcrun2010");
include("engines.wine.verbs.tahoma");
3 changes: 2 additions & 1 deletion Applications/Games/The Sims/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("The Sims")
3 changes: 2 additions & 1 deletion Applications/Games/The Turing Test/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_DEVELOPMENT_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("The Turing Test")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new SteamScript()
.name("The Vanishing of Ethan Carter Redux")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("The Vanishing of Ethan Carter")
4 changes: 3 additions & 1 deletion Applications/Games/The Witcher 3: Wild Hunt/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.dxvk");

new SteamScript()
2 changes: 1 addition & 1 deletion Applications/Games/The Witness/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("The Witness")
2 changes: 1 addition & 1 deletion Applications/Games/Toki Tori/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Toki Tori (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Toki Tori/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Toki Tori")
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const Downloader = include("utils.functions.net.download");

include("engines.wine.plugins.virtual_desktop");

new LocalInstallerScript()
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

include("engines.wine.plugins.virtual_desktop");

new SteamScript()
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.uplay_script");
const UplayScript = include("engines.wine.quick_script.uplay_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new UplayScript()
.name("Tom Clancy's Splinter Cell®")
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
4 changes: 3 additions & 1 deletion Applications/Games/Tom Clancy's The Division/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tomb Raider: Anniversary (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Tomb Raider Anniversary/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tomb Raider: Anniversary")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tomb Raider: Legend (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Tomb Raider Legend/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tomb Raider: Legend")
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tomb Raider: Underworld (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Tomb Raider Underworld/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tomb Raider: Underworld")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("Tomb Raider: The Dagger Of Xian (Demo)")
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new OnlineInstallerScript()
.name("Tomb Raider: The Dagger Of Xian (Demo)")
4 changes: 3 additions & 1 deletion Applications/Games/Total War Rome II/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.d3dx9");
include("engines.wine.verbs.vcrun2005");
include("engines.wine.verbs.vcrun2008");
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Totally Accurate Battlegrounds")
4 changes: 3 additions & 1 deletion Applications/Games/Trackmania Turbo/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
4 changes: 3 additions & 1 deletion Applications/Games/Trackmania Turbo/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.uplay");

new SteamScript()
2 changes: 1 addition & 1 deletion Applications/Games/Tropico 3/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tropico 3")
2 changes: 1 addition & 1 deletion Applications/Games/Tropico 4/Steam (Demo)/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tropico 4 (Demo)")
2 changes: 1 addition & 1 deletion Applications/Games/Tropico 4/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Tropico 4")
4 changes: 3 additions & 1 deletion Applications/Games/Unholy Heights/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.dotnet40");

new SteamScript()
3 changes: 2 additions & 1 deletion Applications/Games/Uplay/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

new LocalInstallerScript()
.name("Uplay")
4 changes: 3 additions & 1 deletion Applications/Games/Uplay/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.corefonts");

Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
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");
4 changes: 3 additions & 1 deletion Applications/Games/Warface/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.csmt");

new SteamScript()
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.corefonts");
include("engines.wine.verbs.d3dx9");
include("engines.wine.verbs.tahoma");
2 changes: 1 addition & 1 deletion Applications/Games/Wildlife Park 2/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
include("engines.wine.plugins.virtual_desktop");
include("engines.wine.verbs.quartz");

2 changes: 1 addition & 1 deletion Applications/Games/Wildlife Park 2/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");
include("engines.wine.plugins.virtual_desktop");
include("engines.wine.verbs.quartz");

2 changes: 1 addition & 1 deletion Applications/Games/Worms Armageddon/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Worms Armageddon")
2 changes: 1 addition & 1 deletion Applications/Games/Worms Reloaded/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.steam_script");
const SteamScript = include("engines.wine.quick_script.steam_script");

new SteamScript()
.name("Worms™ Reloaded")
3 changes: 2 additions & 1 deletion Applications/Games/XIII/GOG/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.gog_script");
const GogScript = include("engines.wine.quick_script.gog_script");
const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions");

new GogScript()
.name("XIII")
3 changes: 2 additions & 1 deletion Applications/Games/Xenon 2/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");
const {LATEST_DOS_SUPPORT_VERSION} = include("engines.wine.engine.versions");

new ZipScript()
.name("Xenon 2")
4 changes: 3 additions & 1 deletion Applications/Games/osu!/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
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");

2 changes: 1 addition & 1 deletion Applications/Graphics/Microsoft Paint/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.zip_script");
const ZipScript = include("engines.wine.quick_script.zip_script");

new ZipScript()
.name("Microsoft Paint")
2 changes: 1 addition & 1 deletion Applications/Graphics/Photofiltre/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("Photofiltre")
15 changes: 9 additions & 6 deletions Applications/Internet/Internet Explorer 6.0/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
include("utils.functions.apps.plain_installer");
include("utils.functions.net.resource");
include("engines.wine.engine.object");
const PlainInstaller = include("utils.functions.apps.plain_installer");
const Resource = include("utils.functions.net.resource");
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 WineShortcut = include("engines.wine.shortcuts.wine");
const AppResource = include("utils.functions.apps.resources");

include("engines.wine.plugins.override_dll");
include("engines.wine.plugins.regedit");
include("engines.wine.plugins.regsvr32");
include("engines.wine.plugins.windows_version");
include("utils.functions.filesystem.files");
include("engines.wine.shortcuts.wine");
include("utils.functions.apps.resources");
include("engines.wine.verbs.msls31");

new PlainInstaller().withScript(() => {
15 changes: 8 additions & 7 deletions Applications/Internet/Internet Explorer 7.0/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
include("utils.functions.apps.plain_installer");
include("utils.functions.net.resource");
include("engines.wine.engine.object");
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 WineShortcut = include("engines.wine.shortcuts.wine");

include("engines.wine.plugins.override_dll");
include("engines.wine.plugins.regsvr32");
include("utils.functions.filesystem.files");
include("engines.wine.shortcuts.wine");
include("utils.functions.apps.resources");
include("engines.wine.verbs.sandbox");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.sandbox");

new PlainInstaller().withScript(() => {
var appsManager = Bean("repositoryManager");
2 changes: 1 addition & 1 deletion Applications/Internet/TeamSpeak 3/v3.0.19.4/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("TeamSpeak 3")
2 changes: 1 addition & 1 deletion Applications/Internet/mIRC/v7.46/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("mIRC")
2 changes: 1 addition & 1 deletion Applications/Multimedia/Mp3tag/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");

new OnlineInstallerScript()
.name("Mp3tag")
4 changes: 3 additions & 1 deletion Applications/Office/Adobe Acrobat Reader DC/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.online_installer_script");
const OnlineInstallerScript = include("engines.wine.quick_script.online_installer_script");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.verbs.mspatcha");
include("engines.wine.plugins.windows_version");

3 changes: 2 additions & 1 deletion Applications/Office/ElsterFormular/Online/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");

include("engines.wine.plugins.native_application");
include("engines.wine.verbs.vcrun2017");

4 changes: 3 additions & 1 deletion Applications/Office/Microsoft Office 2010/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const WineShortcut = include("engines.wine.shortcuts.wine");

include("engines.wine.plugins.override_dll");

new LocalInstallerScript()
5 changes: 4 additions & 1 deletion Applications/Office/Microsoft Office 2013/Local/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include("engines.wine.quick_script.local_installer_script");
const LocalInstallerScript = include("engines.wine.quick_script.local_installer_script");
const WineShortcut = include("engines.wine.shortcuts.wine");
const {LATEST_STAGING_VERSION} = include("engines.wine.engine.versions");

include("engines.wine.plugins.override_dll");

new LocalInstallerScript()
2 changes: 2 additions & 0 deletions Engines/Wine/Engine/Constants/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* exported WINE_PREFIX_DIR */
module.WINE_PREFIX_DIR = "wineprefix";
11 changes: 11 additions & 0 deletions Engines/Wine/Engine/Constants/script.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"scriptName" : "Wine constants",
"id" : "engines.wine.engine.constants",
"compatibleOperatingSystems" : [
"MACOSX",
"LINUX"
],
"testingOperatingSystems" : [],
"free" : true,
"requiresPatch" : false
}
14 changes: 6 additions & 8 deletions Engines/Wine/Engine/Implementation/script.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");
include("utils.functions.net.download");
include("utils.functions.net.resource");

/* exported WINE_PREFIX_DIR */
var WINE_PREFIX_DIR = "wineprefix";
const {ls, mkdir, fileExists, cat, lns, remove, touch, createTempFile} = include("utils.functions.filesystem.files");
const {Extractor} = include("utils.functions.filesystem.extract");
const Downloader = include("utils.functions.net.download");
const Resource = include("utils.functions.net.resource");
const {WINE_PREFIX_DIR} = include("engines.wine.engine.constants");

/**
* Wine engine
*/
// eslint-disable-next-line no-unused-vars
class WineEngine {
module.default = class WineEngine {
constructor() {
this._configFactory = Bean("compatibleConfigFileFormatFactory");
this._containerRegex = /[^a-z0-9_\- ]/gi;
18 changes: 3 additions & 15 deletions Engines/Wine/Engine/Object/script.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
include("engines.wine.engine.implementation");
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");
include("utils.functions.net.download");
include("utils.functions.net.resource");

/* exported LATEST_STABLE_VERSION */
const LATEST_STABLE_VERSION = "4.0.1";
/* exported LATEST_DEVELOPMENT_VERSION */
var LATEST_DEVELOPMENT_VERSION = "4.12.1";
/* exported LATEST_STAGING_VERSION */
var LATEST_STAGING_VERSION = "4.12.1";
/* exported LATEST_DOS_SUPPORT_VERSION */
const LATEST_DOS_SUPPORT_VERSION = "4.0";
const WineEngine = include("engines.wine.engine.implementation");
const {fileExists} = include("utils.functions.filesystem.files");

const FilenameUtils = Java.type("org.apache.commons.io.FilenameUtils");

/**
* Wine main prototype
*/
// eslint-disable-next-line no-unused-vars
class Wine {
module.default = class Wine {
constructor() {
this._implementation = new WineEngine();

8 changes: 8 additions & 0 deletions Engines/Wine/Engine/Versions/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* exported LATEST_STABLE_VERSION */
module.LATEST_STABLE_VERSION = "4.0.1";
/* exported LATEST_DEVELOPMENT_VERSION */
module.LATEST_DEVELOPMENT_VERSION = "4.12.1";
/* exported LATEST_STAGING_VERSION */
module.LATEST_STAGING_VERSION = "4.12.1";
/* exported LATEST_DOS_SUPPORT_VERSION */
module.LATEST_DOS_SUPPORT_VERSION = "4.0";
11 changes: 11 additions & 0 deletions Engines/Wine/Engine/Versions/script.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"scriptName" : "Wine versions",
"id" : "engines.wine.engine.versions",
"compatibleOperatingSystems" : [
"MACOSX",
"LINUX"
],
"testingOperatingSystems" : [],
"free" : true,
"requiresPatch" : false
}
4 changes: 2 additions & 2 deletions Engines/Wine/Plugins/DOS support/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("engines.wine.engine.object");
include("utils.functions.filesystem.files");
const Wine = include("engines.wine.engine.object");
const {writeToFile, fileExists, cat} = include("utils.functions.filesystem.files");

/**
* This extensions allows script to add extra settings to dos_support wine builds
4 changes: 3 additions & 1 deletion Engines/Wine/Plugins/DirectDraw renderer/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really interesting. It seems like quite a few plugins were using regedit internally without explicitly including it...
In the best case a different previously executed script in the same context included this script. In the worst case this leads to a crash.


/**
* force the DirectDrawRenderer
4 changes: 3 additions & 1 deletion Engines/Wine/Plugins/Font smoothing/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Force the Font smoothing
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/GLSL/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/OpenGL version/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/UseTakeFocus/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
4 changes: 2 additions & 2 deletions Engines/Wine/Plugins/Windows version/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
@@ -8,7 +9,6 @@ include("engines.wine.plugins.regedit");
* @returns {string|Wine} get: Windows version, set: Wine object
*/
Wine.prototype.windowsVersion = function (version, servicePack) {
var that = this;
// get
if (arguments.length == 0) {
return this.regedit().fetchValue(["HKEY_CURRENT_USER", "Software", "Wine", "Version"]);
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/csmt/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/hdpi/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/managed/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/native application/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
6 changes: 4 additions & 2 deletions Engines/Wine/Plugins/nocrashdialog/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* disables the crashdialog
@@ -9,7 +11,7 @@ Wine.prototype.nocrashdialog = function () {
"REGEDIT4\n" +
"\n" +
"[HKEY_CURRENT_USER\\Software\\Wine\\WineDbg]\n" +
"\"ShowCrashDialog\"=\""00000000"\""
"\"ShowCrashDialog\"=\"00000000\""
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint marked this line as faulty because of an invalid syntax.

this.regedit().patch(regeditFileContent);
return this;
};
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/override DLL/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

var OverrideDLL = function () {
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/regedit/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const {createTempFile, writeToFile} = include("utils.functions.filesystem.files");

/**
* Regedit support
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/register font/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

var RegisterFont = function () {
2 changes: 1 addition & 1 deletion Engines/Wine/Plugins/regsvr32/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* runs "regsvr32"
3 changes: 2 additions & 1 deletion Engines/Wine/Plugins/sound driver/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
4 changes: 3 additions & 1 deletion Engines/Wine/Plugins/virtual desktop/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* sets Virtual Desktop with window resolution
4 changes: 2 additions & 2 deletions Engines/Wine/QuickScript/Custom Installer Script/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include("engines.wine.quick_script.installer_script");
const InstallerScript = include("engines.wine.quick_script.installer_script");

class CustomInstallerScript extends InstallerScript {
module.default = class CustomInstallerScript extends InstallerScript {
constructor() {
super();
}
10 changes: 6 additions & 4 deletions Engines/Wine/QuickScript/GoG Script/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
include("engines.wine.engine.object");
include("engines.wine.quick_script.quick_script");
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");

include("engines.wine.verbs.gdiplus");
include("utils.functions.net.download");

class GogScript extends QuickScript {
module.default = class GogScript extends QuickScript {
constructor() {
super();
}
11 changes: 6 additions & 5 deletions Engines/Wine/QuickScript/Installer Script/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
include("engines.wine.quick_script.quick_script");
include("engines.wine.engine.object");
include("utils.functions.filesystem.extract");
include("utils.functions.filesystem.files");
const QuickScript = include("engines.wine.quick_script.quick_script");
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 operatingSystemFetcher = Bean("operatingSystemFetcher");

class InstallerScript extends QuickScript {
module.default = class InstallerScript extends QuickScript {
constructor() {
super();
}
4 changes: 2 additions & 2 deletions Engines/Wine/QuickScript/Local Installer Script/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include("engines.wine.quick_script.installer_script");
const InstallerScript = include("engines.wine.quick_script.installer_script");

class LocalInstallerScript extends InstallerScript {
module.default = class LocalInstallerScript extends InstallerScript {
constructor() {
super();

7 changes: 4 additions & 3 deletions Engines/Wine/QuickScript/Online Installer Script/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.quick_script.installer_script");
include("utils.functions.net.download");
const InstallerScript = include("engines.wine.quick_script.installer_script");
const Downloader = include("utils.functions.net.download");
const {createTempFile} = include("utils.functions.filesystem.files");

class OnlineInstallerScript extends InstallerScript {
module.default = class OnlineInstallerScript extends InstallerScript {
constructor() {
super();

11 changes: 6 additions & 5 deletions Engines/Wine/QuickScript/Origin Script/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
include("engines.wine.quick_script.quick_script");
include("utils.functions.net.download");
include("engines.wine.engine.object");
include("utils.functions.filesystem.files");
const QuickScript = include("engines.wine.quick_script.quick_script");
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");

class OriginScript extends QuickScript {
module.default = class OriginScript extends QuickScript {
constructor() {
super();

5 changes: 3 additions & 2 deletions Engines/Wine/QuickScript/Quick Script/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.shortcuts.wine");
const {LATEST_STABLE_VERSION} = include("engines.wine.engine.versions");
const WineShortcut = include("engines.wine.shortcuts.wine");

class QuickScript {
module.default = class QuickScript {
constructor() {
this._wineVersion = LATEST_STABLE_VERSION;
this._wineArchitecture = "x86";
14 changes: 7 additions & 7 deletions Engines/Wine/QuickScript/Steam Script/script.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
include("engines.wine.quick_script.quick_script");
include("utils.functions.net.download");
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.filesystem.extract");
include("utils.functions.filesystem.files");
const QuickScript = include("engines.wine.quick_script.quick_script");
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");
include("engines.wine.plugins.override_dll");
include("engines.wine.plugins.windows_version");

class SteamScript extends QuickScript {
module.default = class SteamScript extends QuickScript {
constructor() {
super();

12 changes: 6 additions & 6 deletions Engines/Wine/QuickScript/Uplay Script/script.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
include("engines.wine.quick_script.quick_script");
include("utils.functions.net.download");
include("engines.wine.engine.object");
include("utils.functions.filesystem.extract");
include("utils.functions.filesystem.files");
const QuickScript = include("engines.wine.quick_script.quick_script");
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");
include("engines.wine.plugins.windows_version");

class UplayScript extends QuickScript {
module.default = class UplayScript extends QuickScript {
constructor() {
super();

11 changes: 6 additions & 5 deletions Engines/Wine/QuickScript/Zip Script/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
include("engines.wine.quick_script.quick_script");
include("utils.functions.net.download");
include("engines.wine.engine.object");
include("utils.functions.filesystem.extract");
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");

include("engines.wine.verbs.luna");

class ZipScript extends QuickScript {
module.default = class ZipScript extends QuickScript {
constructor() {
super();
}
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/DirectDraw renderer/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* setting to set the DirectDraw renderer
*/
// eslint-disable-next-line no-unused-vars
class DirectDrawRendererSetting {
module.default = class DirectDrawRendererSetting {
constructor() {
this.options = [tr("Default"), tr("GDI"), tr("OpenGL")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/Font smoothing/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");
include("engines.wine.plugins.font_smoothing");

/**
* Setting to set the Fonts Smoothing
*/
// eslint-disable-next-line no-unused-vars
class FontSmoothingSetting {
module.default = class FontSmoothingSetting {
constructor() {
this.options = [tr("Default"), tr("RGB"), tr("BGR"), tr("Gray Scale")];
}
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/GLSL/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to enable/disable GLSL
*/
// eslint-disable-next-line no-unused-vars
class GLSLSetting {
module.default = class GLSLSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("Enabled")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/UseTakeFocus/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");
include("engines.wine.plugins.usetakefocus");

/**
* Setting to enable/disable UseTakeFocus
*/
// eslint-disable-next-line no-unused-vars
class UseTakeFocusSetting {
module.default = class UseTakeFocusSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("Enabled")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/always offscreen/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* setting to set always offscreen
*/
// eslint-disable-next-line no-unused-vars
class AlwaysOffscreenSetting {
module.default = class AlwaysOffscreenSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("Enabled")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/hdpi/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.hdpi");

/**
* Setting to enable/disable Retina
*/
// eslint-disable-next-line no-unused-vars
class HDPISetting {
module.default = class HDPISetting {
constructor() {
this.options = [tr("Disabled"), tr("Enabled")];
}
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/mouse warp override/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to configure mouse warp override
*/
// eslint-disable-next-line no-unused-vars
class MouseWarpOverrideSetting {
module.default = class MouseWarpOverrideSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("Enabled"), tr("Force")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/multisampling/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to configure multisampling
*/
// eslint-disable-next-line no-unused-vars
class MultisamplingSetting {
module.default = class MultisamplingSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("Enabled")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/offscreen rendering mode/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to set the offscreen rendering mode
*/
// eslint-disable-next-line no-unused-vars
class OffscreenRenderingModeSetting {
module.default = class OffscreenRenderingModeSetting {
constructor() {
this.options = [tr("Default"), tr("FBO"), tr("Backbuffer")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/render target lock mode/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to set the render target lock mode
*/
// eslint-disable-next-line no-unused-vars
class RenderTargetModeLockSetting {
module.default = class RenderTargetModeLockSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("readdraw"), tr("readtext")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/strict draw ordering/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to configure strict draw ordering
*/
// eslint-disable-next-line no-unused-vars
class StrictDrawOrderingSetting {
module.default = class StrictDrawOrderingSetting {
constructor() {
this.options = [tr("Default"), tr("Disabled"), tr("Enabled")];
// values which are written into the registry, do not translate!
5 changes: 3 additions & 2 deletions Engines/Wine/Settings/video memory size/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Setting to set the video memory size
*/
// eslint-disable-next-line no-unused-vars
class VideoMemorySizeSetting {
module.default = class VideoMemorySizeSetting {
constructor() {
this.options = [tr("Default"), "64", "384", "1024", "4096", "7168"];
// values which are written into the registry, do not translate!
6 changes: 4 additions & 2 deletions Engines/Wine/Shortcuts/Reader/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const {WINE_PREFIX_DIR} = include("engines.wine.engine.constants");
const {remove} = include("utils.functions.filesystem.files");

class WineShortcutReader {
constructor(shortcut) {
@@ -63,7 +65,7 @@ class WineShortcutReader {
}
}

class ShortcutReader {
module.default = class ShortcutReader {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Shortcuts/Wine/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include("engines.wine.engine.object");
const {WINE_PREFIX_DIR} = include("engines.wine.engine.constants");

const ShortcutInfoDTOBuilderClass = Java.type("org.phoenicis.library.dto.ShortcutInfoDTO.Builder");
const ShortcutDTOBuilderClass = Java.type("org.phoenicis.library.dto.ShortcutDTO.Builder");
@@ -7,7 +7,7 @@ const ShortcutDTOBuilderClass = Java.type("org.phoenicis.library.dto.ShortcutDTO
* WineShortcut prototype
*/
// eslint-disable-next-line no-unused-vars
class WineShortcut {
module.default = class WineShortcut {
constructor() {
this._shortcutManager = Bean("shortcutManager");
this._appsManager = Bean("repositoryManager");
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Configure Wine/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to configure Wine
*/
// eslint-disable-next-line no-unused-vars
class ConfigureWineTool {
module.default = class ConfigureWineTool {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Kill Wine Processes/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to kill running Wine processes
*/
// eslint-disable-next-line no-unused-vars
class KillWineProcessesTool {
module.default = class KillWineProcessesTool {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Reboot Wine/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to reboot Wine
*/
// eslint-disable-next-line no-unused-vars
class RebootWineTool {
module.default = class RebootWineTool {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Repair Wine Prefix/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to repair a Wine prefix
*/
// eslint-disable-next-line no-unused-vars
class RepairWinePrefixTool {
module.default = class RepairWinePrefixTool {
constructor() {
// do nothing
}
5 changes: 3 additions & 2 deletions Engines/Wine/Tools/Wine Registry Editor/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.regedit");

/**
* Tool to open the Wine registry editor
*/
// eslint-disable-next-line no-unused-vars
class WineRegistryEditorTool {
module.default = class WineRegistryEditorTool {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Wine Task Manager/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to open the Wine task manager
*/
// eslint-disable-next-line no-unused-vars
class WineTaskManagerTool {
module.default = class WineTaskManagerTool {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Wine Terminal Opener/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to open a terminal in a Wine prefix
*/
// eslint-disable-next-line no-unused-vars
class WineTerminalOpenerTool {
module.default = class WineTerminalOpenerTool {
constructor() {
this.terminalOpener = Bean("terminalOpener");
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/Wine Uninstaller/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to uninstall Wine
*/
// eslint-disable-next-line no-unused-vars
class UninstallWineTool {
module.default = class UninstallWineTool {
constructor() {
// do nothing
}
4 changes: 2 additions & 2 deletions Engines/Wine/Tools/WineConsole/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

/**
* Tool to open a Wine console
*/
// eslint-disable-next-line no-unused-vars
class WineConsoleTool {
module.default = class WineConsoleTool {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/D9VK/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install D9VK
@@ -72,7 +74,7 @@ Wine.prototype.D9VK = function (d9vkVersion) {
* Verb to install D9VK
*/
// eslint-disable-next-line no-unused-vars
class D9VKVerb {
module.default = class D9VKVerb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/DXVK/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install DXVK
@@ -77,7 +79,7 @@ Wine.prototype.DXVK = function (dxvkVersion) {
* Verb to install DXVK
*/
// eslint-disable-next-line no-unused-vars
class DXVKVerb {
module.default = class DXVKVerb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/FAudio/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install FAudio
@@ -57,7 +59,7 @@ Wine.prototype.faudio = function (faudioVersion) {
* Verb to install FAudio
*/
// eslint-disable-next-line no-unused-vars
class FAudioVerb {
module.default = class FAudioVerb {
constructor() {
// do nothing
}
7 changes: 4 additions & 3 deletions Engines/Wine/Verbs/PhysX/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.verbs.luna");

/**
@@ -25,7 +26,7 @@ Wine.prototype.physx = function () {
* Verb to install Nvidia PhysX
*/
// eslint-disable-next-line no-unused-vars
class PhysXVerb {
module.default = class PhysXVerb {
constructor() {
// do nothing
}
6 changes: 3 additions & 3 deletions Engines/Wine/Verbs/QuickTime 7.6/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

/**
* Verb to install QuickTime 7.6
@@ -24,7 +24,7 @@ Wine.prototype.quicktime76 = function () {
* Verb to install QuickTime 7.6
*/
// eslint-disable-next-line no-unused-vars
class QuickTime76Verb {
module.default = class QuickTime76Verb {
constructor() {
// do nothing
}
7 changes: 4 additions & 3 deletions Engines/Wine/Verbs/Remove Mono/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include("engines.wine.engine.object");
include("utils.functions.filesystem.files");
const Wine = include("engines.wine.engine.object");
const {remove} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.regedit");

/**
@@ -31,7 +32,7 @@ Wine.prototype.removeMono = function () {
* Verb to remove mono
*/
// eslint-disable-next-line no-unused-vars
class RemoveMonoVerb {
module.default = class RemoveMonoVerb {
constructor() {
// do nothing
}
11 changes: 6 additions & 5 deletions Engines/Wine/Verbs/Tahoma/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.register_font");
include("utils.functions.net.resource");
include("engines.wine.verbs.luna");
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");

/**
* Verb to install the Tahoma font
@@ -38,7 +39,7 @@ Wine.prototype.tahoma = function () {
* Verb to install the Tahoma font
*/
// eslint-disable-next-line no-unused-vars
class TahomaVerb {
module.default = class TahomaVerb {
constructor() {
// do nothing
}
6 changes: 3 additions & 3 deletions Engines/Wine/Verbs/Uplay/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

/**
* Verb to install Uplay
@@ -23,7 +23,7 @@ Wine.prototype.uplay = function () {
* Verb to install Uplay
*/
// eslint-disable-next-line no-unused-vars
class UplayVerb {
module.default = class UplayVerb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/VK9/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install VK9
@@ -71,7 +73,7 @@ Wine.prototype.VK9 = function (vk9Version) {
* Verb to install VK9
*/
// eslint-disable-next-line no-unused-vars
class VK9Verb {
module.default = class VK9Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/Windows XP SP 3/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.engine.object");
include("utils.functions.filesystem.files");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");
const {remove, fileName} = include("utils.functions.filesystem.files");

/**
* Verb to install Windows XP Service Pack 3
@@ -45,7 +46,7 @@ Wine.prototype.sp3extract = function (fileToExtract) {
* Verb to install Windows XP Service Pack 3
*/
// eslint-disable-next-line no-unused-vars
class WindowsXPSP3Verb {
module.default = class WindowsXPSP3Verb {
constructor() {
// do nothing
}
7 changes: 4 additions & 3 deletions Engines/Wine/Verbs/adobeair/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.windows_version");
include("utils.functions.net.resource");

/**
* Verb to install adobeair
@@ -33,7 +34,7 @@ Wine.prototype.adobeair = function () {
* Verb to install adobeair
*/
// eslint-disable-next-line no-unused-vars
class AdobeAirVerb {
module.default = class AdobeAirVerb {
constructor() {
// do nothing
}
14 changes: 7 additions & 7 deletions Engines/Wine/Verbs/amstream/script.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.verbs.luna");
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");
include("engines.wine.plugins.regsvr32");

include("engines.wine.verbs.luna");

/**
* Verb to install amstream
@@ -60,7 +60,7 @@ Wine.prototype.amstream = function () {
* Verb to install amstream
*/
// eslint-disable-next-line no-unused-vars
class AmstreamVerb {
module.default = class AmstreamVerb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/atmlib/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
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");

/**
* Verb to install atmlib
@@ -36,7 +37,7 @@ Wine.prototype.atmlib = function () {
* Verb to install atmlib
*/
// eslint-disable-next-line no-unused-vars
class AtmlibVerb {
module.default = class AtmlibVerb {
constructor() {
// do nothing
}
8 changes: 5 additions & 3 deletions Engines/Wine/Verbs/corefonts/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");

include("engines.wine.plugins.register_font");
include("utils.functions.net.resource");
include("engines.wine.verbs.luna");

/**
@@ -140,7 +142,7 @@ Wine.prototype.corefonts = function () {
* Verb to install corefonts
*/
// eslint-disable-next-line no-unused-vars
class CorefontsVerb {
module.default = class CorefontsVerb {
constructor() {
// do nothing
}
5 changes: 3 additions & 2 deletions Engines/Wine/Verbs/crypt32/script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");

include("engines.wine.plugins.override_dll");
include("engines.wine.verbs.sp3extract");

@@ -20,7 +21,7 @@ Wine.prototype.crypt32 = function () {
* Verb to install crypt32
*/
// eslint-disable-next-line no-unused-vars
class Crypt32Verb {
module.default = class Crypt32Verb {
constructor() {
// do nothing
}
10 changes: 5 additions & 5 deletions Engines/Wine/Verbs/d3drm/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.verbs.luna");
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");

/**
* Verb to install d3drm
@@ -41,7 +41,7 @@ Wine.prototype.d3drm = function () {
* Verb to install d3drm
*/
// eslint-disable-next-line no-unused-vars
class D3drmVerb {
module.default = class D3drmVerb {
constructor() {
// do nothing
}
8 changes: 5 additions & 3 deletions Engines/Wine/Verbs/d3dx10/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");

/**
* Verb to install D3DX10
@@ -79,7 +81,7 @@ Wine.prototype.d3dx10 = function () {
* Verb to install D3DX10
*/
// eslint-disable-next-line no-unused-vars
class D3DX10Verb {
module.default = class D3DX10Verb {
constructor() {
// do nothing
}
8 changes: 5 additions & 3 deletions Engines/Wine/Verbs/d3dx11/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");

/**
* Verb to install D3DX11
@@ -66,7 +68,7 @@ Wine.prototype.d3dx11 = function () {
* Verb to install D3DX11
*/
// eslint-disable-next-line no-unused-vars
class D3DX11Verb {
module.default = class D3DX11Verb {
constructor() {
// do nothing
}
8 changes: 5 additions & 3 deletions Engines/Wine/Verbs/d3dx9/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");

/**
* Verb to install D3DX9
@@ -86,7 +88,7 @@ Wine.prototype.d3dx9 = function () {
* Verb to install D3DX9
*/
// eslint-disable-next-line no-unused-vars
class D3DX9Verb {
module.default = class D3DX9Verb {
constructor() {
// do nothing
}
16 changes: 10 additions & 6 deletions Engines/Wine/Verbs/devenum/script.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {CabExtract} = include("utils.functions.filesystem.extract");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.verbs.luna");
include("utils.functions.filesystem.files");
include("utils.functions.filesystem.extract");
include("engines.wine.plugins.regsvr32");
include("engines.wine.verbs.luna");

/**
* Verb to install devenum
@@ -18,15 +18,19 @@ Wine.prototype.devenum = function () {
.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"])
@@ -39,7 +43,7 @@ Wine.prototype.devenum = function () {
* Verb to install devenum
*/
// eslint-disable-next-line no-unused-vars
class DevenumVerb {
module.default = class DevenumVerb {
constructor() {
// do nothing
}
7 changes: 4 additions & 3 deletions Engines/Wine/Verbs/dotnet20/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {remove} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");

15 changes: 7 additions & 8 deletions Engines/Wine/Verbs/dotnet20sp2/script.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {remove} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");


include("engines.wine.verbs.remove_mono");

/**
* Verb to install .NET 2.0 SP2
@@ -38,7 +37,6 @@ Wine.prototype.dotnet20sp2 = function () {
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");
@@ -59,14 +57,15 @@ Wine.prototype.dotnet20sp2 = function () {
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;
};

/**
* Verb to install dotnet20sp2
*/
// eslint-disable-next-line no-unused-vars
class Dotnet20SP2Verb {
module.default = class Dotnet20SP2Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet40/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");


/**
@@ -65,7 +66,7 @@ Wine.prototype.dotnet40 = function () {
* Verb to install .NET 4.0
*/
// eslint-disable-next-line no-unused-vars
class Dotnet40Verb {
module.default = class Dotnet40Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet45/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");
include("engines.wine.verbs.dotnet40");

/**
@@ -56,7 +57,7 @@ Wine.prototype.dotnet45 = function () {
* Verb to install .NET 4.5
*/
// eslint-disable-next-line no-unused-vars
class Dotnet45Verb {
module.default = class Dotnet45Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet452/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");
include("engines.wine.verbs.dotnet40");


@@ -56,7 +57,7 @@ Wine.prototype.dotnet452 = function () {
* Verb to install .NET 4.5.2
*/
// eslint-disable-next-line no-unused-vars
class Dotnet452Verb {
module.default = class Dotnet452Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet46/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");
include("engines.wine.verbs.dotnet45");

/**
@@ -51,7 +52,7 @@ Wine.prototype.dotnet46 = function () {
* Verb to install .NET 4.6
*/
// eslint-disable-next-line no-unused-vars
class Dotnet46Verb {
module.default = class Dotnet46Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet461/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");
include("engines.wine.verbs.dotnet46");


@@ -52,7 +53,7 @@ Wine.prototype.dotnet461 = function () {
* Verb to install .NET 4.6.1
*/
// eslint-disable-next-line no-unused-vars
class Dotnet461Verb {
module.default = class Dotnet461Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet462/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");
include("engines.wine.verbs.dotnet461");


@@ -52,7 +53,7 @@ Wine.prototype.dotnet462 = function () {
* Verb to install .NET 4.6.2
*/
// eslint-disable-next-line no-unused-vars
class Dotnet462Verb {
module.default = class Dotnet462Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/dotnet472/script.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("engines.wine.plugins.windows_version");
include("engines.wine.verbs.remove_mono");
include("engines.wine.plugins.regedit");
include("engines.wine.verbs.remove_mono");
include("engines.wine.verbs.dotnet462");


@@ -52,7 +53,7 @@ Wine.prototype.dotnet472 = function () {
* Verb to install .NET 4.7.2
*/
// eslint-disable-next-line no-unused-vars
class Dotnet472Verb {
module.default = class Dotnet472Verb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/gallium9/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install Gallium 9 Standalone
@@ -78,7 +80,7 @@ Wine.prototype.gallium9 = function (gallium9Version) {
* Verb to install Gallium 9 Standalone
*/
// eslint-disable-next-line no-unused-vars
class Gallium9Verb {
module.default = class Gallium9Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/gdiplus/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {cp} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.override_dll");

/**
@@ -32,7 +33,7 @@ Wine.prototype.gdiplus = function () {
* Verb to install gdiplus
*/
// eslint-disable-next-line no-unused-vars
class GdiplusVerb {
module.default = class GdiplusVerb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/luna/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {mkdir, cp} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.regedit");
include("utils.functions.filesystem.files");
include("utils.functions.net.resource");

/**
* Verb to install luna
@@ -26,6 +27,7 @@ Wine.prototype.luna = function () {

mkdir(this.prefixDirectory() + "/drive_c/windows/Resources/Themes/luna/");
cp(lunaStyle, this.prefixDirectory() + "/drive_c/windows/Resources/Themes/luna/");

this.regedit().open(lunaReg);

return this;
@@ -35,7 +37,7 @@ Wine.prototype.luna = function () {
* Verb to install luna
*/
// eslint-disable-next-line no-unused-vars
class LunaVerb {
module.default = class LunaVerb {
constructor() {
// do nothing
}
9 changes: 6 additions & 3 deletions Engines/Wine/Verbs/mfc42/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");

/**
* Verb to install mfc42.dll and mfc42u.dll
@@ -41,7 +44,7 @@ Wine.prototype.mfc42 = function () {
* Verb to install mfc42.dll and mfc42u.dll
*/
// eslint-disable-next-line no-unused-vars
class Mfc42Verb {
module.default = class Mfc42Verb {
constructor() {
// do nothing
}
8 changes: 5 additions & 3 deletions Engines/Wine/Verbs/msls31/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
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");

/**
* Verb to install msls31.dll
@@ -29,7 +31,7 @@ Wine.prototype.msls31 = function () {
* Verb to install msls31.dll
*/
// eslint-disable-next-line no-unused-vars
class Msls31Verb {
module.default = class Msls31Verb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/mspatcha/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install mspatcha
@@ -44,7 +46,7 @@ Wine.prototype.mspatcha = function () {
* Verb to install mspatcha
*/
// eslint-disable-next-line no-unused-vars
class MspatchaVerb {
module.default = class MspatchaVerb {
constructor() {
// do nothing
}
13 changes: 7 additions & 6 deletions Engines/Wine/Verbs/msxml3/script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {remove} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.override_dll");

/**
* Verb to install msxml3
@@ -17,7 +17,8 @@ Wine.prototype.msxml3 = function () {
.name("msxml3.msi")
.get();

remove(this.system32directory() + "/msxml3.dll")
remove(this.system32directory() + "/msxml3.dll");

this.overrideDLL()
.set("native", ["msxml3"])
.do();
@@ -32,7 +33,7 @@ Wine.prototype.msxml3 = function () {
* Verb to install msxml3
*/
// eslint-disable-next-line no-unused-vars
class Msxml3Verb {
module.default = class Msxml3Verb {
constructor() {
// do nothing
}
12 changes: 7 additions & 5 deletions Engines/Wine/Verbs/msxml6/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");
const {remove} = include("utils.functions.filesystem.files");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install msxml6
@@ -25,7 +26,8 @@ Wine.prototype.msxml6 = function () {
.get();
}

remove(this.system32directory() + "/msxml6.dll")
remove(this.system32directory() + "/msxml6.dll");

this.overrideDLL()
.set("native,builtin", ["msxml6"])
.do();
@@ -46,7 +48,7 @@ Wine.prototype.msxml6 = function () {
* Verb to install msxml6
*/
// eslint-disable-next-line no-unused-vars
class Msxml6Verb {
module.default = class Msxml6Verb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/quartz/script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("engines.wine.plugins.regsvr32");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install quartz
@@ -44,7 +46,7 @@ Wine.prototype.quartz = function () {
* Verb to install quartz
*/
// eslint-disable-next-line no-unused-vars
class QuartzVerb {
module.default = class QuartzVerb {
constructor() {
// do nothing
}
6 changes: 3 additions & 3 deletions Engines/Wine/Verbs/sandbox/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const {remove, lns} = include("utils.functions.filesystem.files");

/**
* Verb to install a sandbox
@@ -23,7 +23,7 @@ Wine.prototype.sandbox = function () {
* Verb to install a sandbox
*/
// eslint-disable-next-line no-unused-vars
class SandboxVerb {
module.default = class SandboxVerb {
constructor() {
// do nothing
}
10 changes: 6 additions & 4 deletions Engines/Wine/Verbs/secur32/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
include("engines.wine.engine.object");
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");

include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");

/**
* Verb to install secur32
@@ -56,7 +58,7 @@ Wine.prototype.secur32 = function () {
* Verb to install secur32
*/
// eslint-disable-next-line no-unused-vars
class Secur32Verb {
module.default = class Secur32Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/vcrun2003/script.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include("engines.wine.engine.object");
include("utils.functions.net.resource");
include("utils.functions.filesystem.files");
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");

/**
@@ -36,7 +37,7 @@ Wine.prototype.vcrun2003 = function () {
* Verb to install vcrun2003
*/
// eslint-disable-next-line no-unused-vars
class Vcrun2003Verb {
module.default = class Vcrun2003Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/vcrun2005/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.verbs.luna");
include("engines.wine.plugins.override_dll");

/**
* Verb to install vcrun2005
@@ -36,7 +37,7 @@ Wine.prototype.vcrun2005 = function () {
* Verb to install vcrun2005
*/
// eslint-disable-next-line no-unused-vars
class Vcrun2005Verb {
module.default = class Vcrun2005Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/vcrun2008/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.verbs.luna");
include("engines.wine.plugins.override_dll");

/**
* Verb to install vcrun2008
@@ -49,7 +50,7 @@ Wine.prototype.vcrun2008 = function () {
* Verb to install vcrun2008
*/
// eslint-disable-next-line no-unused-vars
class Vcrun2008Verb {
module.default = class Vcrun2008Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/vcrun2010/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.verbs.luna");
include("engines.wine.plugins.override_dll");

/**
* Verb to install vcrun2010
@@ -48,7 +49,7 @@ Wine.prototype.vcrun2010 = function () {
* Verb to install vcrun2010
*/
// eslint-disable-next-line no-unused-vars
class Vcrun2010Verb {
module.default = class Vcrun2010Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/vcrun2012/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.verbs.luna");
include("engines.wine.plugins.override_dll");

/**
* Verb to install vcrun2012
@@ -48,7 +49,7 @@ Wine.prototype.vcrun2012 = function () {
* Verb to install vcrun2012
*/
// eslint-disable-next-line no-unused-vars
class Vcrun2012Verb {
module.default = class Vcrun2012Verb {
constructor() {
// do nothing
}
9 changes: 5 additions & 4 deletions Engines/Wine/Verbs/vcrun2013/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
include("engines.wine.engine.object");
include("engines.wine.plugins.override_dll");
include("utils.functions.net.resource");
const Wine = include("engines.wine.engine.object");
const Resource = include("utils.functions.net.resource");

include("engines.wine.verbs.luna");
include("engines.wine.plugins.override_dll");

/**
* Verb to install vcrun2013
@@ -42,7 +43,7 @@ Wine.prototype.vcrun2013 = function () {
* Verb to install vcrun2013
*/
// eslint-disable-next-line no-unused-vars
class Vcrun2013Verb {
module.default = class Vcrun2013Verb {
constructor() {
// do nothing
}
Loading