2018-08-28 14:53:05 -07:00
|
|
|
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');
|
|
|
|
|
2018-11-01 09:34:24 -07:00
|
|
|
const ephemeralConfig = start('ephemeral', targetPath, {
|
|
|
|
allowMalformedOnStartup: true,
|
|
|
|
});
|
2018-08-28 14:53:05 -07:00
|
|
|
|
|
|
|
module.exports = ephemeralConfig;
|