FEAT: tray icon initial support

This commit is contained in:
valerio
2026-03-13 20:13:59 +01:00
parent 80fa105e31
commit 13f4cdb3f9
11 changed files with 352 additions and 46 deletions
+3 -1
View File
@@ -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
};
}