cwtch-ui/macos/package-release.sh

26 lines
689 B
Bash
Raw Normal View History

#!/bin/sh
# Run from SRCROOT
cp libCwtch.x64.dylib build/macos/Build/Products/Release/Cwtch.app/Contents/Frameworks/
2022-06-22 19:34:53 +00:00
cp libCwtch.arm64.dylib build/macos/Build/Products/Release/Cwtch.app/Contents/Frameworks/
2021-11-05 01:10:47 +00:00
cp -r macos/Tor build/macos/Build/Products/Release/Cwtch.app/Contents/MacOS/
2021-08-29 00:41:08 +00:00
rm Cwtch.dmg
rm -r macos_dmg
mkdir macos_dmg
2021-08-29 00:41:08 +00:00
cp -r "build/macos/Build/Products/Release/Cwtch.app" macos_dmg/
2021-11-05 01:10:47 +00:00
# https://github.com/create-dmg/create-dmg
create-dmg \
2021-08-29 00:41:08 +00:00
--volname "Cwtch" \
--volicon "macos/cwtch.icns" \
--window-pos 200 120 \
--window-size 800 400 \
--icon-size 100 \
2021-08-29 00:41:08 +00:00
--icon "Cwtch.app" 200 190 \
--hide-extension "Cwtch.app" \
--app-drop-link 600 185 \
2021-08-29 00:41:08 +00:00
"Cwtch.dmg" \
macos_dmg