Clean up all duplicate path declarations in main.js
This commit is contained in:
parent
7717315c84
commit
4b1c3e0fc6
1
main.js
1
main.js
@ -120,7 +120,6 @@ ipcMain.handle('rename-file', async (event, { oldPath, newName }) => {
|
|||||||
|
|
||||||
// Create log file for debugging
|
// Create log file for debugging
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
|
||||||
|
|
||||||
// Ensure log file exists at startup
|
// Ensure log file exists at startup
|
||||||
const logFilePath = path.join(__dirname, 'app-debug.log');
|
const logFilePath = path.join(__dirname, 'app-debug.log');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user