diff options
Diffstat (limited to 'Mac/scripts/BuildApplication.py')
-rw-r--r-- | Mac/scripts/BuildApplication.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Mac/scripts/BuildApplication.py b/Mac/scripts/BuildApplication.py index ee82b7a..a7c8f40 100644 --- a/Mac/scripts/BuildApplication.py +++ b/Mac/scripts/BuildApplication.py @@ -18,6 +18,7 @@ from Carbon import Res from Carbon import Dlg import EasyDialogs import buildtools +import macresource # Hmmm... MACFREEZEPATH = os.path.join(sys.prefix, ":Mac:Tools:macfreeze") @@ -38,13 +39,7 @@ GEN68K_BUTTON = 6 PPC_ONLY=1 -try: - Res.GetResource('DITL', DLG_ID) -except Res.Error: - Res.FSpOpenResFile("BuildApplication.rsrc", 1) -else: - pass # we're an applet - +macresource.need('DITL', DLG_ID, "BuildApplication.rsrc") def main(): try: |