Remember last save location

This commit is contained in:
Christopher Willis-Ford 2019-01-08 15:37:37 -08:00
parent 1113ba0c18
commit d93cd7ae33

View file

@ -62,7 +62,6 @@ const createMainWindow = () => {
if (extName) { if (extName) {
const extNameNoDot = extName.replace(/^\./, ''); const extNameNoDot = extName.replace(/^\./, '');
const options = { const options = {
defaultPath: path.join(app.getPath('documents'), baseName),
filters: [getFilterForExtension(extNameNoDot)] filters: [getFilterForExtension(extNameNoDot)]
}; };
const userChosenPath = dialog.showSaveDialog(window, options); const userChosenPath = dialog.showSaveDialog(window, options);