File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 7575</ style >
7676< script >
7777
78- const version = "v2025_01_02" ;
7978function get ( id ) { return document . getElementById ( id ) ; }
8079
8180
180179
181180 if ( arch_os != null ) {
182181 const basename = 'zigup-' + arch_os + archive_ext ;
183- const archive_url = 'https://github.com/marler8997/zigup/releases/download/' + version + ' /' + basename ;
182+ const archive_url = 'https://github.com/marler8997/zigup/releases/latest/download /' + basename ;
184183 html += '<br/><h2 style="margin:15px"><a href="' + archive_url + '">' + basename + '</a></h2>' ;
185184
186185 html += '<br/><h2>Command Line Install:</h2>' ;
196195 html += generateCommandHtml ( ids , 'wget -O - ' + archive_url + ' | tar xz' ) ;
197196 }
198197 if ( include_powershell ) {
199- html += generateCommandHtml ( ids , "Invoke-WebRequest -Uri " + archive_url + " -OutFile \"zigup-" + arch_os + ".zip\"; Expand-Archive -Path \"zigup-" + arch_os + ".zip\" -DestinationPath \"zigup-" + version + " \"") ;
198+ html += generateCommandHtml ( ids , "Invoke-WebRequest -Uri " + archive_url + " -OutFile \"zigup-" + arch_os + ".zip\"; Expand-Archive -Path \"zigup-" + arch_os + ".zip\" -DestinationPath \"zigup\"" ) ;
200199 }
201200 html += "</div></section>" ;
202201 }
203202 get ( 'InstallDiv' ) . innerHTML = html ;
204203 }
205204
206205 function bodyOnload ( ) {
207- get ( "VersionDiv" ) . innerHTML = version ;
208206 updateInstallDiv ( )
209207
210208 let userAgent = window . navigator . userAgent ;
220218</ head > < body onload ="bodyOnload() ">
221219
222220< h1 > Install Zigup</ h1 >
223- < div id ="VersionDiv "> </ div >
224221< div style ="margin:10px ">
225222 < span id ="ButtonLinux " class ="FilterButton " onclick ="toggleOs(OS_LINUX) "> Linux</ span >
226223 < span id ="ButtonMacos " class ="FilterButton " onclick ="toggleOs(OS_MACOS) "> macOS</ span >
You can’t perform that action at this time.
0 commit comments