-
Notifications
You must be signed in to change notification settings - Fork 45
Update SteamScript (fix Steam browser and Uplay rendering issues) #979
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
Changes from all commits
fdd5067
5f8cf90
9ac4f73
fb996d2
b81bb19
0cc166c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,8 @@ include("engines.wine.plugins.override_dll"); | |
| include("utils.functions.filesystem.extract"); | ||
| include("utils.functions.filesystem.files"); | ||
| include("engines.wine.verbs.luna"); | ||
| include("engines.wine.verbs.corefonts"); | ||
| include("engines.wine.plugins.windows_version"); | ||
|
|
||
|
|
||
| function SteamScript() { | ||
|
|
@@ -116,11 +118,20 @@ SteamScript.prototype.go = function () { | |
| .wizard(setupWizard) | ||
| .prefix(this._name, this._wineDistribution, this._wineArchitecture, this._wineVersion) | ||
| .luna(); | ||
| wine.corefonts(); | ||
|
|
||
| // Steam must be started once such that config.vdf is created (see fixCertificateIssue()) | ||
| setupWizard.wait(tr("Please follow the steps of the Steam setup. Then, wait until Steam is updated, log in and finally close Steam completely so the installation of \"{0}\" can continue.", this._name)); | ||
| wine.run(tempFile, [], null, false, true); | ||
|
|
||
| // Set windows environment for executable that needs it | ||
| wine.setOsForApplication().set("steam.exe", "winxp").do(); | ||
| wine.setOsForApplication().set("steamwebhelper.exe", "winxp").do(); | ||
|
|
||
| // Fix for Uplay games that are executed on steam | ||
| wine.setOsForApplication().set("upc.exe", "winvista").do(); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @plata Should we set it here ? It is a simple way to do IMHO ^^.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ImperatorS79 how else you want to do it assuming that we are not using quick uplay nor uplay script in quick steam script
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could chose it is not the responsibility of SteamScript to handle it and for any Steamapps using Uplay you had to set it in the .preInstall. But I think your solution is clean.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ImperatorS79 I'm for sanitization your suggestion is better, proceed.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It shouldn't hurt. I'm not sure about the "steamwebhelper.exe". Does this really work still?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Works on my system (tm) |
||
| wine.setOsForApplication().set("UbisoftGameLauncher.exe", "winvista").do(); | ||
|
|
||
| // ensure that Steam is running (user might have unchecked "run Steam after installation finished") | ||
| wine.runInsidePrefix(wine.programFiles() + "/Steam/Steam.exe", ["steam://nav/games"], false); | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.