Modernize Benchmarks CI

This commit is contained in:
Fedor Indutny 2021-08-11 12:29:07 -07:00 committed by GitHub
parent 12c78c742f
commit 61b7eebfcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 149 additions and 58 deletions

View file

@ -7,8 +7,10 @@ import { app } from 'electron';
import { start } from './base_config';
import config from './config';
// Use separate data directory for development
if (config.has('storageProfile')) {
// Use separate data directory for benchmarks & development
if (config.has('storagePath')) {
app.setPath('userData', String(config.get('storagePath')));
} else if (config.has('storageProfile')) {
const userData = join(
app.getPath('appData'),
`Signal-${config.get('storageProfile')}`