Commit graph

102 commits

Author SHA1 Message Date
dependabot[bot]
1ffba2f447
chore(deps): bump actions/download-artifact from 7 to 8 (#1382)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 20:50:16 +08:00
dependabot[bot]
e3c29dbdf9
chore(deps): bump actions/upload-artifact from 6 to 7 (#1381)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 20:49:49 +08:00
Xu
4e4fde380e chore: CI 升级到 VS2026 2026-02-07 23:00:49 +08:00
dependabot[bot]
9ec6c5dc4a
chore(deps): bump actions/upload-artifact from 5 to 6 (#1353)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 20:15:41 +08:00
dependabot[bot]
de00805204
chore(deps): bump actions/cache from 4 to 5 (#1352)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 20:15:32 +08:00
dependabot[bot]
60494174ba
chore(deps): bump actions/download-artifact from 6 to 7 (#1351)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 20:15:21 +08:00
Howard Wu
b38dbf2c9b
设置文件版本信息 (#1344)
* 设置文件版本信息

不固定为 0.0.0.0,可以不打开应用时读取版本信息
TouchHelper 版本检查和 Updater 检查更新时可以直接从文件读取版本号

* 设置文件版本号时不考虑MP_VERSION_TAG

同时从 public.py 中移除替换逻辑

* chore: RC 优化
1. 用 MP_VERSION_STRING 取代 MP_VERSION_TAG,前者不包含开头的 v 字符
2. RC 文件不再支持 VS 编辑,删除了冗余代码。区域由非特定语言改为 en-US
3. STRINGIFY 和 WIDEN_STRINGIFY 宏移到通用头文件

* chore: 简化 resource.h

* chore: 删除 APSTUDIO_READONLY_SYMBOLS 宏
这个宏供 VS 资源编辑器使用

* chore: 始终定义 MP_MEOW_VERSION
通过 MP_VERSION_STRING 区分开发版本和发布版本

* chore: 简化版本字符串提取
使用了正则表达式的正向先行断言

---------

Co-authored-by: Xu <blinue@outlook.com>
2025-12-02 18:28:58 +08:00
Xu
6fc3594d9d
支持 Visual Studio 2026 (#1343)
* chore: 支持 VS2026

* docs: 更新文档以及排除 pdb

* chore: 修复 pdb 生成

* chore: 禁止 Magpie.Core 生成 pdb

* chore: 清理
2025-11-27 21:57:38 +08:00
dependabot[bot]
2c4e6aa8ca
chore(deps): bump actions/checkout from 5 to 6 (#1342)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-24 20:25:01 +08:00
dependabot[bot]
37f38253c7
chore(deps): bump actions/download-artifact from 5 to 6 (#1326)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 22:02:12 +08:00
dependabot[bot]
1988cde675
chore(deps): bump actions/upload-artifact from 4 to 5 (#1325)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 22:01:56 +08:00
dependabot[bot]
0d7ba8bd37
chore(deps): bump actions/setup-python from 5 to 6 (#1290)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 19:43:27 +08:00
Xu
b8c0801f93
fix(ci): 只在 main 和 dev 分支签名 2025-08-26 08:51:28 +08:00
dependabot[bot]
10176cf4fb
chore(deps): bump actions/checkout from 4 to 5 (#1274)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 08:38:57 +08:00
dependabot[bot]
6ba65bd2ea
chore(deps): bump actions/download-artifact from 4 to 5 (#1245)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 08:27:35 +08:00
Xu
355676dc49 chore: 修复 CI 触发条件 2025-08-10 20:36:23 +08:00
Xu
02bf2a1c5f chore: 发布版本 CI 不再加载缓存 2025-07-30 09:27:34 +08:00
Xu
7bc0762346 chore: pull request 的 CI 不签名
pull request 的 CI 不能使用 secrets
2025-07-22 20:45:44 +08:00
Xu
04ff6ea0a3
支持使用 clang-cl 编译 (#1195)
* chore: native 项目支持 clang-cl

* chore: 修复 clang 编译错误

* chore: 修复部分 clang 编译警告

* chore: 修复警告

* chore: 修复所有警告,优化 llvm 查找

* chore: 启用 LTO

* chore: 支持 ARM64

* chore: _ConanDeps 支持 clang-cl

* chore: 编译选项改变 _ConanDeps 自动重新编译

* chore: profile 更改时重新编译 _ConanDeps

* chore: 将 hu 和 ka 加入项目文件,但不参与生成
否则不参与批量替换

* chore: Magpie 项目支持并行编译

* chore: 添加几个提高性能的编译选项

* chore: 优化 _ConanDeps

* chore: publish.py 支持参数

* chore: CI 支持 clang 编译

* chore: 修复 CI 的 conan 缓存

* chore: 优化编译选项,修复 CI

* chore: 修复 CI

* chore: 改变参数顺序

* chore: 添加编译选项支持针对当前硬件生成优化代码

* chore: 优化 CI 脚本

* chore: publish.py 添加 --use-native-march 选项

* chore: 脚本集中在 scripts 文件夹,msbuild 启用并行编译

* chore: clang, x64 配置启用 CX16 指令

* chore: 更新依赖

* chore: 更新格式设置

* chore: 增加额外的斜杠以提高兼容性

* chore: 修复效果文件复制
2025-07-15 17:40:04 +08:00
刘旭
e70c4d3b15 chore: 修复 CI 和更新链接 2024-05-10 11:58:28 +08:00
Xu
3ce10c2b74
支持触控输入 (#900)
* chore: 删除不需要的 const 说明符

* chore: 优化 Updater 分组

* feat: 添加 TouchHelper 项目

* feat: TouchHelper 需要 UIAccess 权限

* feat: 缩放配置页面改名为缩放模式页面

* feat: 添加自签名证书

* chore: 发布时为 TouchHelper 签名

* feat: 实现 TouchHelper 的功能

* feat: 高级选项移到主页

* feat: 实现安装证书

* perf: 安装证书前检查是否已经安装

* feat: 在单独的文件中记录 TouchHelper 的版本号

* feat: 实现 UI 功能 (1/2)

* feat: 实现 UI 功能 (2/2)

* fix: 修复有时更改触控支持选项时崩溃的问题

* feat: 给触控选项添加说明

* feat: 设置证书友好名称

* feat: 记录 MagSetInputTransform 调用结果

* docs: 添加触控支持说明

* docs: 添加英语文档

* docs: 更新编译文档

* refactor: 使用 ChangeWindowMessageFilterEx 替换 ChangeWindowMessageFilter

* UI: 优化触控支持 UI

* feat: 缩放前自动修复触控支持

* docs: 更新触控支持文档

* feat: 管理员身份下不展示提示

* feat: 了解更多按钮指向文档

* feat: 尝试解决黑边问题

* feat: 解决黑边的触控

* chore: 优化注释

* fix: 优化错误处理

* refactor
2024-05-09 22:32:50 +08:00
Xu
031390564a
Merge branch 'dev' into render-system 2024-01-22 20:50:31 +08:00
dependabot[bot]
e50395dc3b
chore(deps): bump actions/cache from 3 to 4 (#820)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:21:06 +08:00
Xu
63b2e73296
支持 ARM64 架构 (#795)
* feat: 支持 ARM64

* chore: CI 编译 ARM64

* chore: CI 编译 ARM64

* chore: 发布版本包含 ARM64 包

* fix: 修复 ARM64 架构检查更新失败

* fix: 彻底解决 DllGetActivationFactory 的导出

* feat: Magpie.App 中出现未处理异常且附加了调试器则触发断点
2023-12-31 16:08:00 +08:00
dependabot[bot]
13ae33ae80
chore(deps): bump actions/upload-artifact from 3 to 4 (#786)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 20:06:31 +08:00
dependabot[bot]
7e2db2cf58
chore(deps): bump actions/setup-python from 4 to 5 (#776)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 19:55:22 +08:00
Xu
c296c25520
优化发布脚本 (#766)
* fix: 修复发布版本时 zip 损坏的问题

* chore: 支持发布预览版和生成默认发行说明
2023-11-28 20:24:01 +08:00
dependabot[bot]
b8a6452b67
chore(deps): bump actions/checkout from 3 to 4 (#752)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-13 11:21:38 +08:00
Xu
04d782cbce
使用 CI 发布版本 (#737)
* feat: 从宏读取版本号

* feat: 用 CI 发布时传入版本号

* feat: 使用 CI 发布版本

* chore: 删除 ci/release.py
2023-10-25 00:13:58 +08:00
Xu
ae9895a488
迁移到 Conan v2 (#731)
* chore: 迁移到 Conan v2

* docs: 更新文档

* chore: 更新 Conan 缓存路径

* chore: 所有 Conan 依赖都是最新的则显示消息
2023-10-15 10:33:06 +08:00
Xu
fd0749456b
自动编译 Conan 依赖 (#730)
* chore: 使用 MSBuild 自动编译 Conan 依赖

* chore: 使用 python 脚本编译 Conan
有一个问题是第一次编译将会失败,因为 VS 缓存了 Solution.props,不会自动导入 conanbuildinfo.props

* chore: 更新 CONAN_INSTALL

* Revert "chore: 使用 MSBuild 自动编译 Conan 依赖"

This reverts commit b5531986ac.

* chore: 使用 CONAN_INSTALL 作为跳板实现自动编译 Conan 依赖
CONAN_INSTALL 为依赖项,因此是不同的构建,避免了缓存问题

* chore: 简化编译 CI
已支持直接编译 sln

* 测试

* Revert "测试"

This reverts commit 97042bd8e0.

* chore: CONAN_INSTALL 改名 _ConanDeps

* docs: 更新编译指南

* chore: 优化 _ConanDeps
2023-10-14 14:21:35 +08:00
Xu
8a549d404b
将 wiki.sh 移植为 python (#729)
* chore: 将 wiki.sh 移植为 python

* chore: 修复编译

* 测试部署 wiki

* chore: 修复 CI 错误

* chore: 更正 wiki CI 触发条件

* chore: 添加日志

* fix: 忽略删除失败

* fix: 忽略清理错误

* fix: 提高 python 版本

* chore: 修复 yml 格式

* fix

* fix: 不再清理临时目录

* 结束测试
2023-10-12 00:16:27 +08:00
Xu
0b58d65405
修剪 resources.pri (#727)
* chore: 实现修剪 resources.pri,并将发布脚本移植为 python

* chore: 编译过程中添加两个消息

* chore: 更新工作流的触发条件

* chore: 修复中文字符显示
不知为何 python 的 stdout 的编码默认为 ANSI,而不是 UTF-8
2023-10-11 14:27:42 +08:00
刘旭
92348d8a88
子项目不再共享 Conan 依赖 (#601)
* chore: 子项目之间不再共享 Conan 依赖
这可以有效减小可执行文件的体积

* chore: 修复编译

* chore: 不要复制 conanfile.txt

* Update build.yml
2023-05-12 18:22:02 +08:00
刘旭
4eeeee7182
Update wiki.yml 2023-04-20 10:55:38 +08:00
刘旭
028fd320be
修复自动发布 wiki (#570) 2023-04-19 17:59:58 +08:00
刘旭
af98c1d90a
chore: 修复 CI 2023-02-23 10:18:48 +08:00
刘旭
288388c312
更新 CI (#446) 2022-11-04 18:55:52 +08:00
刘旭
32797b39b5
Update build.yml 2022-11-03 12:23:43 +08:00
刘旭
680a6e8012
Update build.yml 2022-10-23 18:45:08 +08:00
刘旭
c256b9ac12
Update build.yml 2022-10-21 11:43:18 +08:00
刘旭
e071c6475d
Update build.yml 2022-10-21 10:38:31 +08:00
刘旭
452c09f156
chore: 更新 CI 使用的 Actions 版本 2022-10-11 16:54:28 +08:00
刘旭
f1ba52ee91 chore: 优化编译 2022-06-22 18:35:19 +08:00
刘旭
a16239f6c0
Update build.yml 2022-06-22 18:26:27 +08:00
刘旭
0cab03a3d1 chore: 添加效果文件 2022-06-22 18:23:57 +08:00
刘旭
7d500950a6 feat: 实现创建缩放窗口 2022-06-22 17:06:47 +08:00
刘旭
dbc37ebad7 chore: 修复 Actions 编译 2022-05-22 13:29:52 +08:00
刘旭
d6aa774e69
Update build.yml 2022-05-21 21:59:05 +08:00
刘旭
30d0a03dbd
Update build.yml 2022-05-21 21:57:45 +08:00