wip: show external site

This commit is contained in:
eneller committed 2026-04-08 01:21:00 +02:00
1 parent 0b36236b2c
commit 38d58ff139
4 files changed
+121 -1

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.invoke_handler(tauri::generate_handler![greet])
// https://github.com/tauri-apps/tauri/issues/986
.setup(|webview, _| webview.eval("window.location.replace('https://google.com')"))
.run(tauri::generate_context!())
.expect("error while running tauri application");
}