code/superant.com.rwdtinkerbackwindow/installapplet.rb in rwdschedule-0.92 vs code/superant.com.rwdtinkerbackwindow/installapplet.rb in rwdschedule-0.93
- old
+ new
@@ -1,21 +1,21 @@
- def installapplet
- require 'fileutils'
- nametext = "%s" % [@a_installapplet]
-
- begin # exception trapped block
- fullname = nametext + ".zip"
- fileName = File.join($zipslocation,fullname)
-
- commandline = $unzipprogram + fileName
- system( commandline+' > temp.output' )
-
-
-
- system(commandline)
- @installapplettext = Message[:applet_installed]
-
- rescue
- @installapplettext = "Done! - Check applet list - restart rwd to activate the new applet"
- end # exception rescue
-
- end
+ def installapplet
+ require 'fileutils'
+ nametext = "%s" % [@a_installapplet]
+
+ begin # exception trapped block
+ fullname = nametext + ".zip"
+ fileName = File.join($zipslocation,fullname)
+
+ commandline = $unzipprogram + fileName
+ system( commandline+' > temp.output' )
+
+
+
+ system(commandline)
+ @installapplettext = Message[:applet_installed]
+
+ rescue
+ @installapplettext = "Done! - Check applet list - restart rwd to activate the new applet"
+ end # exception rescue
+
+ end