From 385b775350eecb02f1b5717bcdb42544bfc01323 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sat, 4 Sep 2021 17:11:20 +0200 Subject: [PATCH] test for getting path by app name --- gui/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/main.js b/gui/main.js index fa6a438d..8827326b 100644 --- a/gui/main.js +++ b/gui/main.js @@ -1,5 +1,9 @@ const {app,BrowserWindow,ipcMain} = require('electron') const path = require('path') + +var testpath = path.join(app.getPath ("appData"), "codec2-FreeDATA"); +console.log(testpath) + const configPath = path.join(__dirname, 'config.json'); const config = require(configPath); const exec = require('child_process').exec;