File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ <h2>Download</h2>
3030 < div class ="download-card ">
3131 < div class ="platform-icon "> ⊞</ div >
3232 < h3 > Windows</ h3 >
33- < a href ="https://github.com/stringhandler/dota-keeper/releases/latest/download/dota-keeper_0.0.0_x64_en-US.msi.zip "
33+ < a href ="https://github.com/stringhandler/dota-keeper/releases/latest "
3434 id ="dl-windows "
3535 class ="btn-download ">
3636 Download .msi
@@ -39,12 +39,12 @@ <h3>Windows</h3>
3939 < div class ="download-card ">
4040 < div class ="platform-icon "> ⌘</ div >
4141 < h3 > macOS</ h3 >
42- < a href ="https://github.com/stringhandler/dota-keeper/releases/latest/download/dota-keeper_aarch64.app.tar.gz "
42+ < a href ="https://github.com/stringhandler/dota-keeper/releases/latest "
4343 id ="dl-macos-arm "
4444 class ="btn-download ">
4545 Apple Silicon
4646 </ a >
47- < a href ="https://github.com/stringhandler/dota-keeper/releases/latest/download/dota-keeper_x64.app.tar.gz "
47+ < a href ="https://github.com/stringhandler/dota-keeper/releases/latest "
4848 id ="dl-macos-x64 "
4949 class ="btn-download ">
5050 Intel
@@ -53,7 +53,7 @@ <h3>macOS</h3>
5353 < div class ="download-card ">
5454 < div class ="platform-icon "> 🐧</ div >
5555 < h3 > Linux</ h3 >
56- < a href ="https://github.com/stringhandler/dota-keeper/releases/latest/download/dota-keeper_0.0.0_amd64.AppImage.tar.gz "
56+ < a href ="https://github.com/stringhandler/dota-keeper/releases/latest "
5757 id ="dl-linux "
5858 class ="btn-download ">
5959 Download AppImage
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ async function loadLatestRelease() {
2121 data . assets . forEach ( asset => {
2222 const name = asset . name . toLowerCase ( ) ;
2323
24- // Windows .msi. zip
25- if ( name . endsWith ( '.msi.zip ' ) ) {
24+ // Windows .msi (NOT .msi. zip)
25+ if ( name . endsWith ( '.msi' ) ) {
2626 const windowsBtn = document . querySelector ( '#dl-windows' ) ;
2727 if ( windowsBtn ) {
2828 windowsBtn . href = asset . browser_download_url ;
@@ -35,7 +35,7 @@ async function loadLatestRelease() {
3535 linuxBtn . href = asset . browser_download_url ;
3636 }
3737 }
38- // macOS Apple Silicon (aarch64)
38+ // macOS Apple Silicon (aarch64) - check before x64 to avoid conflicts
3939 else if ( name . includes ( 'aarch64' ) && name . endsWith ( '.app.tar.gz' ) ) {
4040 const macosArmBtn = document . querySelector ( '#dl-macos-arm' ) ;
4141 if ( macosArmBtn ) {
You can’t perform that action at this time.
0 commit comments