Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

fix(ci): preserve symlinks when copying macOS app bundle

AoEiuV020c1c205f746de
diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
index a3199ffa..22f84e9f 100644
--- a/.github/workflows/pr.yaml
+++ b/.github/workflows/pr.yaml
@@ -256,7 +256,7 @@
- name: Create DMG
run: |
mkdir -p build/dist
- cp -r build/macos/Build/Products/Release/kazumi.app build/dist/
+ cp -a build/macos/Build/Products/Release/kazumi.app build/dist/
ln -s /Applications build/dist/Applications
hdiutil create -format UDZO -srcfolder build/dist -volname kazumi Kazumi_macos_canary.dmg
- name: Upload MacOS build
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 17cf5c60..99998f92 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -311,7 +311,7 @@
- name: Create DMG
run: |
mkdir -p build/dist
- cp -r build/macos/Build/Products/Release/kazumi.app build/dist/
+ cp -a build/macos/Build/Products/Release/kazumi.app build/dist/
ln -s /Applications build/dist/Applications
hdiutil create -format UDZO -srcfolder build/dist -volname kazumi Kazumi_macos_${{ env.tag }}.dmg
- name: Upload MacOS build