class Autoit::Install

Module to supports CLI commands

Public Instance Methods

install() click to toggle source
# File lib/autoit/install.rb, line 14
def install
  path = "#{File.dirname(__FILE__)}\\..\\..\\vendor\\register#{OS.bits}.bat"
  if File.file? path
    system path
  else
    puts "Installation script not found on: [#{path}] Please, open an issue: https://github.com/rpossan/autoit/issues/new"
  end
end