Skip to content

Commit

Permalink
Merge pull request #25 from EMERALD0874/dev
Browse files Browse the repository at this point in the history
Version 1.4.0 - Beginning of the new API
  • Loading branch information
beebls authored Jan 7, 2023
2 parents 2d496dd + 83e291f commit 3ee13c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def to_dict(self):

class RemoteInstall:
def __init__(self, plugin):
self.packDb = "https://github.com/EMERALD0874/AudioLoader-PackDB/releases/download/1.2.0/packs.json"
self.packDb = "https://api.deckthemes.com/themes/legacy/audio"
self.plugin = plugin
self.packs = []

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "SDH-AudioLoader",
"version": "1.3.0",
"version": "1.4.0",
"description": "Replaces and adds Steam Deck game UI sounds",
"scripts": {
"build": "shx rm -rf dist && rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion src/pack-manager/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const AboutPage: VFC = () => {
<h2>Creating Packs</h2>
<p>
If you are interested in creating a music or sound pack for Audio
Loader, please consult our guide on GitHub. https://eme.wtf/audioguide
Loader, please consult the DeckThemes Docs. https://docs.deckthemes.com
</p>
</>
);
Expand Down
7 changes: 3 additions & 4 deletions src/python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ export async function getBackendVersion(): Promise<any> {
}

export async function fetchPackDb(): Promise<any> {
return server!.fetchNoCors(
"https://github.com/EMERALD0874/AudioLoader-PackDB/releases/download/1.2.0/packs.json",
{ method: "GET" }
);
return server!.fetchNoCors("https://api.deckthemes.com/themes/legacy/audio", {
method: "GET",
});
}

// getSoundPacks just fetches the packs already stored in python memory, you need to call this reload function to re-fetch the folder list
Expand Down

0 comments on commit 3ee13c2

Please sign in to comment.