-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathscript.js
More file actions
26 lines (23 loc) · 1.06 KB
/
script.js
File metadata and controls
26 lines (23 loc) · 1.06 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
include(["engines", "wine", "quick_script", "local_installer_script"]);
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) {
wine.d3dx9();
})
.postInstall(function (wine, wizard) {
new Downloader()
.wizard(wizard)
.url("http://static.dolimg.com/mh_netstorage/lucasfilm/patches/pc/EAW_RAM_MPLobby_update.exe")
.checksum("63233107fab4c58413df04ce1d07fe65e7145329")
.to(wine.prefixDirectory + "drive_c/users/Public/Documents/EAW_RAM_MPLobby_update.exe")
.get();
wine.runInsidePrefix("/users/Public/Documents/EAW_RAM_MPLobby_update.exe");
})
.go();