Skip to content

Commit

Permalink
Delete options on startup. Fix thumbnail bg
Browse files Browse the repository at this point in the history
  • Loading branch information
willie-yao committed Apr 8, 2023
1 parent 44e5279 commit c777f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ ipcMain.on('electron-store-get-secret', async (event, val) => {

ipcMain.on('ipc-example', async (event, arg) => {
store.set('apikey', process.env.STARTGG_API_KEY);
store.delete('eventId')
store.delete('station')
store.delete('vodUrl')
const msgTemplate = (pingPong: string) => `IPC test: ${pingPong}`;
console.log(msgTemplate(arg));
event.reply('ipc-example', msgTemplate('pong'));
Expand Down
1 change: 1 addition & 0 deletions src/renderer/pages/SetsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ const SetsView = () => {
<ThumbnailGenerator
key={set.title + thumbnailColor}
ref={ref}
bgImage={thumbnailBg}
bgColor={thumbnailColor}
logo={thumbnailLogo}
player1={set.player1}
Expand Down

0 comments on commit c777f3a

Please sign in to comment.