mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Do not assume that create-dmg
is in the dependencies
It can be installed using brew
This commit is contained in:
parent
e7061c586c
commit
fb5489e425
@ -28,6 +28,7 @@ jobs:
|
|||||||
- script: |
|
- script: |
|
||||||
brew install qt
|
brew install qt
|
||||||
brew link qt --force
|
brew link qt --force
|
||||||
|
brew install create-dmg
|
||||||
wget "https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2" -P $(Build.SourcesDirectory)/compressed_archive
|
wget "https://sourceforge.net/projects/p7zip/files/p7zip/16.02/p7zip_16.02_src_all.tar.bz2" -P $(Build.SourcesDirectory)/compressed_archive
|
||||||
tar xjf $(Build.SourcesDirectory)/compressed_archive/p7zip_16.02_src_all.tar.bz2 -C $(Build.SourcesDirectory)/compressed_archive
|
tar xjf $(Build.SourcesDirectory)/compressed_archive/p7zip_16.02_src_all.tar.bz2 -C $(Build.SourcesDirectory)/compressed_archive
|
||||||
mv $(Build.SourcesDirectory)/compressed_archive/p7zip_16.02 $(Build.SourcesDirectory)/compressed_archive/libp7zip
|
mv $(Build.SourcesDirectory)/compressed_archive/p7zip_16.02 $(Build.SourcesDirectory)/compressed_archive/libp7zip
|
||||||
|
@ -51,7 +51,6 @@ cp README.md "${dest}/"
|
|||||||
|
|
||||||
echo "Creating dmg package"
|
echo "Creating dmg package"
|
||||||
#tar -czf "${dest}".tar.gz "${dest}"
|
#tar -czf "${dest}".tar.gz "${dest}"
|
||||||
#hdiutil create "${dest}".dmg -srcfolder "./${dest}" -ov
|
#hdiutil create "${dest}".dmg -srcfolder "./${dest}" -ov create-dmg --volname "YACReader $VERSION Installer" --volicon icon.icns --window-size 600 403 --icon-size 128 --app-drop-link 485 90 --background background.png --icon YACReader 80 90 --icon YACReaderLibrary 235 90 --eula COPYING.txt --icon YACReaderLibraryServer 470 295 --icon README.md 120 295 --icon COPYING.txt 290 295 "$dest.dmg" "$dest"
|
||||||
./dependencies/create-dmg/create-dmg --volname "YACReader $VERSION Installer" --volicon icon.icns --window-size 600 403 --icon-size 128 --app-drop-link 485 90 --background background.png --icon YACReader 80 90 --icon YACReaderLibrary 235 90 --eula COPYING.txt --icon YACReaderLibraryServer 470 295 --icon README.md 120 295 --icon COPYING.txt 290 295 "$dest.dmg" "$dest"
|
|
||||||
|
|
||||||
echo "Done!"
|
echo "Done!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user