Sha256: 972d6df50e5bc8409ade20291d690765a1d8419823e89f0bcd020cb9be38571b

Contents?: true

Size: 691 Bytes

Versions: 59

Compression:

Stored size: 691 Bytes

Contents

  def removeapplet
   require 'fileutils'
    nametext = "%s" % [@a_removeapplet]
	 
        begin # exception trapped block
   	 fileName = "installed/" + nametext + ".inf"
        count =  0
	fd = File.open(fileName,"r") 
	       
   	    
   	    fd.each { |oneline|   
         if count == 1
        commandline = "rm -r " + oneline
         system( commandline+' > temp.output' )
         end
         count = 1
      }
   fd.close
    commandline = "rm " + fileName
    
    system(commandline)
   @removeapplettext = "applet files removed! - restart rwd to finish uninstalling"    
 
        rescue
            @removeapplettext = "\n" + "error"
        end # exception rescue

  end

Version data entries

59 entries across 59 versions & 8 rubygems

Version Path
rwddemo-0.7 code/xb1rwdtinkerbackwindow/mm1removeapplet.rb
rwdhypernote-0.03 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdhypernote-0.04 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdmovies-0.90 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdmovies-0.7 code/xb1rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.5 code/xb1rwdtinkerbackwindow/mm1removeapplet.rb
rwdschedule-0.6 code/xb1rwdtinkerbackwindow/mm1removeapplet.rb
rwdschedule-0.8 code/xb1rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.9 code/xb1rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.96 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.94 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.95 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdshell-0.95 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdshell-0.92 code/xb1rwdtinkerbackwindow/mm1removeapplet.rb
rwdshell-0.94 code/xb1rwdtinkerbackwindow/removeapplet.rb
rwdshell-0.9 code/xb1rwdtinkerbackwindow/mm1removeapplet.rb
rwdshell-0.93 code/xb1rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.91 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdschedule-0.92 code/superant.com.rwdtinkerbackwindow/removeapplet.rb
rwdtinker-1.23 code/xb1rwdtinkerbackwindow/mm1removeapplet.rb