mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-09 14:12:05 -05:00
Remember last save location
This commit is contained in:
parent
1113ba0c18
commit
d93cd7ae33
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue