If an archive contained a single directory, and that directory contained a
[rox-archive.git] / AppRun
blob8722d2589c1702069bf59e4dd65bef4daf46a458
1 #!/usr/bin/env python
3 import findrox
5 from sys import argv, exit
7 from gtk import *
8 from GDK import *
10 from Archive import *
11 from support import *
13 if len(argv) != 2:
14 report_error("Drag a file or directory onto Archive to "
15 "archive it. Drag an archive onto it to extract.",
16 "Archive")
17 else:
18 make_archiver(argv[1])
20 rox_toplevel_unref()
21 rox_mainloop()