Flatpak-related fixes
Compare changes
Files
3- Simon McVittie authored
Because we were testing for a prefix match with a trailing slash, when FlatpakExports exports /home/me, we would not rewrite it to /home/me/.var/app/com.valvesoftware.Steam. Instead of adding the necessary special cases, use a slightly refactored version of flatpak_has_path_prefix(), which already does what we need. Signed-off-by:
Simon McVittie <smcv@collabora.com>
+ 97
− 100
@@ -206,35 +206,26 @@ check_bwrap (const char *tools_dir,
@@ -243,25 +234,24 @@ check_flatpak_spawn (void)
@@ -723,7 +713,6 @@ static char *opt_steam_app_id = NULL;
@@ -1021,9 +1010,6 @@ static GOptionEntry options[] =
@@ -1231,7 +1217,7 @@ main (int argc,
@@ -1255,6 +1241,7 @@ main (int argc,
@@ -1625,76 +1612,33 @@ main (int argc,
@@ -2090,8 +2034,9 @@ main (int argc,
@@ -2194,6 +2139,49 @@ main (int argc,
@@ -2254,6 +2242,13 @@ main (int argc,
@@ -2325,24 +2320,26 @@ main (int argc,