mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 08:28:17 +01:00
Also, we're now handling config ourselves instead of using electron-config and config dependencies.
13 lines
314 B
JavaScript
13 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;
|