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



291
292
293
294
295
296
297
298
# File 'lib/u3d/installation.rb', line 291

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