mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
json file should open the folder instead
This commit is contained in:
parent
a303b6011b
commit
3f8e058066
@ -4,6 +4,6 @@ import { shell } from 'electron';
|
||||
export default async function makeJSON(data, savePath) {
|
||||
fs.writeFile(savePath, data, (error) => {
|
||||
if (error) throw error;
|
||||
return shell.openPath(savePath);
|
||||
return shell.showItemInFolder(savePath);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user