-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathscript.js
More file actions
37 lines (34 loc) · 1.31 KB
/
script.js
File metadata and controls
37 lines (34 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
include("engines.wine.quick_script.local_installer_script");
include("engines.wine.verbs.vcrun6sp6");
include("engines.wine.verbs.mfc42");
include("engines.wine.verbs.dotnet20sp2");
include("utils.functions.net.download");
include("utils.functions.filesystem.files");
var installerImplementation = {
run: function () {
new LocalInstallerScript()
.name("The Sims 4")
.editor("Electronic Arts")
.applicationHomepage("https://www.ea.com/games/the-sims/the-sims-4/pc")
.author("ZemoScripter")
.category("Games")
.executable("TS4_x64.exe")
.wineArchitecture("amd64")
.wineVersion(4.7)
.wineDistribution("staging")
.preInstall(function(wine, wizard) {
new Downloader()
.wizard(wizard)
.url("http://www.dll-found.com/dll-8d/u/unarc.dll")
.checksum("5faa19aa1629e401915001a3392e3d916be38578")
.to(wine.system32directory() + "/unarc.dll")
.get();
wine.dotnet20sp2();
wine.vcrun6sp6();
wine.mfc42();
})
.go();
}
};
/* exported Installer */
var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation);