fix compilation

pull/1939/head
amrbashir 8 months ago
parent 005cd2a1bf
commit 195a13ad92
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -911,7 +911,13 @@ pub async fn write_file<R: Runtime>(
command_scope: CommandScope<Entry>,
request: tauri::ipc::Request<'_>,
) -> CommandResult<()> {
write_file_inner(webview, &global_scope, &command_scope, request)
write_file_inner(
"write_file",
webview,
&global_scope,
&command_scope,
request,
)
}
// TODO, in v3, remove this command and rely on `write_file` command only
@ -922,7 +928,13 @@ pub async fn write_text_file<R: Runtime>(
command_scope: CommandScope<Entry>,
request: tauri::ipc::Request<'_>,
) -> CommandResult<()> {
write_file_inner(webview, &global_scope, &command_scope, request)
write_file_inner(
"write_text_file",
webview,
&global_scope,
&command_scope,
request,
)
}
#[tauri::command]

Loading…
Cancel
Save