mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
test for getting path by app name
This commit is contained in:
parent
75a678a108
commit
385b775350
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
const {app,BrowserWindow,ipcMain} = require('electron')
|
const {app,BrowserWindow,ipcMain} = require('electron')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
|
var testpath = path.join(app.getPath ("appData"), "codec2-FreeDATA");
|
||||||
|
console.log(testpath)
|
||||||
|
|
||||||
const configPath = path.join(__dirname, 'config.json');
|
const configPath = path.join(__dirname, 'config.json');
|
||||||
const config = require(configPath);
|
const config = require(configPath);
|
||||||
const exec = require('child_process').exec;
|
const exec = require('child_process').exec;
|
||||||
|
|
Loading…
Reference in a new issue