Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qjclaw-dmg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AI-甘富林
qjclaw-dmg
Commits
2c7fc20a
Commit
2c7fc20a
authored
Apr 21, 2026
by
AI-甘富林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(desktop): fix single-instance window restore and focus behavior
parent
ac1146f1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
386 additions
and
16 deletions
+386
-16
index.ts
apps/desktop/src/main/index.ts
+380
-15
workspace-startup.ts
apps/desktop/src/main/workspace-startup.ts
+6
-1
No files found.
apps/desktop/src/main/index.ts
View file @
2c7fc20a
This diff is collapsed.
Click to expand it.
apps/desktop/src/main/workspace-startup.ts
View file @
2c7fc20a
...
...
@@ -144,7 +144,12 @@ export function isWorkspaceShellReady(input: {
return
false
;
}
return
gatewayStatus
?.
state
===
"connected"
;
if
(
gatewayStatus
?.
state
===
"connected"
)
{
return
true
;
}
const
gatewayError
=
gatewayStatus
?.
lastError
??
gatewayStatus
?.
message
;
return
isTransientLocalGatewayError
(
gatewayError
);
}
function
buildSetupSummary
(
config
:
AppConfig
):
Pick
<
WorkspaceSummary
,
"chatReady"
|
"chatLaunchState"
|
"chatStatusMessage"
|
"startupPhase"
|
"startupMessage"
>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment