diff options
Diffstat (limited to 'pie-noxdg.patch')
-rw-r--r-- | pie-noxdg.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pie-noxdg.patch b/pie-noxdg.patch index d1ac324..896ab51 100644 --- a/pie-noxdg.patch +++ b/pie-noxdg.patch @@ -12,3 +12,17 @@ diff -up ./vendor/composer/composer/src/Composer/Factory.php.noxdg ./vendor/comp foreach (array_keys($_SERVER) as $key) { if (strpos((string) $key, 'XDG_') === 0) { return true; +diff -up ./src/Platform.php.old ./src/Platform.php +--- ./src/Platform.php.old 2024-12-24 10:01:31.088992537 +0100 ++++ ./src/Platform.php 2024-12-24 10:01:36.394197932 +0100 +@@ -23,6 +23,10 @@ class Platform + { + private static function useXdg(): bool + { ++ // As XDG is very partially implemented ++ // resulting in command/code in ~/.config ++ return false; ++ + foreach (array_keys($_SERVER) as $key) { + /** @psalm-suppress RedundantCastGivenDocblockType */ + if (strpos((string) $key, 'XDG_') === 0) { |