blob: 04b4d7321f74ebeb7acb0229fc8fd01c276a3ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//
// main.m
// PythonLauncher
//
// Created by Jack Jansen on Fri Jul 19 2002.
// Copyright (c) 2002 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#include <unistd.h>
int main(int argc, const char *argv[])
{
char *home = getenv("HOME");
if (home) chdir(home);
return NSApplicationMain(argc, argv);
}
|