From f9c1d8b4a663d4a56f0924bc7407128c31d74bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 4 Aug 2024 14:06:30 +0800 Subject: [PATCH] build: 1.7.7 refactor --- src/common/utils/QQBasicInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils/QQBasicInfo.ts b/src/common/utils/QQBasicInfo.ts index 5f131a1f..39ec7132 100644 --- a/src/common/utils/QQBasicInfo.ts +++ b/src/common/utils/QQBasicInfo.ts @@ -6,7 +6,7 @@ import { getDefaultQQVersionConfigInfo, getQQVersionConfigPath } from './helper' //基础目录获取 export let QQMainPath = process.execPath; export let QQPackageInfoPath: string = path.join(path.dirname(QQMainPath), 'resources', 'app', 'package.json'); -export let QQVersionConfigPath: string | undefined = getQQVersionConfigPath(); +export let QQVersionConfigPath: string | undefined = getQQVersionConfigPath(QQMainPath); //基础信息获取 无快更则启用默认模板填充 export let QQVersionAppid: string = systemPlatform === 'linux' ? '537237950' : '537237765';