2020-10-30 20:34:04 +00:00
|
|
|
// Copyright 2018-2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2018-08-28 21:53:05 +00: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 16:34:24 +00:00
|
|
|
const ephemeralConfig = start('ephemeral', targetPath, {
|
|
|
|
allowMalformedOnStartup: true,
|
|
|
|
});
|
2018-08-28 21:53:05 +00:00
|
|
|
|
|
|
|
module.exports = ephemeralConfig;
|