This commit is contained in:
muwoo
2023-08-01 11:41:43 +08:00
parent 6516042809
commit 676c2b9c6a
24 changed files with 42 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
import { app, BrowserWindow, protocol } from 'electron';
import { app, BrowserWindow, protocol, nativeTheme } from 'electron';
import path from 'path';
import { createProtocol } from 'vue-cli-plugin-electron-builder/lib';
import versonHandler from '../common/versionHandler';
@@ -19,6 +19,7 @@ export default () => {
title: '拉比克',
show: false,
skipTaskbar: true,
backgroundColor: nativeTheme.shouldUseDarkColors ? '#1c1c28' : '#fff',
webPreferences: {
webSecurity: false,
enableRemoteModule: true,