-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f96ab68
commit 312f713
Showing
5 changed files
with
104 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
function getLauncherLatestVersion() { | ||
var xmlHttp = new XMLHttpRequest(); | ||
var requestLink = "https://api.github.com/repos/Reeversee/ReverseLauncherBeta/releases/latest"; | ||
xmlHttp.open("GET", requestLink, false); | ||
xmlHttp.send(null); | ||
var releaseInfo = JSON.parse(xmlHttp.responseText); | ||
return releaseInfo.tag_name; | ||
} | ||
|
||
function getLauncherPreRelease() { | ||
var xmlHttp = new XMLHttpRequest(); | ||
var requestLink = "https://api.github.com/repos/Reeversee/ReverseLauncherBeta/releases/latest"; | ||
xmlHttp.open("GET", requestLink, false); | ||
xmlHttp.send(null); | ||
var releaseInfo = JSON.parse(xmlHttp.responseText); | ||
return releaseInfo.prerelease; | ||
} | ||
|
||
function getLauncherInfo() { | ||
var version = getLauncherLatestVersion(); | ||
var prerelease = getLauncherPreRelease(); | ||
if (prerelease == 'false'){ | ||
prerelease = 'beta' | ||
} | ||
else { | ||
prerelease = 'release' | ||
} | ||
document.getElementById("launcher_version").innerHTML = 'Reverse Launcher | App | ' + 'v' + version + ' | ' + prerelease; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
function getStormLatestVersion() { | ||
var xmlHttp = new XMLHttpRequest(); | ||
var requestLink = "https://api.github.com/repos/bublickkk/StormImg/releases/latest"; | ||
xmlHttp.open("GET", requestLink, false); | ||
xmlHttp.send(null); | ||
var releaseInfo = JSON.parse(xmlHttp.responseText); | ||
return releaseInfo.tag_name; | ||
} | ||
|
||
function getStormPreRelease() { | ||
var xmlHttp = new XMLHttpRequest(); | ||
var requestLink = "https://api.github.com/repos/bublickkk/StormImg/releases/latest"; | ||
xmlHttp.open("GET", requestLink, false); | ||
xmlHttp.send(null); | ||
var releaseInfo = JSON.parse(xmlHttp.responseText); | ||
return releaseInfo.prerelease; | ||
} | ||
|
||
function getStormInfo() { | ||
var version = getStormLatestVersion(); | ||
var prerelease = getStormPreRelease(); | ||
if (prerelease == 'false'){ | ||
prerelease = 'beta' | ||
} | ||
else { | ||
prerelease = 'release' | ||
} | ||
document.getElementById("storm_version").innerHTML = 'The Ocean Shore | Game | ' + 'v' + version + ' | ' + prerelease; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
312f713
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
reverse – ./
reverse-livid.vercel.app
reverse-git-main-reeverse-entertainment.vercel.app
reverse-reeverse-entertainment.vercel.app