Class: Autoit::Install

Inherits:
Thor
  • Object
show all
Defined in:
lib/autoit/install.rb

Overview

Module to supports CLI commands

Instance Method Summary collapse

Instance Method Details

#installObject



14
15
16
17
18
19
20
21
# 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