Add an add team button to the TabBar

This commit is contained in:
Jonas Schwabe
2016-12-25 16:44:44 +01:00
parent 83a9d21d34
commit 5f7ab2d9a2
6 changed files with 187 additions and 11 deletions

View 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;