remove console logs
This commit is contained in:
@@ -70,7 +70,6 @@ function getGlobalConfig(osuPath) {
|
||||
path: "",
|
||||
get: async (key) => {
|
||||
if (!configFileInfo.path) {
|
||||
console.log("config file not loaded");
|
||||
return "";
|
||||
}
|
||||
const fileStream = await fs.promises.readFile(
|
||||
@@ -181,11 +180,6 @@ async function getFilesThatNeedUpdate(osuPath, releaseStreamFiles) {
|
||||
if (
|
||||
fileHashOnDisk.trim().toLowerCase() != fileHash.trim().toLowerCase()
|
||||
) {
|
||||
console.log({
|
||||
fileOnDisk,
|
||||
fileHashOnDisk,
|
||||
fileHash,
|
||||
});
|
||||
updateFiles.push(updatePatch);
|
||||
}
|
||||
} else updateFiles.push(updatePatch);
|
||||
|
@@ -3,7 +3,7 @@ const { appName, appVersion } = require("./appInfo.js");
|
||||
|
||||
const clientId = "1032772293220384808";
|
||||
let richPresence;
|
||||
let intervalId
|
||||
let intervalId;
|
||||
|
||||
let currentStatus = {
|
||||
details: " ",
|
||||
@@ -28,7 +28,6 @@ let currentStatus = {
|
||||
|
||||
module.exports = {
|
||||
connect: () => {
|
||||
console.log("Connecting to Discord...");
|
||||
if (!richPresence) {
|
||||
richPresence = new DiscordRPC.AutoClient({ transport: "ipc" });
|
||||
richPresence.endlessLogin({ clientId });
|
||||
|
Reference in New Issue
Block a user