code/xb1rwdtinkerbackwindow/installapplet.rb in rwdshell-0.93 vs code/xb1rwdtinkerbackwindow/installapplet.rb in rwdshell-0.94
- old
+ new
@@ -1,12 +1,13 @@
def installapplet
require 'fileutils'
nametext = "%s" % [@a_installapplet]
begin # exception trapped block
- fileName = "zips/" + nametext + ".zip"
+ fullname = nametext + ".zip"
+ fileName = File.join($zipslocation,fullname)
- commandline = "unzip -o " + fileName
+ commandline = $unzipprogram + fileName
system( commandline+' > temp.output' )
system(commandline)