[MM-36058][MM-40572] Tray fixes (#1933)
* [MM-36058] Added config migration function, update default tray icon theme to system, allow Windows users to override icon theme * [MM-40572] Restore minimize to tray option for Windows * Lint fix * Test fix * Oops
This commit is contained in:
@@ -17,6 +17,7 @@ export let appVersionJson = '';
|
||||
export let certificateStorePath = '';
|
||||
export let trustedOriginsStoreFile = '';
|
||||
export let boundsInfoPath = '';
|
||||
export let migrationInfoPath = '';
|
||||
|
||||
export function updatePaths(emit = false) {
|
||||
userDataPath = app.getPath('userData');
|
||||
@@ -27,6 +28,7 @@ export function updatePaths(emit = false) {
|
||||
certificateStorePath = path.resolve(userDataPath, 'certificate.json');
|
||||
trustedOriginsStoreFile = path.resolve(userDataPath, 'trustedOrigins.json');
|
||||
boundsInfoPath = path.join(userDataPath, 'bounds-info.json');
|
||||
migrationInfoPath = path.resolve(userDataPath, 'migration-info.json');
|
||||
|
||||
if (emit) {
|
||||
ipcMain.emit(UPDATE_PATHS);
|
||||
|
Reference in New Issue
Block a user