We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dear Tauri Team, I am trying to download a jar file and then save it with your provided funcation "writeBinaryFile". Unfortunately it does not work.
await axios({ url: '/downloads/client/latest.jar', method: "GET", responseType: "blob", // important onDownloadProgress: (progressEvent) => { setProgress(Math.round((progressEvent.loaded * 100) / progressEvent.total)); } }).then(async value => { const mcDir = await promisified({cmd: "minecraftDir"}); console.log(mcDir) console.log(value) console.log(value.data) await writeBinaryFile({contents: value.data, path: mcDir + "/norisk/test.jar"}, {}); })
It creates an EMPTY + CORRUPTED File. Whats the correct use?
Your sincerely, Max
The text was updated successfully, but these errors were encountered:
Duplicate of #1133 I think.
Sorry, something went wrong.
agreed.
No branches or pull requests
Dear Tauri Team,
I am trying to download a jar file and then save it with your provided funcation "writeBinaryFile". Unfortunately it does not work.
It creates an EMPTY + CORRUPTED File.
Whats the correct use?
Your sincerely,
Max
The text was updated successfully, but these errors were encountered: