Class: U3d::WindowsInstallationHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/u3d/installation.rb

Instance Method Summary collapse

Instance Method Details

#build_number(exe_path) ⇒ Object



299
300
301
302
303
304
305
306
# File 'lib/u3d/installation.rb', line 299

def build_number(exe_path)
  s = string_file_info("Unity Version", exe_path)
  if s
    a = s.split("_")
    return a[1] if a.count > 1
  end
  nil
end