File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 145145 var current_arch = - 1 ;
146146 var include_curl = true ;
147147 var include_wget = true ;
148+ var include_homebrew = false ;
148149
149150 function updateInstallDiv ( ) {
150151 var arch_os = null ;
151152 var archive_ext = null ;
153+ include_homebrew = false ;
152154 if ( current_os == OS_LINUX ) {
153155 archive_ext = ".tar.gz" ;
154156 if ( current_arch == ARCH_X86_64 ) {
157159 arch_os = "aarch64-linux" ;
158160 }
159161 } else if ( current_os == OS_MACOS ) {
162+ include_homebrew = true ;
160163 archive_ext = ".tar.gz" ;
161164 if ( current_arch == ARCH_X86_64 ) {
162165 arch_os = "x86_64-macos" ;
180183 html += '<br/><h2>Command Line Install:</h2>' ;
181184 html += "<section><div class='Commands'>" ;
182185 var ids = { next_id : 0 } ;
186+ if ( include_homebrew ) {
187+ html += generateCommandHtml ( ids , "brew install zigup" ) ;
188+ }
183189 if ( include_curl ) {
184190 html += generateCommandHtml ( ids , 'curl -L ' + archive_url + ' | tar xz' ) ;
185191 }
You can’t perform that action at this time.
0 commit comments