diff --git a/release/app/package.json b/release/app/package.json index 78d30075..cca26c81 100644 --- a/release/app/package.json +++ b/release/app/package.json @@ -1,6 +1,6 @@ { "name": "EmuDeck", - "version": "2.0.20", + "version": "2.0.21", "description": "Play all your RetroGames", "license": "MIT", "author": { diff --git a/src/data/store.json b/src/data/store.json index b7a899fe..44c419c8 100644 --- a/src/data/store.json +++ b/src/data/store.json @@ -16,7 +16,7 @@ "https://github.com/EmuDeck/emudeck-homebrew/blob/main/downloaded_media/genesis/titlescreens/homebrew/Phantom%20Gear.png?raw=true" ] }, - "tags": ["action", "platform", "puzzle", "rpg"] + "tags": ["action", "platform"] }, { "system": "genesis", @@ -24,7 +24,7 @@ "logo": "logo_genesis", "title": "Xump 2", "file": "https://github.com/EmuDeck/emudeck-homebrew/blob/main/genesis/Xump%202.zip", - "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ornare ex vitae diam aliquet, ut fringilla lectus cursus. Duis ac quam vel urna congue ullamcorper.", + "description": "Xump 2 is a simple multi-platform puzzler by Retroguru. Help Misuki clean up deserted space fields. Obstacles like mines, teleport sectors and arrow walkways appear progressively throughout the game.", "pictures": { "screenshots": [ "https://github.com/EmuDeck/emudeck-homebrew/blob/main/downloaded_media/genesis/screenshots/homebrew/Xump%202.png?raw=true" @@ -37,21 +37,21 @@ "tags": ["action"] }, { - "system": "genesis", + "system": "gbc", "status": "true", - "logo": "logo_genesis", - "title": "Lethal Wedding", - "file": "https://github.com/EmuDeck/emudeck-homebrew/blob/main/genesis/Lethal%20Wedding.zip", + "logo": "logo_gbc", + "title": "Himes Quest", + "file": "https://github.com/EmuDeck/emudeck-homebrew/blob/main/gbc/himes-quest.zip", "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ornare ex vitae diam aliquet, ut fringilla lectus cursus. Duis ac quam vel urna congue ullamcorper.", "pictures": { "screenshots": [ - "https://github.com/EmuDeck/emudeck-homebrew/blob/main/downloaded_media/genesis/screenshots/homebrew/Lethal%20Wedding.png?raw=true" + "https://github.com/EmuDeck/emudeck-homebrew/blob/main/downloaded_media/gbc/screenshots/homebrew/himes-quest.png?raw=true" ], "titlescreens": [ - "https://github.com/EmuDeck/emudeck-homebrew/blob/main/downloaded_media/genesis/titlescreens/homebrew/Lethal%20Wedding.png?raw=true" + "https://github.com/EmuDeck/emudeck-homebrew/blob/main/downloaded_media/gbc/titlescreens/homebrew/himes-quest.png?raw=true" ] }, - "tags": ["action"] + "tags": ["rpg"] } ] } diff --git a/src/main/main.ts b/src/main/main.ts index 4e31a9dc..db66762f 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -664,6 +664,20 @@ ipcMain.on('check-versions', async (event) => { // }); // }); +ipcMain.on('get-store-featured', async (event) => { + const userHomeDir = os.homedir(); + const backChannel = 'get-store-featured'; + let jsonPath = `${userHomeDir}/.config/EmuDeck/backend/store/featured.json`; + try { + const data = fs.readFileSync(jsonPath); + const json = JSON.parse(data); + event.reply(backChannel, json); + } catch (err) { + console.error(err); + } + // }); +}); + ipcMain.on('get-store', async (event) => { const userHomeDir = os.homedir(); const backChannel = 'get-store'; diff --git a/src/renderer/components b/src/renderer/components index bb1c6a63..9e46c94b 160000 --- a/src/renderer/components +++ b/src/renderer/components @@ -1 +1 @@ -Subproject commit bb1c6a631acb6fc081f2f616c91739e4d49348cf +Subproject commit 9e46c94b4d7ffeb278e7605de8add46898ab482f