-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add: GOG-Galaxy #241
base: master
Are you sure you want to change the base?
Add: GOG-Galaxy #241
Changes from all commits
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"version": "2.0.25.2", | ||
"description": "Connect GOG GALAXY 2.0 with multiple platforms and unite all your games and friends scattered across them in one powerful app (A game platform designed to connect all game platforms).", | ||
"homepage": "https://www.gog.com/galaxy", | ||
"license": { | ||
"identifier": "Proprietary", | ||
"url": "https://support.gog.com/hc/en-us/articles/212632089-User-Agreement" | ||
}, | ||
"depends": "innounp", | ||
"url": "https://content-system.gog.com/open_link/download?path=/open/galaxy/client/setup_galaxy_2.0.25.2.exe", | ||
"hash": "md5:d09244d6ccb563da59ffd83767b50b2b", | ||
"installer": { | ||
"script": [ | ||
"$file = \"$dir\\$fname\"", | ||
"Expand-InnoArchive -Path $file -ExtractDir '{%ALLUSERSPROFILE}' -DestinationPath $env:ALLUSERSPROFILE", | ||
"Expand-InnoArchive -Path $file -Removal", | ||
"if ( !(Test-Path $dir\\Games) ) { New-Item -Type Directory -Path $dir\\Games }" | ||
] | ||
}, | ||
"uninstaller": { | ||
"script": "Write-Host \"`nNote:`n------`nYou need to delete `$env:ALLUSERSPROFILE\\GOG.com yourself.`n\"" | ||
}, | ||
Comment on lines
+20
to
+22
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. Same. 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. In this section, uninstall, I mean. |
||
"persist": "Games", | ||
"bin": "GalaxyClient.exe", | ||
"shortcuts": [ | ||
[ | ||
"GalaxyClient.exe", | ||
"GOG Galaxy" | ||
] | ||
], | ||
"notes": "You can use <https://github.com/Mixaill/awesome-gog-galaxy> search plugins to connect to other platforms.", | ||
"checkver": { | ||
"url": "https://remote-config.gog.com/components/webinstaller?component_version=2.0.0", | ||
"jsonpath": "$.content.windows.version" | ||
}, | ||
"autoupdate": { | ||
"url": "https://content-system.gog.com/open_link/download?path=/open/galaxy/client/setup_galaxy_$version.exe", | ||
"hash": { | ||
"url": "https://remote-config.gog.com/components/webinstaller?component_version=2.0.0", | ||
"jsonpath": "$.content.windows.installerMd5" | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this? Since it does not satisfy the concept of the bucket
All apps in this repository should NOT require elevated privileges while installation.
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This instruction did not cause elevated privileges, actually, at least there's no pop-up window for elevated privileges.
There are four directories after unpacking with innounp:
{%ALLUSERSPROFILE}
,{app}
,{fonts}
,{tmp}
.Where
{%ALLUSERSPROFILE}
is designed to be under the$env:ALLUSERSPROFILE
path (C:\ProgramData
)If the path is not organized in this way, the program will report an error:
Essential components needed to start GOG Galaxy are missing or incorrectly configured. if this continues, please reinstall the application.
I didn't find a solution, I think that's how they write the program.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C:\ProgramData
requires the Administrators role to write, you'll not see UAC if you're the Administrator.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To check current user whether is Administrator or not:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, I'm the administrator.
So what should we do? GOG will read components in
$env:ALLUSERSPROFILE
, the program cannot accept a parameter to change this behavior.