Skip to content

Commit

Permalink
Removed a lot of debug lines that could expose stuff to the console
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicnessTwo committed Jan 7, 2024
1 parent e47c068 commit 2e7dd90
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion frontend/js/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ipcRenderer.on('update-stream-status', (event, channel, isLive, profileImageUrl,
});

ipcRenderer.on('can-open-stream', (event, channel) => {
console.log('can-open-stream')
if (localStorage.getItem('canOpenStreams') === 'enabled') openStream(channel);
});

Expand Down
1 change: 0 additions & 1 deletion frontend/js/setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const { ipcRenderer } = require('electron');

function saveTwitchCredentials() {
console.log('saveTwitchCredentials');
const clientId = document.getElementById('client_id').value;
const clientSecret = document.getElementById('client_secret').value;

Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ async function saveConfig() {
if (app.isPackaged) {
console.log('Saving config to store');
const store = new Store();
console.log(store)
store.set('config', config);
return true;
} else {
Expand Down Expand Up @@ -160,7 +159,6 @@ async function getChannelInfo(channelName, token) {
const displayName = userResponse.data.data[0].display_name;
const isLive = streamResponse.data.data.length > 0 && streamResponse.data.data[0].type === 'live';
const profileImageUrl = userResponse.data.data[0].profile_image_url;
console.log(streamResponse.data.data);
let viewerCount, gameName, isMature;
if (isLive) {
viewerCount = streamResponse.data.data[0].viewer_count || 0;
Expand Down

0 comments on commit 2e7dd90

Please sign in to comment.