Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Games/Age of Empires II HD/Steam/script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
include(["Functions", "QuickScript", "SteamScript"]);
include(["Functions", "Filesystem", "Files"]);

new SteamScript()
.name("Age of Empires II HD")
.editor("Skybox Labs, Hidden Path Entertainment, Ensemble Studios")
.author("Plata")
.appId(221380)
.postInstall(function(wine, wizard) {
// skip broken launcher by replacing it with "AoK HD.exe"
var installPath = wine.prefixDirectory + "drive_c/" + wine.programFiles() + "/Steam/steamapps/common/Age2HD/";
var launcher = installPath + "Launcher.exe";
cp(launcher, launcher + ".bak");
remove(launcher);
var aoe = installPath + "AoK HD.exe";
lns(aoe, launcher);
})
.go();