From 67850c63f7d8cc8262cd9b7d1040816197bfbb84 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Mon, 16 Mar 2026 22:07:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=93=E5=8C=85=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forge.config.ts | 5 +++-- index.html | 2 +- src/renderer/views/setting/index.vue | 2 -- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/forge.config.ts b/forge.config.ts index ff10a7f..4236a5b 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -12,6 +12,7 @@ import * as path from 'path'; const config: ForgeConfig = { packagerConfig: { asar: true, + tmpdir: path.resolve(process.cwd(), '..', 'electron-packager-tmp'), }, rebuildConfig: {}, makers: [ @@ -70,8 +71,8 @@ const config: ForgeConfig = { }, async preMake() { - const outDir = path.resolve(process.cwd(), 'out'); - fs.rmSync(outDir, { recursive: true, force: true }); + const makeDir = path.resolve(process.cwd(), 'out', 'make'); + fs.rmSync(makeDir, { recursive: true, force: true }); }, async postPackage(_forgeConfig, options) { diff --git a/index.html b/index.html index 8576aba..2d795ce 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@
- + diff --git a/src/renderer/views/setting/index.vue b/src/renderer/views/setting/index.vue index 297214f..361e3f0 100644 --- a/src/renderer/views/setting/index.vue +++ b/src/renderer/views/setting/index.vue @@ -12,13 +12,11 @@ import { shallowRef } from 'vue' import SystemConfig from './components/SystemConfig/index.vue' import AccountSetting from './components/AccountSetting/index.vue' import Version from './components/Version/index.vue' -import ChannelSetting from './components/ChannelSetting/index.vue' import RoomTypeSetting from './components/RoomTypeSetting/index.vue' const currentComponent = shallowRef(AccountSetting) const components: any = { AccountSetting, - ChannelSetting, RoomTypeSetting, Version, }