4 Commits
Author SHA1 Message Date
cneicy ec91c434b6 chore(editor): unify application menus
Publish UPM package / publish (push) Successful in 2s
2026-08-26 12:48:30 +08:00
cneicy 0497fd6066 test(host): allow Unity test runner completion 2026-08-26 08:22:28 +08:00
cneicy 0fe4661273 ci: mirror Git package dependencies 2026-08-26 07:06:58 +08:00
cneicy 7d65b6aa0e test: enable standalone host discovery 2026-08-26 06:56:00 +08:00
5 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -31,12 +31,12 @@ jobs:
cat "$machine_id_file" > /etc/machine-id cat "$machine_id_file" > /etc/machine-id
echo "Unity machine identity restored" echo "Unity machine identity restored"
fi 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)" unity_bin="$(command -v unity-editor || command -v unity || command -v Unity || true)"
test -n "$unity_bin" test -n "$unity_bin"
"$unity_bin" \ "$unity_bin" \
-batchmode \ -batchmode \
-nographics \ -nographics \
-quit \
-projectPath "$PWD/Development~/UnityProject" \ -projectPath "$PWD/Development~/UnityProject" \
-runTests \ -runTests \
-testPlatform EditMode \ -testPlatform EditMode \
@@ -12,5 +12,8 @@
"com.unity.test-framework": "1.1.33", "com.unity.test-framework": "1.1.33",
"com.cneicy.shrink-app-core": "file:../../..", "com.cneicy.shrink-app-core": "file:../../..",
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#7c0f199fe0d3fc528024488ccd671e6c7b27745b" "com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask#7c0f199fe0d3fc528024488ccd671e6c7b27745b"
} },
"testables": [
"com.cneicy.shrink-app-core"
]
} }
+1 -1
View File
@@ -6,7 +6,7 @@ namespace ShrinkApp.Editor
{ {
public static class ShrinkAppEditorMenu public static class ShrinkAppEditorMenu
{ {
[MenuItem("ShrinkApp/创建 Settings")] [MenuItem("ShrinkSDK/应用/创建设置")]
public static void CreateSettingsAsset() public static void CreateSettingsAsset()
{ {
const string resourcesDir = "Assets/Resources"; const string resourcesDir = "Assets/Resources";
+1 -1
View File
@@ -117,7 +117,7 @@ namespace ShrinkApp
ContextLoader = 1, ContextLoader = 1,
} }
[CreateAssetMenu(fileName = "ShrinkAppSettings", menuName = "ShrinkApp/Settings")] [CreateAssetMenu(fileName = "ShrinkAppSettings", menuName = "ShrinkSDK/应用/应用设置")]
public class ShrinkAppSettings : ScriptableObject public class ShrinkAppSettings : ScriptableObject
{ {
private static ShrinkAppSettings? _instance; private static ShrinkAppSettings? _instance;
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "com.cneicy.shrink-app-core", "name": "com.cneicy.shrink-app-core",
"version": "0.1.1", "version": "0.1.2",
"displayName": "ShrinkApp Core", "displayName": "ShrinkApp Core",
"description": "Shrink 系列统一宿主层,提供模块安装器、服务容器与统一启动流程。", "description": "Shrink 系列统一宿主层,提供模块安装器、服务容器与统一启动流程。",
"unity": "2022.3", "unity": "2022.3",