File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ export const getLatestReleases = async (): Promise<ReleaseUrls> => {
3939 const { assets : assetsStable , tag_name : tagStable } = releases . filter (
4040 ( rel ) => rel . prerelease === false
4141 ) [ 0 ]
42- const { assets : assetsBeta , tag_name : tagBeta } = releases . filter (
43- ( rel ) => rel . prerelease === true
44- ) [ 0 ]
42+ // const { assets: assetsBeta, tag_name: tagBeta } = releases.filter(
43+ // (rel) => rel.prerelease === true
44+ // )[0]
4545
4646 const appImageStable =
4747 assetsStable . filter ( ( a ) => a . name . endsWith ( '.AppImage' ) ) [ 0 ]
@@ -66,7 +66,7 @@ export const getLatestReleases = async (): Promise<ReleaseUrls> => {
6666 dmgBeta = null ,
6767 dmgArmBeta = null
6868
69- const isSameMajor = tagStable >= tagBeta . split ( '-' ) [ 0 ]
69+ // const isSameMajor = tagStable >= tagBeta.split('-')[0]
7070
7171 /* if (!isSameMajor) {
7272 appImageBeta = assetsBeta.filter((a) => a.name.endsWith('.AppImage'))[0]
You can’t perform that action at this time.
0 commit comments