mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 06:11:59 +00:00
fix typo
this is what i get for commiting to main 😔
This commit is contained in:
@@ -44,7 +44,7 @@ export async function getPluginList(): Promise<StorePlugin[]> {
|
|||||||
if (store === null) {
|
if (store === null) {
|
||||||
console.log('Could not get store, using Default.');
|
console.log('Could not get store, using Default.');
|
||||||
await setSetting('store', Store.Default);
|
await setSetting('store', Store.Default);
|
||||||
store = Store.Default
|
store = Store.Default;
|
||||||
}
|
}
|
||||||
switch (+store) {
|
switch (+store) {
|
||||||
case Store.Default:
|
case Store.Default:
|
||||||
@@ -60,13 +60,13 @@ export async function getPluginList(): Promise<StorePlugin[]> {
|
|||||||
console.error('Somehow you ended up without a standard URL, using the default URL.');
|
console.error('Somehow you ended up without a standard URL, using the default URL.');
|
||||||
storeURL = 'https://plugins.deckbrew.xyz/plugins';
|
storeURL = 'https://plugins.deckbrew.xyz/plugins';
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
return fetch(storeURL, {
|
return fetch(storeURL, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
'X-Decky-Version': version.current,
|
'X-Decky-Version': version.current,
|
||||||
},
|
},
|
||||||
}).then((r) => r.json());
|
}).then((r) => r.json());
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function installFromURL(url: string) {
|
export async function installFromURL(url: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user