test for getting path by app name

This commit is contained in:
DJ2LS 2021-09-04 17:11:20 +02:00 committed by GitHub
parent 75a678a108
commit 385b775350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;