mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-11 02:05:45 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 052a7fb66f |
+5
-6
@@ -78,12 +78,11 @@ const PropertiesStartupFailure = () => (
|
|||||||
const renderMainApp = async () => {
|
const renderMainApp = async () => {
|
||||||
if (!rootElement) return;
|
if (!rootElement) return;
|
||||||
|
|
||||||
// Keep the child entrypoint isolated from the main application module. App
|
// Diagnostic control for Issue #37: keep the native shell and extension
|
||||||
// imports the persistent Zustand stores, whose module initialization issues
|
// server alive without loading the application renderer or its startup
|
||||||
// main-window-only IPC commands. Loading it in a Properties child creates a
|
// effects. This branch is used only to separate renderer startup from the
|
||||||
// second persistence owner and can race the bridge handshake.
|
// native delayed-crash path.
|
||||||
const RootComponent = (await import('./App')).default;
|
renderRoot(() => <div data-firelink-startup-control="renderer" />);
|
||||||
renderRoot(RootComponent);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const renderPropertiesApp = async () => {
|
const renderPropertiesApp = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user