Skip to content
Merged
Show file tree
Hide file tree
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
35 changes: 35 additions & 0 deletions Applications/Games/GOG Galaxy/Online/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
include(["engines", "wine", "quick_script", "online_installer_script"]);
include(["engines", "wine", "verbs", "corefonts"]);
include(["engines", "wine", "verbs", "vcrun2017"]);
include(["engines", "wine", "verbs", "xact"]);

var installerImplementation = {
run: function () {
new OnlineInstallerScript()
.name("GOG Galaxy")
.category("Games")
.editor("GOG.com")
.applicationHomepage("https://www.gog.com/")
.author("Markus Ebner")
.url("https://content-system.gog.com/open_link/download?path=/open/galaxy/client/setup_galaxy_1.2.51.30.exe")
.checksum("faa29721de18a171561a3e4dfa243953ff98aa09")
.executable("GalaxyClient.exe")
.wineArchitecture("amd64")
.wineVersion(LATEST_STAGING_VERSION)
.wineDistribution("staging")
.preInstall(function (wine/*, wizard*/) {
wine.corefonts();
wine.vcrun2017(); // Probably needed for self-updater
wine.xact(); // Required by a couple of games

// GOG Galaxy doesn't properly install without a symlink between
// drive_c/ProgramData and drive_c/users/Public
remove(wine.prefixDirectory() + "/drive_c/users/Public");
lns(wine.prefixDirectory() + "/drive_c/ProgramData", wine.prefixDirectory() + "/drive_c/users/Public");
})
.go();
}
};

/* exported Installer */
var Installer = Java.extend(org.phoenicis.scripts.Installer, installerImplementation);
11 changes: 11 additions & 0 deletions Applications/Games/GOG Galaxy/Online/script.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"scriptName" : "Online",
"id" : "online",
"compatibleOperatingSystems" : [
"MACOSX",
"LINUX"
],
"testingOperatingSystems" : [],
"free" : true,
"requiresPatch" : false
}
5 changes: 5 additions & 0 deletions Applications/Games/GOG Galaxy/application.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name" : "GOG Galaxy",
"id" : "gog_galaxy",
"description" : "GOG GALAXY is a fully optional Steam-like client for GOG.com to install, play and update your games. It also offers online multiplayer, achievements, chat, game-time tracking and more - but it’s up to you which features you want to use."
}
Binary file added Applications/Games/GOG Galaxy/miniatures/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.