Ensure file permissions for wal sqlite files too
This commit is contained in:
parent
1264e6da2b
commit
4696da46c1
1 changed files with 6 additions and 1 deletions
7
main.js
7
main.js
|
@ -1169,7 +1169,12 @@ app.on('ready', async () => {
|
|||
|
||||
setupMenu();
|
||||
|
||||
ensureFilePermissions(['config.json', 'sql/db.sqlite']);
|
||||
ensureFilePermissions([
|
||||
'config.json',
|
||||
'sql/db.sqlite',
|
||||
'sql/db.sqlite-wal',
|
||||
'sql/db.sqlite-shm',
|
||||
]);
|
||||
});
|
||||
|
||||
function setupMenu(options) {
|
||||
|
|
Loading…
Reference in a new issue