From 70ed5584541e4fe2161428d1983ce12e77978291 Mon Sep 17 00:00:00 2001 From: Aylur Date: Mon, 6 Jan 2025 00:37:31 +0100 Subject: fix(gjs): app.launch --- lang/gjs/src/gtk4/app.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/gjs/src/gtk4/app.ts b/lang/gjs/src/gtk4/app.ts index 7906993..ab257eb 100644 --- a/lang/gjs/src/gtk4/app.ts +++ b/lang/gjs/src/gtk4/app.ts @@ -4,6 +4,10 @@ import { mkApp } from "../_app" Gtk.init() +// stop this from leaking into subprocesses +// and gio launch invocations +GLib.unsetenv("LD_PRELOAD") + // users might want to use Adwaita in which case it has to be initialized // it might be common pitfall to forget it because `App` is not `Adw.Application` await import("gi://Adw?version=1") -- cgit v1.2.3