Permalink
Browse files

* fixed install directory

git-svn-id: http://svn.gna.org/svn/fullscreen-p5/trunk@16 2047cd6a-46a1-4efc-9f20-c343b47ea501
  • Loading branch information...
1 parent 873d850 commit cc40ecfc83c20f24e1f52af0523a27372a416434 kritzikratzi committed Oct 4, 2008
Showing with 8 additions and 3 deletions.
  1. +2 −2 build.xml
  2. +6 −1 src/fullscreen/FullScreenBase.java
View
@@ -21,7 +21,7 @@
-->
<project name="Processing Fullscreen API" default="dist">
<!-- path to the processing installation -->
- <property name="sketch.path" value="${user.dir}/Documents/Processing"/>
+ <property name="sketch.path" value="${user.home}/Documents/Processing"/>
<property name="version" value="0.95"/>
<fileset id="cp" includes="dependencies/*.jar"/>
@@ -106,7 +106,7 @@
<!-- install the library, the processing folder (at the top) has to be specified! -->
<target name="install" depends="dist">
- <unzip dest="${sketch.path}/libraries/fullscreen/">
+ <unzip dest="${sketch.path}/libraries/">
<fileset file="dist/fullscreen.zip"/>
</unzip>
</target>
@@ -35,7 +35,12 @@ public FullScreenBase( PApplet dad ){
dad.registerKeyEvent( this );
// Make this sketch gl aware
- GLFullScreenHelper.addOpenGLSupport( dad );
+ try{
+ GLFullScreenHelper.addOpenGLSupport( dad );
+ }
+ catch( Throwable t ){
+ t.printStackTrace();
+ }
}

0 comments on commit cc40ecf

Please sign in to comment.