Fix flatpak apps not launching

This commit is contained in:
PassiveLemon 2024-12-02 22:44:13 -05:00
parent 3b493c54a0
commit 9d6843ee55
1 changed files with 2 additions and 1 deletions

View File

@ -593,7 +593,8 @@ local function generate_apps(self)
if app.should_show(app) then if app.should_show(app) then
local name = app_info.get_name(app) local name = app_info.get_name(app)
local commandline = app_info.get_commandline(app) local commandline = app_info.get_commandline(app)
local executable = app_info.get_executable(app) local executable = app:get_string("Exec")
executable = executable:match("^(.-)%%") or executable
local icon = icon_theme:get_gicon_path(app_info.get_icon(app)) local icon = icon_theme:get_gicon_path(app_info.get_icon(app))
-- Check if this app should be skipped, depanding on the skip_names / skip_commands table -- Check if this app should be skipped, depanding on the skip_names / skip_commands table