Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed Nov 7, 2024
1 parent bb3c67d commit d6a5625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,7 @@ jobs:
--hidden-import view \
--strip --windowed -i Icon.icns \
start.py
# rm -rf dist/PicACG
# cp Icon.icns dist/
# ln -s /Applications/ dist/Applications
cp -avf db dist/PicACG.app/Contents/MacOS
cp -avf db dist/PicACG.app/Contents/Frameworks
xattr -cr dist/PicACG.app
create-dmg --volname "PicACG" --volicon "Icon.icns" --icon "PicACG.app" 200 190 \
--window-pos 200 120 \
Expand Down Expand Up @@ -99,10 +96,7 @@ jobs:
--hidden-import view \
--strip --windowed -i Icon.icns \
start.py
# rm -rf dist/PicACG
# cp Icon.icns dist/
# ln -s /Applications/ dist/Applications
cp -avf db dist/PicACG.app/Contents/MacOS
cp -avf db dist/PicACG.app/Contents/Frameworks
xattr -cr dist/PicACG.app
create-dmg --volname "PicACG" --volicon "Icon.icns" --icon "PicACG.app" 200 190 \
--window-pos 200 120 \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
--hidden-import view \
--strip --windowed -i Icon.icns \
start.py
cp -avf db dist/PicACG.app/Contents/MacOS
cp -avf db dist/PicACG.app/Contents/Frameworks
xattr -cr dist/PicACG.app
create-dmg --volname "PicACG" --volicon "Icon.icns" --icon "PicACG.app" 200 190 \
--window-pos 200 120 \
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
--hidden-import view \
--strip --windowed -i Icon.icns \
start.py
cp -avf db dist/PicACG.app/Contents/MacOS
cp -avf db dist/PicACG.app/Contents/Frameworks
xattr -cr dist/PicACG.app
create-dmg --volname "PicACG" --volicon "Icon.icns" --icon "PicACG.app" 200 190 \
--window-pos 200 120 \
Expand Down

0 comments on commit d6a5625

Please sign in to comment.