dont show tags on save dialog (mac)
This commit is contained in:
parent
0d69c3f266
commit
aed1c5e927
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue