Better theme export

This commit is contained in:
Gregory Schier
2024-05-24 18:54:30 -07:00
parent f3024a259e
commit 4f736b4656
3 changed files with 24 additions and 29 deletions

View File

@@ -1293,7 +1293,7 @@ async fn cmd_update_folder(folder: Folder, w: WebviewWindow) -> Result<Folder, S
}
#[tauri::command]
async fn cmd_write_file_dev(w: WebviewWindow, pathname: &str, contents: &str) -> Result<(), String> {
async fn cmd_write_file_dev(pathname: &str, contents: &str) -> Result<(), String> {
if !is_dev() {
panic!("Cannot write arbitrary files when not in dev mode");
}