@tauri-apps/api@1.0.0-rc.7
Ce contenu n’est pas encore disponible dans votre langue.
- Fix
FilePart
usage inhttp.Body.form
by renaming thevalue
property tofile
. - Fixes a memory leak in the command system.
- The notification’s
isPermissionGranted
function now returnsboolean
instead ofboolean | null
. The response is nevernull
because we won’t check the permission for now, always returningtrue
instead. - Added the
resolveResource
API to the path module. - Renamed
writeFile
towriteTextFile
but kept the original function for backwards compatibility. - Added
(path, contents[, options])
overload to thewriteTextFile
andwriteBinaryFile
APIs.
© 2024 Tauri Contributors. CC-BY / MIT