Ignore:
Timestamp:
Feb 23, 2009, 1:58:00 PM (12 years ago)
Author:
krischik@…
Message:

Using application bundles to start the program.

Location:
trunk/dports/emulators/atari800/files/Atari320XE.app
Files:
6 added
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/atari800/files/Atari320XE.app/Contents/MacOS/Atari320XE.command

    r47111 r47207  
    1 #!@PREFIX@/bin/zsh
     1#!/bin/zsh
    22############################################################## {{{1 ##########
    33#   $Author$
     
    88
    99local User_Data="${HOME}/Library/Application Support/Atari800"
    10 local System_Data="@PREFIX@/share/atari800";
     10local System_Data="/opt/local/share/atari800";
    1111
    1212if test ! -d "${User_Data}"; then
     
    1414fi;
    1515
    16 if test ! -w  "${User_Data}/MYDOS45D.ATR"; then
    17     cp                                          \
    18         @PREFIX@/share/atari800/MYDOS45D.ATR    \
    19         "${User_Data}/MYDOS45D.ATR"             ;
    20 fi;
     16for I in            \
     17    "DEMOS1.XFD     \
     18    "DEMOS2.XFD     \
     19    "DOS25.XFD      \
     20    "MYDOS45D.ATR
     21do
     22    if test ! -f  "${User_Data}/MYDOS45D.ATR"; then
     23        cp                                      \
     24            "/opt/local/share/atari800/${I}"    \
     25            "${User_Data}/${I}"                 ;
     26    fi;
     27done; unset I
    2128
    22 @PREFIX@/bin/atari800                           \
     29/opt/local/bin/atari800                         \
    2330    -320xe                                      \
    2431    -basic                                      \
Note: See TracChangeset for help on using the changeset viewer.