Skip to content

Commit

Permalink
2.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Mar 24, 2023
1 parent c73fd00 commit d52d145
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 11 deletions.
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EmuDeck",
"version": "2.0.20",
"version": "2.0.21",
"description": "Play all your RetroGames",
"license": "MIT",
"author": {
Expand Down
18 changes: 9 additions & 9 deletions src/data/store.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"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",
"status": "true",
"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"
Expand All @@ -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"]
}
]
}
14 changes: 14 additions & 0 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components

0 comments on commit d52d145

Please sign in to comment.