fix formatting
This commit is contained in:
parent
3e56cecbbf
commit
13effc58fe
5 changed files with 164 additions and 153 deletions
|
@ -23,7 +23,9 @@ 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');
|
||||
const f = await fetch(
|
||||
'https://api.github.com/repos/PrismLauncher/PrismLauncher/releases'
|
||||
);
|
||||
const versions = (await f.json()) as SimplifiedGHReleases[];
|
||||
|
||||
return versions[0].tag_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue