2005-09-31 Geoff Norotn <gnorton@customerdna.com>
authorGeoff Norton <grompf@sublimeintervention.com>
Fri, 16 Sep 2005 00:59:13 +0000 (00:59 -0000)
committerGeoff Norton <grompf@sublimeintervention.com>
Fri, 16 Sep 2005 00:59:13 +0000 (00:59 -0000)
        * LOADER: We exposed an apple bug.  This caused duplicates of the
        main window to open by having AppName in Resources.  Modified from
        a patch provided by Aaron Flynt (aaron@aaronflynt.com)

svn path=/trunk/mcs/; revision=50120

mcs/tools/macpack/ChangeLog
mcs/tools/macpack/LOADER

index 31c3b43998609ec603c6462fd71ca83c757e056e..8b138fe1d2249f47f797a62d4cc1c060d77ba526 100644 (file)
@@ -1,3 +1,9 @@
+2005-09-31  Geoff Norotn  <gnorton@customerdna.com>
+
+       * LOADER: We exposed an apple bug.  This caused duplicates of the
+       main window to open by having AppName in Resources.  Modified from
+       a patch provided by Aaron Flynt (aaron@aaronflynt.com)
+
 2005-09-31  Geoff Norton  <gnorton@customerdna.com>
 
        * LOADER: Launch a runtime generated symlink to mono instead of
index 02777758afca2e0ea7445309fb81d47756e831fd..67ffd68717eb572323b7f366b7c6b3158a228823 100755 (executable)
@@ -36,7 +36,8 @@ cd "$APP_PATH/Contents/Resources"
 if [ "$X11_MODE" -eq "1" ]; then
        open-x11 "$APP_NAME"
 else
+       if [ ! -d "./bin" ]; then mkdir bin ; fi
        if [ -f "$APP_NAME" ]; then rm -f $APP_NAME ; fi
-       ln -s `which mono` "$APP_NAME" 
-       "./$APP_NAME" "$ASSEMBLY"
+       ln -s `which mono` "./bin/$APP_NAME" 
+       "./bin/$APP_NAME" "$ASSEMBLY"
 fi