mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-26 12:42:34 +08:00
✨ 支持系统菜单功能
This commit is contained in:
@@ -2,6 +2,7 @@ import path from "path";
|
||||
import fs from "fs";
|
||||
import getLocalDataFile from "./getLocalDataFile";
|
||||
import { app } from "electron";
|
||||
import commonConst from "./commonConst";
|
||||
|
||||
const configPath = path.join(getLocalDataFile(), "./rubick-config.json");
|
||||
|
||||
@@ -17,7 +18,7 @@ const defaultConfigForAnyPlatform = {
|
||||
start: true,
|
||||
space: true,
|
||||
// 是否失焦隐藏。默认在dev环境不隐藏,在打包后隐藏。
|
||||
hideOnBlur: app.isPackaged,
|
||||
hideOnBlur: commonConst.production(),
|
||||
},
|
||||
local: {
|
||||
search: true,
|
||||
|
||||
Reference in New Issue
Block a user