From e697df7ae1deed2fb3744ce2212add083c458152 Mon Sep 17 00:00:00 2001 From: alla2001 <48186577+alla2001@users.noreply.github.com> Date: Mon, 23 Oct 2023 12:23:28 +0200 Subject: [PATCH] changed urls path to be in assets --- urls.json => assets/urls.json | 0 src/main/main.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename urls.json => assets/urls.json (100%) diff --git a/urls.json b/assets/urls.json similarity index 100% rename from urls.json rename to assets/urls.json diff --git a/src/main/main.ts b/src/main/main.ts index f5fb97d..55fb11d 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -39,7 +39,7 @@ ipcMain.on('ipc-example', async (event, arg) => { const currentDirectory = process.cwd(); // Define the path to your JSON file within the current directory - const jsonFilePath = path.join(currentDirectory, 'urls.json'); + const jsonFilePath = path.join(currentDirectory, '/assets/urls.json'); console.log(jsonFilePath); // Read the JSON file