[gnome-games/wip/exalm/steam] steam: Use /.local/share/Steam as install dir
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/steam] steam: Use /.local/share/Steam as install dir
- Date: Sun, 3 Feb 2019 12:47:17 +0000 (UTC)
commit 5f59a1d14799fbcc1fbeb76308f3768dbcba256a
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Feb 3 17:45:41 2019 +0500
steam: Use /.local/share/Steam as install dir
In some cases, symlinks in /.steam can be broken in Flatpak, leading to no
games being detected. /.local/share/Steam seems to be more reliable.
plugins/steam/src/steam-uri-source.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/steam/src/steam-uri-source.vala b/plugins/steam/src/steam-uri-source.vala
index b5e8bc23..a64cdabc 100644
--- a/plugins/steam/src/steam-uri-source.vala
+++ b/plugins/steam/src/steam-uri-source.vala
@@ -6,7 +6,7 @@ private class Games.SteamUriSource : Object, UriSource {
// From the home directory.
private const string REGISTRY_PATH = "/.steam/registry.vdf";
// From the home directory.
- private const string DEFAULT_INSTALL_DIR_SYMLINK = "/.steam/steam";
+ private const string DEFAULT_INSTALL_DIR = "/.local/share/Steam";
// From an install directory.
private const string[] STEAMAPPS_DIRS = { "/SteamApps", "/steamapps" };
// From the default SteamApp directory.
@@ -32,7 +32,7 @@ private class Games.SteamUriSource : Object, UriSource {
if (FileUtils.test (base_dir + STEAM_DIR, FileTest.IS_SYMLINK))
return;
- add_library (base_dir + DEFAULT_INSTALL_DIR_SYMLINK);
+ add_library (base_dir + DEFAULT_INSTALL_DIR);
if (install_path == null)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]