5 name
= "BlackBox LinDev"
9 print >> OUT
, "#!/bin/sh"
13 print >> OUT
, "mkdir "+cwd
+"/hide"
14 print >> OUT
, "mv "+cwd
+"/Lin "+cwd
+"/hide/"
15 print >> OUT
, "mv "+cwd
+"/System "+cwd
+"/hide/"
16 print >> OUT
, "mv "+cwd
+"/Host "+cwd
+"/hide/"
17 print >> OUT
, "mv "+cwd
+"/Code "+cwd
+"/hide/"
18 print >> OUT
, "mv "+cwd
+"/Sym "+cwd
+"/hide/"
20 print >> OUT
, "wine "+cwd
+"/bb16rc6win/BlackBox.exe -use \"`winepath -w \"$PWD\"`\" $* &"
22 print >> OUT
, "sleep 2"
24 print >> OUT
, "mv "+cwd
+"/hide/* "+cwd
+"/"
25 print >> OUT
, "rm "+cwd
+"/hide -R"
27 os
.system('chmod +x "'+name
+'"')
29 os
.system('mv "'+name
+'" "'+os
.environ
['HOME']+'/.gnome2/nautilus-scripts/" ')