lib/jruby_art/installer.rb in jruby_art-1.4.9 vs lib/jruby_art/installer.rb in jruby_art-1.5.0
- old
+ new
@@ -19,11 +19,14 @@
def set_processing_root
folder = "#{HOME}/.jruby_art"
Dir.mkdir(folder) unless File.exist? folder
path = File.join(folder, 'config.yml')
proot = "#{HOME}/processing-#{VERSION}"
+ proot = "/usr/local/lib/processing-#{VERSION}" if os == :arm
proot = "/Java/Processing-#{VERSION}" if os == :windows
proot = '/Applications/Processing.app/Contents/Java' if os == :mac
+ jruby = true
+ jruby = false if os == :arm
settings = %w[
PROCESSING_ROOT JRUBY sketchbook_path template MAX_WATCH sketch_title width height
]
values = [
proot, true, sketch, 'bare', 32, 'JRubyArt Static Sketch', 600, 600