dont show tags on save dialog (mac)

This commit is contained in:
Kyle Spearrin 2018-08-18 00:24:48 -04:00
parent 0d69c3f266
commit aed1c5e927
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
saveFile(win: Window, blobData: any, blobOptions: any, fileName: string): void { saveFile(win: Window, blobData: any, blobOptions: any, fileName: string): void {
remote.dialog.showSaveDialog(remote.getCurrentWindow(), { remote.dialog.showSaveDialog(remote.getCurrentWindow(), {
defaultPath: fileName, defaultPath: fileName,
showsTagField: false,
}, (filename) => { }, (filename) => {
fs.writeFile(filename, Buffer.from(blobData), (err) => { fs.writeFile(filename, Buffer.from(blobData), (err) => {
// error check? // error check?