Set directory permissions on macOS/Linux builds

This commit is contained in:
manongjohn 2021-09-10 17:43:07 -04:00
parent a86512e033
commit 4f16d3ec9a
2 changed files with 5 additions and 0 deletions

View file

@ -44,6 +44,7 @@ then
fi
mkdir -p Tahoma2D/ffmpeg
cp -R ../../thirdparty/apps/ffmpeg/bin/ffmpeg ../../thirdparty/apps/ffmpeg/bin/ffprobe Tahoma2D/ffmpeg
chmod -R 755 Tahoma2D/ffmpeg
fi
if [ -d ../../thirdparty/apps/rhubarb ]
@ -55,6 +56,7 @@ then
fi
mkdir -p Tahoma2D/rhubarb
cp -R ../../thirdparty/apps/rhubarb/rhubarb ../../thirdparty/apps/rhubarb/res Tahoma2D/rhubarb
chmod 755 -R Tahoma2D/rhubarb
fi
echo ">>> Creating Tahoma2D/Tahoma2D.AppImage"

View file

@ -32,6 +32,7 @@ then
fi
mkdir $TOONZDIR/Tahoma2D.app/ffmpeg
cp -R thirdparty/apps/ffmpeg/bin/ffmpeg thirdparty/apps/ffmpeg/bin/ffprobe $TOONZDIR/Tahoma2D.app/ffmpeg
chmod -R 755 $TOONZDIR/Tahoma2D.app/ffmpeg
fi
if [ -d thirdparty/apps/rhubarb ]
@ -44,6 +45,7 @@ then
fi
mkdir $TOONZDIR/Tahoma2D.app/rhubarb
cp -R thirdparty/apps/rhubarb/rhubarb thirdparty/apps/rhubarb/res $TOONZDIR/Tahoma2D.app/rhubarb
chmod -R 755 $TOONZDIR/Tahoma2D.app/rhubarb
fi
if [ -d thirdparty/canon/Framework ]
@ -54,6 +56,7 @@ then
mkdir $TOONZDIR/Tahoma2D.app/Contents/Frameworks
fi
cp -R thirdparty/canon/Framework/ $TOONZDIR/Tahoma2D.app/Contents/Frameworks
chmod -R 755 $TOONZDIR/Tahoma2D.app/Contents/Frameworks/EDSDK.framework
fi
echo ">>> Configuring Tahoma2D.app for deployment"