Fix: XDG_DATA_DIRS now expands correctly

Previously the environmental variable would become literally 
*:$XDG_DATA_DIRS
Now the variable is expanded correctly
This commit is contained in:
GregorVal
2026-05-17 14:46:26 +02:00
committed by GitHub
parent c0706258b1
commit d4e777911e
+2 -1
View File
@@ -4,7 +4,8 @@ local home_dir = os.getenv("HOME")
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto") hl.env("ELECTRON_OZONE_PLATFORM_HINT", "auto")
-- Applications -- Applications
hl.env("XDG_DATA_DIRS", home_dir .. "/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:$XDG_DATA_DIRS") local xdg_data_dirs_old = os.getenv("XDG_DATA_DIRS") or ""
hl.env("XDG_DATA_DIRS", home_dir .. "/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:" .. xdg_data_dirs_old)
-- Themes -- Themes
hl.env("QT_QPA_PLATFORM", "wayland;xcb") hl.env("QT_QPA_PLATFORM", "wayland;xcb")