add "ant app" version that launches w/ os launcher

This commit is contained in:
Ben Fry
2017-05-04 13:44:56 -04:00
parent 3210bd202e
commit 8c90a87c82
2 changed files with 17 additions and 3 deletions
+14 -1
View File
@@ -307,6 +307,13 @@
<antcall target="${platform}-run" />
</target>
<!-- Run the app in a more "native" manner, i.e. no additional
console for debugging. Ensures that double-clicking shortcuts
and other desktop integration features work properly. -->
<target name="app" description="Run Processing w/o console.">
<antcall target="${platform}-run-app" />
</target>
<target name="dist" depends="revision-check"
description="Build Processing for distribution.">
<input message="Enter version number:"
@@ -682,10 +689,16 @@
<exec executable="open" dir="macosx/work" spawn="true">
<arg value="-a" />
<arg value="/Applications/Utilities/Terminal.app" />
<!-- <arg value="Processing.app/Contents/MacOS/JavaApplicationStub" />-->
<arg value="Processing.app/Contents/MacOS/Processing" />
</exec>
</target>
<target name="macosx-run-app" depends="macosx-build"
description="Run Mac OS X version without console">
<exec executable="open" dir="macosx/work" spawn="true">
<arg value="Processing.app" />
</exec>
</target>
<target name="macosx-dist-sign" if="codesign">
<echo>
+3 -2
View File
@@ -11,13 +11,14 @@ X xattr -d -r com.apple.quarantine
X https://github.com/steakknife/unsign
X https://developer.apple.com/library/content/technotes/tn2318
X 'run sketches on display' message shows up on clean install
X should ant run launch the .app so that launchsvcs stuff works properly?
X double-clicking a .pde file won't open the app correctly
X add 'ant app' target, at least for macOS
gohai
X IO library updates
X https://github.com/processing/processing/pull/5044
_ should ant run launch the .app so that launchsvcs stuff works properly?
_ sketch.properties not being written if initial mode is p5.js?
_ when creating a sketch within non-Java mode, should write the settings file
_ so that it re-loads in the proper environment