fix(linux): fix KWin script startup crash and embed type-2 ELF runtime in AppImage

This commit is contained in:
2026-10-02 17:25:29 +03:00
parent 08fa97da8f
commit f0107dbef8
4 changed files with 23 additions and 13 deletions
+2 -3
View File
@@ -126,9 +126,8 @@ workspace.windowActivated.connect(reportFocus);
// Report whatever is already focused, so the daemon starts with a correct state
// instead of waiting for the user to alt-tab.
for (var i = 0; i < workspace.windowList().length; i++) {
var w = workspace.windowList()[i];
if (w.active) { reportFocus(w); break; }
if (workspace.activeWindow) {
reportFocus(workspace.activeWindow);
}
"#;