Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fs.readdir(`C:${process.env.HOMEPATH}/Documents/My games/Crossout/Logs`, (error,
fs.readdir(`C:${process.env.HOMEPATH}/Documents/My games/Crossout/Logs/${folders[(folders.length - 1)]}`, (error, list) => {
if (error) { return console.error(error); }
if (!list.find(file => file === 'chat.log')) return console.log("chat.log not found")
console.log('\x1b[31m%s\x1b[0m', 'https://github.com/JimmyGaubert/Crossout-Chat-Translator')
console.log('\x1b[31m%s\x1b[0m', 'https://github.com/JimmyGaubert/CCT')
console.log('\x1b[33m%s\x1b[0m', 'This app was made by Earlam#3915 and Quantum#4444. Enjoy !')
console.log('\x1b[32m%s\x1b[0m', 'Waiting for messages in game chat... :)')
let linesArray = []
Expand Down