Skip to content

Commit 992486e

Browse files
committed
ci: 更新 workflow ;
1 parent 7eeeb93 commit 992486e

4 files changed

Lines changed: 59 additions & 14 deletions

File tree

.github/workflows/qt-build-release-linux.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
submodules: 'recursive'
2121
token: ${{ secrets.CONTRIBUTORS_TOKEN }}
22+
2223
- name: Install Qt
2324
# Installs the Qt SDK
2425
uses: jurplel/install-qt-action@v4
@@ -28,11 +29,16 @@ jobs:
2829
target: 'desktop'
2930
arch: 'linux_gcc_64'
3031
cache: true
32+
33+
- name: Set up Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: '20'
3137

3238
- name: Configure CMake
3339
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3440
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
35-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/package
41+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWINGHEX_USE_FRAMELESS=ON -DBUILD_TEST_PLUGIN=OFF -DBUILD_SHARED_MEM_EXT=OFF -DANGEL_LSP=ON -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/package
3642

3743
- name: Build
3844
# Build your program with the given configuration

.github/workflows/qt-build-release-win.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
with:
2020
submodules: 'recursive'
2121
token: ${{ secrets.CONTRIBUTORS_TOKEN }}
22+
2223
- name: Install Qt
2324
# Installs the Qt SDK
2425
uses: jurplel/install-qt-action@v4
@@ -29,6 +30,15 @@ jobs:
2930
arch: 'win64_msvc2022_64'
3031
modules: 'qtactiveqt'
3132
cache: true
33+
34+
- name: Set up Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: '20'
38+
39+
- name: Install Inno Setup
40+
run: choco install innosetup -y
41+
3242
- name: Add Chinese support file for InnoSetup
3343
run: |
3444
$sourcePath = "${{github.workspace}}/mkinstaller/innoSetup/ChineseSimplified.isl"
@@ -38,7 +48,7 @@ jobs:
3848
- name: Configure CMake
3949
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
4050
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
41-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
51+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWINGHEX_USE_FRAMELESS=ON -DBUILD_TEST_PLUGIN=OFF -DBUILD_SHARED_MEM_EXT=OFF -DANGEL_LSP=ON
4252

4353
- name: Build
4454
# Build your program with the given configuration

.github/workflows/qt-build-test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,16 @@ jobs:
5151
modules: ${{ matrix.os == 'windows-latest' && 'qtactiveqt' || '' }}
5252
cache: true
5353

54+
- name: Set up Node.js
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: '20'
58+
5459
- name: Configure CMake
5560
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
5661
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
57-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
58-
62+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DWINGHEX_USE_FRAMELESS=ON -DBUILD_TEST_PLUGIN=OFF -DBUILD_SHARED_MEM_EXT=OFF -DANGEL_LSP=ON
63+
5964
- name: Build
6065
# Build your program with the given configuration
6166
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

mkinstaller/innoSetup/ChineseSimplified.isl

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; *** Inno Setup version 6.1.0+ Chinese Simplified messages ***
1+
; *** Inno Setup version 6.5.0+ Chinese Simplified messages ***
22
;
33
; To download user-contributed translations of this file, go to:
44
; https://jrsoftware.org/files/istrans/
@@ -79,11 +79,11 @@ UninstallAppRunningError=卸载程序发现 %1 当前正在运行。%n%n请先
7979
PrivilegesRequiredOverrideTitle=选择安装程序模式
8080
PrivilegesRequiredOverrideInstruction=选择安装模式
8181
PrivilegesRequiredOverrideText1=%1 可以为所有用户安装(需要管理员权限),或仅为您安装。
82-
PrivilegesRequiredOverrideText2=%1 只能为您安装,或为所有用户安装(需要管理员权限)。
82+
PrivilegesRequiredOverrideText2=%1 可以仅为您安装,或为所有用户安装(需要管理员权限)。
8383
PrivilegesRequiredOverrideAllUsers=为所有用户安装(&A)
8484
PrivilegesRequiredOverrideAllUsersRecommended=为所有用户安装(&A) (建议选项)
85-
PrivilegesRequiredOverrideCurrentUser=只为我安装(&M)
86-
PrivilegesRequiredOverrideCurrentUserRecommended=只为我安装(&M) (建议选项)
85+
PrivilegesRequiredOverrideCurrentUser=仅为我安装(&M)
86+
PrivilegesRequiredOverrideCurrentUserRecommended=仅为我安装(&M) (建议选项)
8787

8888
; *** 其他错误
8989
ErrorCreatingDir=安装程序无法创建目录“%1
@@ -222,15 +222,25 @@ ReadyMemoComponents=已选择组件:
222222
ReadyMemoGroup=开始菜单文件夹:
223223
ReadyMemoTasks=附加任务:
224224

