File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ def watch_sketch
141141 def install ( library = nil )
142142 require_relative 'installer'
143143 library ||= 'new'
144- case library . downcase
144+ choice = library . downcase
145+ case choice
145146 when /sound|video/
146147 system "cd #{ K9_ROOT } /vendors && rake download_and_copy_#{ choice } "
147148 when /samples/
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ WARNING = <<~WARN
1111
1212WARN
1313# https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip
14- JRUBYC_VERSION = '9.2.13 .0'
14+ JRUBYC_VERSION = '9.2.14 .0'
1515SOUND = 'sound.zip'
16- SOUND_VERSION = 'v2.2.2 '
17- VIDEO = 'video-2.0-beta4 .zip'
18- VIDEO_VERSION = 'r6- v2.0-beta4 '
19- EXAMPLES = '3.8 '
16+ SOUND_VERSION = 'v2.2.3 '
17+ VIDEO = 'video.zip'
18+ VIDEO_VERSION = 'v2.0'
19+ EXAMPLES = '3.9 '
2020HOME_DIR = ENV [ 'HOME' ]
2121MAC_OR_LINUX = /linux|mac|darwin/ . match? ( RbConfig ::CONFIG [ 'host_os' ] )
2222
9898desc 'download video library'
9999task :download_video do
100100 wget_base = 'wget https://github.com/processing/processing-video'
101- wget_string = [ wget_base , 'releases/download' , VIDEO_VERSION , VIDEO ] . join ( '/' )
101+ wget_string = [ wget_base , 'releases/download' , VIDEO ] . join ( '/' )
102102 system wget_string
103103end
104104
You can’t perform that action at this time.
0 commit comments