More fixes for creating/extracting directories.
[rox-archive.git] / v2 / main.py
blob125531e10ad42d15b3ea50a80b24ba44cd110bb8
1 import sys, gtk
2 from rox2 import support
4 if len(sys.argv) != 2:
5 support.alert(
6 "Drag a file or directory onto Archive to archive it. " +
7 "Drag an archive onto it to extract.",
8 type = gtk.MESSAGE_INFO)
9 else:
10 import Archive
11 Archive.make_archiver(sys.argv[1])
13 support.mainloop_with_refcount()