From 10e95d70a45e3dbf76af81155fdc0ce600ec8c21 Mon Sep 17 00:00:00 2001 From: Aylur Date: Thu, 2 Nov 2023 00:51:10 +0100 Subject: [PATCH] fix: Applications.App.executable not returning full exec string --- src/service/applications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/applications.ts b/src/service/applications.ts index 78904b5..be830bb 100644 --- a/src/service/applications.ts +++ b/src/service/applications.ts @@ -34,7 +34,7 @@ class Application extends Service { get desktop() { return this._app.get_id(); } get description() { return this._app.get_description(); } get wm_class() { return this._app.get_startup_wm_class(); } - get executable() { return this._app.get_executable(); } + get executable() { return this._app.get_string('Exec') || this._app.get_executable(); } get icon_name() { return this._app.get_string('Icon'); } constructor(app: Gio.DesktopAppInfo, frequency?: number) {