Set the appData path manually so running in test environment uses same appdata
This commit is contained in:
parent
2bbfc0c652
commit
fbe0df1cbf
1 changed files with 5 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
|||
require('v8-compile-cache');
|
||||
|
||||
import {app, components, ipcMain} from 'electron';
|
||||
import {join} from 'path';
|
||||
app.setPath('userData', join(app.getPath('appData'), 'Cider'));
|
||||
|
||||
|
||||
// Analytics for debugging fun yeah.
|
||||
import {init as Sentry} from '@sentry/electron';
|
||||
import {app, components, ipcMain} from 'electron';
|
||||
import {Store} from "./base/store";
|
||||
import {AppEvents} from "./base/app";
|
||||
import {Plugins} from "./base/plugins";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue