mirror of
https://github.com/rubickCenter/rubick
synced 2026-01-02 01:49:27 +08:00
禁用electron的拼写检查 & 设置窗体最小高度为60
This commit is contained in:
@@ -17,6 +17,7 @@ export default () => {
|
||||
const createWindow = async (pluginInfo, viewInfo, view) => {
|
||||
win = new BrowserWindow({
|
||||
height: viewInfo.height,
|
||||
minHeight: 60,
|
||||
width: viewInfo.width,
|
||||
autoHideMenuBar: true,
|
||||
titleBarStyle: 'hidden',
|
||||
@@ -36,6 +37,7 @@ export default () => {
|
||||
webviewTag: true,
|
||||
devTools: true,
|
||||
nodeIntegration: true,
|
||||
spellcheck: false,
|
||||
},
|
||||
});
|
||||
if (process.env.WEBPACK_DEV_SERVER_URL) {
|
||||
|
||||
Reference in New Issue
Block a user