Loading on older OSX might crash

Issue #15 resolved
Thomas Thomassen repo owner created an issue

A user using OSX 10.6 reported crashes: https://extensions.sketchup.com/en/content/tt_lib%C2%B2#comment-22751

Probably because the binaries are built for 10.7. Find a way to prevent loading of binaries under older versions.

Comments (2)

  1. Thomas Thomassen reporter

    the most recent was probably this filter

    sw_vers is a builtin that returns

    • ProductName: Mac OS X
    • ProductVersion: 10.10.1
    • BuildVersion: 14B25
    if  %x(sw_vers -productVersion).to_i == 10
      puts 'we have Yosemite, good to go'
    else
      UI.messagebox( "This code works only for Yosemite " )
    end
    
  2. Log in to comment