You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit aceeab4
Browse filesBrowse the repository at this point in the historyBrowse files
constELECTRON_INSTALL_CONFIRM_PHRASE="install electron alpha";
53
52
54
53
typeResetModalMode="onboarding"|"all";
55
54
@@ -546,11 +545,12 @@ export function useDebugViewModel(options: UseDebugViewModelOptions) {
546
545
);
547
546
if(!confirmed)return;
548
547
549
-
constphrase=
550
-
typeofwindow==="undefined"
551
-
? ELECTRON_INSTALL_CONFIRM_PHRASE
552
-
: window.prompt(`Type \"${ELECTRON_INSTALL_CONFIRM_PHRASE}\" to start the Electron alpha install handoff.`);
553
-
if(phrase!==ELECTRON_INSTALL_CONFIRM_PHRASE){
548
+
constdoubleConfirmed=
549
+
typeofwindow==="undefined"||
550
+
window.confirm(
551
+
"Final confirmation: quit Tauri and start installing the resolved Electron alpha now? The current app bundle will be moved to OpenWork.app.migrate-bak before replacement.",
552
+
);
553
+
if(!doubleConfirmed){
554
554
setElectronMigrationStatus("Install handoff cancelled before any app replacement step.");
0 commit comments