Add an add team button to the TabBar
This commit is contained in:
12
src/browser/config/AppConfig.js
Normal file
12
src/browser/config/AppConfig.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const settings = require('../../common/settings');
|
||||
const {remote} = require('electron');
|
||||
|
||||
var config;
|
||||
try {
|
||||
const configFile = remote.app.getPath('userData') + '/config.json';
|
||||
config = settings.readFileSync(configFile);
|
||||
} catch (e) {
|
||||
config = {};
|
||||
}
|
||||
|
||||
module.exports = config;
|
Reference in New Issue
Block a user