mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-07 02:55:24 +00:00
feat: add macOS menu bar icon options (#1779)
This commit is contained in:
1 parent
3630d6c157
commit
803a52c339
8 files changed
+278
-4
No files matched your search
@@ -32,7 +32,11 @@ function writeJson(filePath, value) {
|
||||
}
|
||||
}
|
||||
|
||||
const DEFAULTS = { defaultConnectionOrigin: "local", updateMode: "prompt" };
|
||||
const DEFAULTS = {
|
||||
defaultConnectionOrigin: "local",
|
||||
updateMode: "prompt",
|
||||
macTrayIcon: "monochrome",
|
||||
};
|
||||
|
||||
function getDesktopSettings() {
|
||||
return { ...DEFAULTS, ...readJson(dataPath("desktop-settings.json"), {}) };
|
||||
|
||||
Reference in new issue
Block a user