fix: setting can't rename

https://github.com/nathanbuchar/electron-settings/issues/159
This commit is contained in:
林一二 2021-10-26 20:11:33 +08:00
parent 8bdc599c3a
commit 06e1ee2b81

View file

@ -38,6 +38,7 @@ if (!gotTheLock) {
} else {
settings.configure({
dir: SETTINGS_FOLDER,
atomicSave: process.platform !== 'win32',
});
protocol.registerSchemesAsPrivileged([
{ scheme: 'http', privileges: { standard: true } },