mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-19 11:11:18 +10:00
fixed windows issues
This commit is contained in:
@ -62,12 +62,6 @@ pub async fn use_remote<'a>(
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn open_url(path: String) -> Result<(), String> {
|
||||
webbrowser::open(&path).unwrap();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn gen_drop_url(app: tauri::AppHandle, path: String) -> Result<String, String> {
|
||||
let base_url = {
|
||||
|
||||
Reference in New Issue
Block a user