225-
; *** TDownloadWizardPage wizard page and DownloadTemporaryFile
226-
DownloadingLabel=正在下载附加文件...
225+
; *** TExtractionWizardPage 向导页面与 ExtractArchive
226+
ExtractingLabel=正在解压文件...
227+
ButtonStopExtraction=停止解压(&S)
228+
StopExtraction=您确定要停止解压吗?
229+
ErrorExtractionAborted=解压已中止
230+
ErrorExtractionFailed=解压失败:%1
231+
232+
; *** 压缩文件解压失败详情
233+
ArchiveIncorrectPassword=压缩文件密码不正确
234+
ArchiveIsCorrupted=压缩文件已损坏
235+
ArchiveUnsupportedFormat=不支持的压缩文件格式
236+
237+
; *** TDownloadWizardPage 向导页面和 DownloadTemporaryFile
238+
DownloadingLabel2=正在下载文件...
227239
ButtonStopDownload=停止下载(&S)
228240
StopDownload=您确定要停止下载吗?
229241
ErrorDownloadAborted=下载已中止
230242
ErrorDownloadFailed=下载失败:%1 %2
231243
ErrorDownloadSizeFailed=获取下载大小失败:%1 %2
232-
ErrorFileHash1=校验文件哈希失败:%1
233-
ErrorFileHash2=无效的文件哈希:预期 %1,实际 %2
234244
ErrorProgress=无效的进度:%1 / %2
235245
ErrorFileSize=文件大小错误:预期 %1,实际 %2
236246

@@ -272,17 +282,21 @@ PathLabel=路径(&P):
272282
FileNotInDir2=%2”中找不到文件“%1”。请插入正确的磁盘或选择其他文件夹。
273283
SelectDirectoryLabel=请指定下一张磁盘的位置。
274284

275-
; *** 安装状态消息
285+
; *** 安装阶段消息
276286
SetupAborted=安装程序未完成安装。%n%n请修正这个问题并重新运行安装程序。
277287
AbortRetryIgnoreSelectAction=选择操作
278288
AbortRetryIgnoreRetry=重试(&T)
279289
AbortRetryIgnoreIgnore=忽略错误并继续(&I)
280290
AbortRetryIgnoreCancel=关闭安装程序
291+
RetryCancelSelectAction=选择操作
292+
RetryCancelRetry=重试(&T)
293+
RetryCancelCancel=取消(&C)
281294

282295
; *** 安装状态消息
283296
StatusClosingApplications=正在关闭应用程序...
284297
StatusCreateDirs=正在创建目录...
285-
StatusExtractFiles=正在解压缩文件...
298+
StatusExtractFiles=正在提取文件...
299+
StatusDownloadFiles=正在下载文件...
286300
StatusCreateIcons=正在创建快捷方式...
287301
StatusCreateIniEntries=正在创建 INI 条目...
288302
StatusCreateRegistryEntries=正在创建注册表条目...
@@ -312,6 +326,14 @@ FileAbortRetryIgnoreSkipNotRecommended=跳过此文件(&S) (不推荐)
312326
FileAbortRetryIgnoreIgnoreNotRecommended=忽略错误并继续(&I) (不推荐)
313327
SourceIsCorrupted=源文件已损坏
314328
SourceDoesntExist=源文件“%1”不存在
329+
SourceVerificationFailed=源文件验证失败: %1
330+
VerificationSignatureDoesntExist=签名文件“%1”不存在
331+
VerificationSignatureInvalid=签名文件“%1”无效
332+
VerificationKeyNotFound=签名文件“%1”使用了未知密钥
333+
VerificationFileNameIncorrect=文件名不正确
334+
VerificationFileTagIncorrect=文件标签不正确
335+
VerificationFileSizeIncorrect=文件大小不正确
336+
VerificationFileHashIncorrect=文件哈希值不正确
315337
ExistingFileReadOnly2=无法替换现有文件,它是只读的。
316338
ExistingFileReadOnlyRetry=移除只读属性并重试(&R)
317339
ExistingFileReadOnlyKeepExisting=保留现有文件(&K)
@@ -330,6 +352,8 @@ ErrorChangingAttr=尝试更改下列现有文件的属性时出错:
330352
ErrorCreatingTemp=尝试在目标目录创建文件时出错:
331353
ErrorReadingSource=尝试读取下列源文件时出错:
332354
ErrorCopying=尝试复制下列文件时出错:
355+
ErrorDownloading=下载文件时出错:
356+
ErrorExtracting=解压压缩文件时出错:
333357
ErrorReplacingExistingFile=尝试替换现有文件时出错:
334358
ErrorRestartReplace=重启并替换失败:
335359
ErrorRenamingTemp=尝试重命名下列目标目录中的一个文件时出错:

0 commit comments

Comments
 (0)