This commit is contained in:
muwoo 2023-10-31 12:19:35 +08:00
parent 6ae15b8f37
commit e8c8f40bae
3 changed files with 3 additions and 6 deletions

View File

@ -1,8 +1,3 @@
@import "~ant-design-vue/dist/antd.less"; // 引入官方提供的 less 样式入口文件
@primary-color: #ff4ea4; // 全局主色
@error-color: #ff4ea4; // 错误色
:root {
--color-text-primary: rgba(0, 0, 0, 0.85);
--color-text-content: #141414;

View File

@ -5,7 +5,7 @@ const path = require('path');
const appPath = app.getPath('userData');
const baseDir = path.join(appPath, './rubick-plugins');
const baseDir = path.join(appPath, './rubick-plugins-new');
const ipcSendSync = (type, data) => {
const returnValue = ipcRenderer.sendSync('msg-trigger', {

View File

@ -166,6 +166,8 @@ export default () => {
const removeView = (window: BrowserWindow) => {
if (!view) return;
window.removeBrowserView(view);
window.setBrowserView(null);
view.webContents.destroy();
// window.setSize(800, 60);
executeHooks('PluginOut', null);
window.webContents?.executeJavaScript(`window.initRubick()`);