repo.or.cz
/
rox-archive.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removed the pyc files (oops!).
[rox-archive.git]
/
AppRun
blob
7209735e22f1033526efbe82370eb0345fa6772f
1
#!/usr/bin/env python
2
3
from
sys
import
argv
,
exit
4
from
os
.
path
import
dirname
5
6
from
gtk
import
*
7
from
GDK
import
*
8
9
from
Archive
import
*
10
from
support
import
*
11
12
app_dir
=
dirname
(
argv
[
0
])
13
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
])
20
21
mainloop
()