Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@
</div>
<div class="ui negative message" id="ofPathSierraMessage" style="display: none">
<div class="header">
Running on OSX Sierra or later for the first time?
Running on macOS 10.12 or later for the first time?
</div>
<p>For security reasons, please set the OF path to root of openframeworks (ie, the folder which has "addons", "libs", in it)</p>
<p>Please close the ProjectGenerator. Double click on _runMeFirst.command and then re-open the projectGenerator. If the OF path is not the root of the unzipped OF folder please set the OF path to this folder (ie, the folder which has "addons", "libs", in it)</p>
</div>
<div class="field">
<div class="ui checkbox verbose">
Expand Down
3 changes: 3 additions & 0 deletions scripts/osx/_macOSTranslocationFix.command
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
cd "$( dirname "${BASH_SOURCE[0]}" )"
xattr -r -d com.apple.quarantine projectGenerator.app
5 changes: 5 additions & 0 deletions scripts/osx/buildPG.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ sign_and_upload(){
# Copy commandLine into electron .app
cd ${pg_root}
cp commandLine/bin/projectGenerator projectGenerator-$PLATFORM/projectGenerator.app/Contents/Resources/app/app/projectGenerator 2> /dev/null

# Copy in the terminal script which fixes app translocation
cp scripts/osx/_macOSTranslocationFix.command projectGenerator-$PLATFORM/_runMeFirst.command
chmod a+x projectGenerator-$PLATFORM/_runMeFirst.command

sed -i -e "s/osx/$PLATFORM/g" projectGenerator-$PLATFORM/projectGenerator.app/Contents/Resources/app/settings.json

echo "${TRAVIS_REPO_SLUG}/${TRAVIS_BRANCH}";
Expand Down