diff --git a/main.js b/main.js index 98cc9a6..47655a2 100644 --- a/main.js +++ b/main.js @@ -120,9 +120,8 @@ ipcMain.handle('rename-file', async (event, { oldPath, newName }) => { // Create log file for debugging const fs = require('fs'); -const path = require('path'); -const logFilePath = path.join(__dirname, 'file-move-debug.log'); +const logFilePath = __dirname + '/file-move-debug.log'; function writeLog(message) { const timestamp = new Date().toISOString(); const logEntry = `[${timestamp}] ${message}\n`;