Skip to content

Commit 3622d13

Browse files
KreyrenImperatorS79
authored andcommitted
Update Steam: fix not working browser (#962)
1 parent 26bda82 commit 3622d13

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Applications/Games/Steam/Online/script.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
include("engines.wine.quick_script.online_installer_script");
2+
include("engines.wine.verbs.corefonts");
3+
include("engines.wine.plugins.windows_version");
24

35
var installerImplementation = {
46
run: function () {
@@ -10,6 +12,13 @@ var installerImplementation = {
1012
.url("https://steamcdn-a.akamaihd.net/client/installer/SteamSetup.exe")
1113
.checksum("4b1b85ec2499a4ce07c89609b256923a4fc479e5")
1214
.category("Games")
15+
.wineVersion(LATEST_STAGING_VERSION)
16+
.wineDistribution("staging")
17+
.preInstall(function (wine/*, wizard*/) {
18+
wine.setOsForApplication().set("steam.exe", "winxp").do();
19+
wine.setOsForApplication().set("steamwebhelper.exe", "winxp").do();
20+
wine.corefonts();
21+
})
1322
.executable("Steam.exe", ["-no-cef-sandbox"])
1423
.go();
1524
}

0 commit comments

Comments
 (0)