Sha256: d0f47dfdb0811718096fb94871335d8de1a6840f71f3df1029b4eedd5a422994

Contents?: true

Size: 1015 Bytes

Versions: 15

Compression:

Stored size: 1015 Bytes

Contents

# install rwdtinker applet from a long directory location 
def installgemapplet
	require 'fileutils'
	require 'lib/zip/zip'
	nametext = "%s" % [@a_installapplet]

	begin # exception trapped block
		fullname =  nametext + ".zip"

		zf = Zip::ZipFile.new(fullname)
		zf.sort.each {
			|entry|
			zf.extract(entry.to_s, entry.to_s)
		}
		
	rescue
		
		         $rwdtinkerlog.error "installgemapplet: unzip error - applet may not be installed correctly"
	
                           @installapplettext = " .. "
	
        end # exception rescue

                @rwd_ignore_vars << @nametextbase << @returninitiateresults << @installapplettext	
		tmpnametext = File.basename(nametext)
		tmpnametext.chop!; tmpnametext.chop!; tmpnametext.chop!; tmpnametext.chop!
		@nametextbase = tmpnametext.chop!
		@returninitateresults = initiateapplet(@nametextbase)
		@installapplettext = Message[:applet_installed] + " " +   @returninitateresults 

				
       RWDWindow.new($rwd_gui_tinker, @rwd_window).render("DEFAULT")

	
end

Version data entries

15 entries across 15 versions & 12 rubygems

Version Path
bigtinker-0.96 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
bigtinker-0.97 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rubyslippers-1.08 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwddialogmap-0.02 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdeliza-0.05 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdfoldeditor-0.05 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdgutenberg-0.12 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdhypernote-0.15 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdmpd-0.07 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdruby-1.08 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdtinker-1.80 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdtinker-1.82 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdtinker-1.81 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
rwdtorrent-0.08 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb
tinkerbell-0.03 code/superant.com.rwdtinkerbackwindow/installgemapplet.rb