2002-07-29 18:36:35 -03:00
|
|
|
//
|
|
|
|
// main.m
|
|
|
|
// PythonLauncher
|
|
|
|
//
|
|
|
|
// Created by Jack Jansen on Fri Jul 19 2002.
|
|
|
|
// Copyright (c) 2002 __MyCompanyName__. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2004-06-03 11:15:50 -03:00
|
|
|
#include <unistd.h>
|
2002-07-29 18:36:35 -03:00
|
|
|
|
|
|
|
int main(int argc, const char *argv[])
|
|
|
|
{
|
2013-07-07 04:53:08 -03:00
|
|
|
char *home = getenv("HOME");
|
|
|
|
if (home) chdir(home);
|
2002-07-29 18:36:35 -03:00
|
|
|
return NSApplicationMain(argc, argv);
|
|
|
|
}
|