FEAT: tray icon initial support
This commit is contained in:
+3
-1
@@ -12,6 +12,7 @@ import { ensureLibraryStructure, selectDirectory } from './file_utils.js';
|
||||
* @property {string} [theme] - Theme ('light', 'dark')
|
||||
* @property {boolean} [autoCreateShortcuts] - should smoothie create a shortcut to newly installed blender versions
|
||||
* @property {boolean} [keepDownloadedArchives] - Whether to keep downloaded archives after extraction
|
||||
* @property {boolean} [closeToTray] - Whether to close the window to the tray instead of exiting when the close button is clicked
|
||||
*/
|
||||
|
||||
// Settings lazy store
|
||||
@@ -32,7 +33,8 @@ export async function initSettings() {
|
||||
defaultArch: detectedArch,
|
||||
keepDownloadedArchives: false,
|
||||
autoCreateShortcuts: true,
|
||||
theme: 'light' //
|
||||
theme: 'light', //
|
||||
closeToTray: true
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user