More environment handling to ensure reliability across distros

This commit is contained in:
Ken VanDine
2025-02-14 18:14:06 -05:00
committed by Mitchell Hashimoto
parent 2adee4290a
commit d3623393a6
2 changed files with 11 additions and 1 deletions

View File

@@ -744,6 +744,9 @@ const Subprocess = struct {
env.remove("LIBVA_DRIVERS_PATH");
env.remove("VK_LAYER_PATH");
env.remove("XLOCALEDIR");
env.remove("GDK_PIXBUF_MODULEDIR");
env.remove("GDK_PIXBUF_MODULE_FILE");
env.remove("GTK_PATH");
}
// Set our TERM var. This is a bit complicated because we want to use