From ee4e9032f23ce764b6d4296f6a6f6172edc75102 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Fri, 1 May 2026 20:28:36 +0800 Subject: [PATCH] =?UTF-8?q?build(installer):=20=E4=BF=AE=E6=94=B9=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=B7=BB=E5=8A=A0.NET=206?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E6=97=B6=E5=AE=89=E8=A3=85=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/prerelease.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index f483bca4..4262a060 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -305,6 +305,7 @@ jobs: $issContent = $issContent -replace '#define MyAppVersion ".*"', "#define MyAppVersion `"$version`"" # 替换源文件路径为相对路径(考虑到ISS文件在build目录下,需要返回上级目录) + $issContent = $issContent -replace 'Source: "release\\\*";', 'Source: "../release/*";' $issContent = $issContent -replace 'Source: ".*\\{#MyAppExeName}";', 'Source: "../release/{#MyAppExeName}";' $issContent = $issContent -replace 'Source: ".*\\InkCanvasForClass.exe.config";', 'Source: "../release/InkCanvasForClass.exe.config";'