This repository was archived by the owner on May 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export default class Download extends Component {
88 latestVersion : version ,
99 downloadURLs : {
1010 deb : '' ,
11- squirrel : '' ,
11+ msi : '' ,
1212 zip_linux : ''
1313 }
1414 }
@@ -48,11 +48,11 @@ export default class Download extends Component {
4848 </ li >
4949 }
5050 {
51- this . state . downloadURLs . squirrel !== '' &&
51+ this . state . downloadURLs . msi !== '' &&
5252 < li >
53- < a target = "_blank" rel = "noreferrer" href = { this . state . downloadURLs . squirrel } className = "btn-flat brand-gradient gradient-text" >
53+ < a target = "_blank" rel = "noreferrer" href = { this . state . downloadURLs . msi } className = "btn-flat brand-gradient gradient-text" >
5454 < i className = "fa fa-windows" />
55- Windows
55+ Windows (MSI)
5656 </ a >
5757 </ li >
5858 }
@@ -86,14 +86,14 @@ export default class Download extends Component {
8686
8787 const debAsset = releaseInfo . assets . find ( ( asset ) => asset . name . includes ( '.deb' ) ) ;
8888 const zipLinuxAsset = releaseInfo . assets . find ( ( asset ) => asset . name . includes ( '.zip' ) && asset . name . includes ( 'linux' ) ) ;
89- const squirrelAsset = releaseInfo . assets . find ( ( asset ) => asset . name . includes ( '.exe ' ) ) ;
89+ const msiAsset = releaseInfo . assets . find ( ( asset ) => asset . name . includes ( '.msi ' ) ) ;
9090
9191 this . setState ( {
9292 latestVersion : releaseInfo . tag_name ,
9393 downloadURLs : {
9494 deb : debAsset ? debAsset . browser_download_url : '' ,
9595 zip_linux : zipLinuxAsset ? zipLinuxAsset . browser_download_url : '' ,
96- squirrel : squirrelAsset ? squirrelAsset . browser_download_url : '' ,
96+ msi : msiAsset ? msiAsset . browser_download_url : '' ,
9797 }
9898 } )
9999 }
You can’t perform that action at this time.
0 commit comments