diff --git a/.changes/writeBinaryFile.md b/.changes/writeBinaryFile.md new file mode 100644 index 00000000000..455423ba853 --- /dev/null +++ b/.changes/writeBinaryFile.md @@ -0,0 +1,6 @@ +--- +"tauri.js": patch +"tauri": minor +--- + +Match writeBinaryFile command name between js and rust diff --git a/cli/tauri.js/api-src/fs.ts b/cli/tauri.js/api-src/fs.ts index 3251c4fbcb6..508a17bdf82 100644 --- a/cli/tauri.js/api-src/fs.ts +++ b/cli/tauri.js/api-src/fs.ts @@ -166,7 +166,7 @@ async function writeBinaryFile( } return await promisified({ - cmd: 'writeFile', + cmd: 'writeBinaryFile', path: file.path, contents: arrayBufferToBase64(file.contents), options