Skip to content

Commit

Permalink
fix: 修复macos闪退问题 #179
Browse files Browse the repository at this point in the history
  • Loading branch information
yaobiao131 committed Nov 26, 2024
1 parent bbfdddb commit 6e3a16b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Empty file modified DownKyi.Core/Binary/osx-arm64/aria2/aria2c
100644 → 100755
Empty file.
Empty file modified DownKyi.Core/Binary/osx-x64/aria2/aria2c
100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions script/macos/package.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ mkdir "$APP_NAME/Contents/Resources"
cp "$INFO_PLIST" "$APP_NAME/Contents/Info.plist"
cp "$ICON_FILE" "$APP_NAME/Contents/Resources/$ICON_FILE"
cp -a "$PUBLISH_OUTPUT_DIRECTORY" "$APP_NAME/Contents/MacOS"
if [ ! -x $APP_NAME/Contents/MacOS/aria2/aria2c ]; then
chmod +x $APP_NAME/Contents/MacOS/aria2/aria2c
fi
if [ ! -x $APP_NAME/Contents/MacOS/aria2/aria2c ]; then
chmod +x $APP_NAME/Contents/MacOS/aria2/aria2c
fi

0 comments on commit 6e3a16b

Please sign in to comment.