code/superant.com.rwdtinkerbackwindow/installgemapplet.rb in rwdtorrent-0.05 vs code/superant.com.rwdtinkerbackwindow/installgemapplet.rb in rwdtorrent-0.06
- old
+ new
@@ -10,12 +10,25 @@
zf = Zip::ZipFile.new(fullname)
zf.sort.each {
|entry|
zf.extract(entry.to_s, entry.to_s)
}
- @installapplettext = Message[:applet_installed]
-
- rescue
- @installapplettext = "unzip error - applet may not be installed correctly"
+
+ rescue
+
+ if $DEBUG
+ $stderr.puts "unzip error - applet may not be installed correctly"
+ end
+ @installapplettext = " .. "
+
end # exception rescue
+
+ @nametextbase = File.basename(nametext)
+ @returninitateresults = initiateapplet(@nametextbase)
+ @installapplettext = Message[:applet_installed] + " " + @returninitateresults
+
+
+ RWDWindow.new($rwd_gui_tinker, @rwd_window).render("DEFAULT")
+
+
end