mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
feat: add tauri file saving handling
This commit is contained in:
parent
1e2e84264e
commit
8f31944230
7 changed files with 158 additions and 54 deletions
|
@ -139,10 +139,10 @@ MarcFile.prototype.save=function(){
|
|||
blob=bb.getBlob(this.fileType);
|
||||
}else{
|
||||
throw new Error('Incompatible Browser');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
saveAs(blob,this.fileName);
|
||||
|
||||
tauriSaveFile(this.fileName, blob)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue