Skip to content

Commit 97a27be

Browse files
committed
Remove some console.logs
1 parent 1e4669c commit 97a27be

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ruurd-music",
3-
"version": "6.5.2",
3+
"version": "6.5.3",
44
"description": "A streaming music player",
55
"main": "./out/main/index.js",
66
"keywords": [

src/main/NodeFunctions.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,6 @@ export default class NodeFunctions {
358358
}
359359

360360
webLog(...args: any[]) {
361-
console.log("[WEBLOG]", ...args);
362361
this.win.webContents.send("log", ...args);
363362
}
364363

@@ -384,11 +383,6 @@ export default class NodeFunctions {
384383
autoUpdater.on("update-downloaded", (e) =>
385384
this.webLog("[auto updater] update-downloaded:", e),
386385
);
387-
388-
this.webLog("SETTING INTERVAL")
389-
setInterval(() => {
390-
this.webLog("TESTING WEBLOG", "hoi", 5);
391-
}, 1000 * 5);
392386
}
393387

394388
setPlatformPlaying(playing: boolean, darkTheme: boolean) {

src/renderer/src/store/base.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ export const useBaseStore = defineStore("base", () => {
123123
checkAutoBackup().then();
124124

125125
async function checkAutoBackup() {
126-
console.log({ isDev });
127126
if (!autoBackup.value || isDev) return;
128127
let lastBackup = 0;
129128
if (!isNaN(+localStorage.lastAutoBackup))
@@ -150,20 +149,17 @@ export const useBaseStore = defineStore("base", () => {
150149
.toISOString()
151150
.substring(0, 10)}.json`;
152151
let result = await window.api.getSaveFilePath(filename, "Export");
153-
console.log(result);
154152
if (result.canceled) return false;
155153

156154
let outputPath = result.filePath;
157155
let data = await dataPromise;
158156
let fileString = JSON.stringify(data);
159157
await window.api.saveStringToFile(outputPath, fileString);
160-
console.log({ outputPath, data });
161158
return true;
162159
}
163160

164161
async function importFromFile() {
165162
let result = await window.api.getOpenFilePath("Import");
166-
console.log(result);
167163
if (result.canceled) return false;
168164

169165
try {
@@ -174,7 +170,6 @@ export const useBaseStore = defineStore("base", () => {
174170
console.warn("File contents empty", result.filePath);
175171
return false;
176172
}
177-
console.log(fileContents);
178173
let data = JSON.parse(fileContents);
179174
await importData(data as DataExport);
180175
return true;

0 commit comments

Comments
 (0)