Ensure file permissions for wal sqlite files too

This commit is contained in:
Fedor Indutny 2021-03-30 17:30:23 -07:00 committed by Josh Perez
parent 1264e6da2b
commit 4696da46c1

View file

@ -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) {