5 Commits
Author SHA1 Message Date
cneicy ec87b0bde3 chore(editor): unify data saver settings menu
Publish UPM package / publish (push) Successful in 2s
2026-08-26 12:48:31 +08:00
cneicy b111c5f437 test(host): allow Unity test runner completion 2026-08-26 08:22:51 +08:00
cneicy 7cfa6bf8e3 ci: mirror Git package dependencies 2026-08-26 07:07:01 +08:00
cneicy 65a1553612 test: enable standalone host discovery 2026-08-26 06:56:03 +08:00
cneicy c39314acbc ci: stabilize standalone Unity host 2026-08-26 06:36:34 +08:00
4 changed files with 14 additions and 5 deletions
+6 -1
View File
@@ -26,12 +26,17 @@ jobs:
shell: bash
run: |
set -eu
machine_id_file="/root/.local/share/unity3d/Unity/.machine-id"
if test -s "$machine_id_file"; then
cat "$machine_id_file" > /etc/machine-id
echo "Unity machine identity restored"
fi
git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/"
unity_bin="$(command -v unity-editor || command -v unity || command -v Unity || true)"
test -n "$unity_bin"
"$unity_bin" \
-batchmode \
-nographics \
-quit \
-projectPath "$PWD/Development~/UnityProject" \
-runTests \
-testPlatform EditMode \
@@ -10,6 +10,10 @@
],
"dependencies": {
"com.unity.test-framework": "1.1.33",
"com.cneicy.shrink-datasaver": "file:../../.."
}
"com.cneicy.shrink-datasaver": "file:../../..",
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#7c0f199fe0d3fc528024488ccd671e6c7b27745b"
},
"testables": [
"com.cneicy.shrink-datasaver"
]
}
+1 -1
View File
@@ -2,7 +2,7 @@
namespace ShrinkDataSaver
{
[CreateAssetMenu(fileName = "ShrinkDataSaverSettings", menuName = "ShrinkDataSaver/Settings")]
[CreateAssetMenu(fileName = "ShrinkDataSaverSettings", menuName = "ShrinkSDK/存档/存档设置")]
public class ShrinkDataSaverSettings : ScriptableObject
{
private static ShrinkDataSaverSettings _instance;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "com.cneicy.shrink-datasaver",
"version": "2.2.0",
"version": "2.2.1",
"displayName": "ShrinkDataSaver",
"description": "模块化 Unity 存档与设置管理系统,支持多槽位、链式版本迁移、AES-256 加密、关键模块保护、跨模块查询与事件驱动架构。",
"unity": "2022.3",