Fixes 2.0 (#8)
This commit is contained in:
parent
13effc58fe
commit
a88ccd92ff
5 changed files with 4 additions and 8 deletions
|
@ -12,7 +12,6 @@ interface SimplifiedGHReleases {
|
|||
// TODO: caching
|
||||
export async function getLatestMinecraftVersion(): Promise<string> {
|
||||
const f = await fetch(
|
||||
/* CHANGEME */
|
||||
'https://meta.prismlauncher.org/v1/net.minecraft/package.json'
|
||||
);
|
||||
|
||||
|
@ -22,7 +21,6 @@ export async function getLatestMinecraftVersion(): Promise<string> {
|
|||
|
||||
// TODO: caching
|
||||
export async function getLatestPrismLauncherVersion(): Promise<string> {
|
||||
/* CHANGEME */
|
||||
const f = await fetch(
|
||||
'https://api.github.com/repos/PrismLauncher/PrismLauncher/releases'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue