mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 12:30:06 +02:00
prevent autoupdater from setting release channel (#1396)
This commit is contained in:
@@ -110,6 +110,15 @@ export const useSyncSettingsToMain = () => {
|
||||
JSON.stringify(mainValueNormalized) !== JSON.stringify(rendererValueNormalized)
|
||||
) {
|
||||
hasDifferences = true;
|
||||
|
||||
logFn.warn(logMsg.system.settingsSynchronized, {
|
||||
meta: {
|
||||
mainStoreKey: mapping.mainStoreKey,
|
||||
mainValue: mainValueNormalized,
|
||||
rendererValue: rendererValueNormalized,
|
||||
},
|
||||
});
|
||||
|
||||
localSettings.set(mapping.mainStoreKey, rendererValue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user