fix(ci): stabilize web merge checks

This commit is contained in:
Kang committed 2026-10-04 23:24:21 +08:00
1 parent ccd0159aee
commit dc4c0116e2
3 files changed
+11 -6

No files matched your search

+1 -4
View File
@@ -92,7 +92,7 @@ nyaterm-gpu = { path = "crates/nyaterm-gpu" }
nyaterm-otp = { path = "crates/otp" }
nyaterm-mcp-protocol = { path = "crates/nyaterm-mcp-protocol" }
nyaterm-plugin-runtime = { path = "crates/nyaterm-plugin-runtime" }
tauri = { version = "2", features = ["tray-icon", "protocol-asset"] }
tauri = { version = "2", features = ["tray-icon", "protocol-asset", "macos-private-api"] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["raw_value"] }
@@ -205,9 +205,6 @@ tauri-plugin-updater = { version = "2", default-features = false, features = [
tauri-plugin-process = "2"
tauri-plugin-single-instance = { version = "2", features = ["deep-link"] }
[target.'cfg(target_os = "macos")'.dependencies]
tauri = { version = "2", features = ["macos-private-api"] }
[target.'cfg(not(windows))'.dependencies]
ironrdp = { path = "vendor/ironrdp/crates/ironrdp", default-features = false, features = ["rustls"] }
+1
View File
@@ -10,6 +10,7 @@
"frontendDist": "../dist"
},
"app": {
"macOSPrivateApi": true,
"windows": [
{
"label": "main",
+9 -2
View File
@@ -1236,7 +1236,7 @@ export function AppProvider({ children }: { children: ReactNode }) {
);
useEffect(() => {
if (hasRestored.current || !appSettingsLoaded.current || !lockStateLoaded) return;
if (hasRestored.current || !settingsLoaded || !lockStateLoaded) return;
hasRestored.current = true;
const primaryWindow = isPrimaryMainWindow();
@@ -1279,7 +1279,14 @@ export function AppProvider({ children }: { children: ReactNode }) {
});
}
setStartupRestoreComplete(true);
}, [appSettings, isLocked, lockStateLoaded, restoreSessionsForTabs, setActiveTabId]);
}, [
appSettings,
isLocked,
lockStateLoaded,
restoreSessionsForTabs,
setActiveTabId,
settingsLoaded,
]);
useEffect(() => {
if (isLocked) return;