Removed the pyc files (oops!).
[rox-archive.git] / AppRun
blob7209735e22f1033526efbe82370eb0345fa6772f
1 #!/usr/bin/env python
3 from sys import argv, exit
4 from os.path import dirname
6 from gtk import *
7 from GDK import *
9 from Archive import *
10 from support import *
12 app_dir = dirname(argv[0])
14 if len(argv) != 2:
15 report_error("Drag a file or directory onto Archive to archive it. " +
16 "Drag an archive onto it to extract.")
17 exit();
18 else:
19 make_archiver(argv[1])
21 mainloop()