From afa0fb0a714fc3cab8079c041b0fc5e1fb466db3 Mon Sep 17 00:00:00 2001 From: "Hrand.Liu" Date: Tue, 15 Dec 2020 20:44:38 +0800 Subject: [PATCH] add: gog-galaxy.json --- bucket/gog-galaxy.json | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bucket/gog-galaxy.json diff --git a/bucket/gog-galaxy.json b/bucket/gog-galaxy.json new file mode 100644 index 00000000000..50be35392c8 --- /dev/null +++ b/bucket/gog-galaxy.json @@ -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\"" + }, + "persist": "Games", + "bin": "GalaxyClient.exe", + "shortcuts": [ + [ + "GalaxyClient.exe", + "GOG Galaxy" + ] + ], + "notes": "You can use 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" + } + } +}