Skip to content

Commit

Permalink
Fix #19
Browse files Browse the repository at this point in the history
  • Loading branch information
Naozumi520 committed Aug 10, 2023
1 parent bbe276c commit 6e8a503
Show file tree
Hide file tree
Showing 8 changed files with 2,109 additions and 1,553 deletions.
Binary file modified .DS_Store
Binary file not shown.
3,638 changes: 2,095 additions & 1,543 deletions package-lock.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
"author": "",
"license": "ISC",
"dependencies": {
"discord.js-selfbot-v13": "^2.14.5",
"electron-json-storage": "^4.5.0",
"electron-preferences": "^2.6.0",
"puppeteer-core": "^13.5.1",
"discord.js-selfbot-v13": "^2.14.9",
"electron-json-storage": "^4.6.0",
"electron-preferences": "^2.8.2",
"puppeteer-core": "^21.0.2",
"puppeteer-in-electron": "^3.0.5",
"swup": "^2.0.19"
"swup": "^4.2.0"
},
"devDependencies": {
"electron": "^23.1.1",
"electron-builder": "^23.6.0",
"electron": "^25.5.0",
"electron-builder": "^24.6.3",
"modclean": "^3.0.0-beta.1",
"standard": "^16.0.4"
"standard": "^17.1.0"
}
}
Binary file removed src/.DS_Store
Binary file not shown.
Binary file removed src/components/.DS_Store
Binary file not shown.
Binary file removed src/icon/.DS_Store
Binary file not shown.
Binary file removed src/img/.DS_Store
Binary file not shown.
8 changes: 6 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ let windowState = {
}

function log (message, type) {
message.split('\n').forEach(line => console.log(`Remedy Pro [${type || 'info'}]: ${line}`))
try {
message.split('\n').forEach(line => console.log(`Remedy Pro [${type || 'info'}]: ${line}`))
} catch (e) {
console.log(message)
}
};

function safeQuit () {
Expand Down Expand Up @@ -64,7 +68,7 @@ app.on('ready', async () => {
client.login(object.token).catch((e) => {
ready = false
log('login failed')
log(e)
log(e.toString())
loginSetup()
})
})
Expand Down

0 comments on commit 6e8a503

Please sign in to comment.