diff options
author | redsky17 <joedonofry@gmail.com> | 2019-02-05 02:16:15 +0000 |
---|---|---|
committer | redsky17 <joedonofry@gmail.com> | 2019-02-05 02:16:15 +0000 |
commit | e156ee3d53576c4c75533b0176520050865fb85f (patch) | |
tree | 2fe053a7f86f2093b1e8218dbafefb17d23ad08c /.ci | |
parent | Copy icu4c dylib symlinks in mac deploy (diff) | |
download | nheko-e156ee3d53576c4c75533b0176520050865fb85f.tar.xz |
Fix cp permissions issue
Diffstat (limited to '.ci')
-rwxr-xr-x | .ci/macos/deploy.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.ci/macos/deploy.sh b/.ci/macos/deploy.sh index c573e2a6..dd117881 100755 --- a/.ci/macos/deploy.sh +++ b/.ci/macos/deploy.sh @@ -8,13 +8,15 @@ TAG=`git tag -l --points-at HEAD` PATH=/usr/local/opt/qt/bin/:${PATH} pushd build -sudo macdeployqt nheko.app -dmg # macdeployqt does not copy symlinks over. # this specifically addresses icu4c issues but nothing else. export ICU_LIB="$(brew --prefix icu4c)/lib" +mkdir -p nheko.app/Contents/Frameworks find ${ICU_LIB} -type l -name "*.dylib" -exec cp {} nheko.app/Contents/Frameworks/ \; || true +sudo macdeployqt nheko.app -dmg + user=$(id -nu) sudo chown ${user} nheko.dmg mv nheko.dmg .. |