998c35dcb3
Also, we're now handling config ourselves instead of using electron-config and config dependencies.
12 lines
314 B
JavaScript
12 lines
314 B
JavaScript
const path = require('path');
|
|
|
|
const { app } = require('electron');
|
|
|
|
const { start } = require('./base_config');
|
|
|
|
const userDataPath = app.getPath('userData');
|
|
const targetPath = path.join(userDataPath, 'ephemeral.json');
|
|
|
|
const ephemeralConfig = start('ephemeral', targetPath);
|
|
|
|
module.exports = ephemeralConfig;
|