🎨 Structural optimization

This commit is contained in:
Tw93
2023-05-04 19:13:55 +08:00
parent 13b87d9e78
commit e141c9f1f2

View File

@@ -23,7 +23,7 @@ pub fn fullscreen(app: AppHandle) {
}
}
#[tauri::command]
#[command]
pub fn open_browser(app: AppHandle, url: String) {
api::shell::open(&app.shell_scope(), url, None).unwrap();
}