fixed some ui stuff

This commit is contained in:
IrosTheBeggar 2019-10-25 13:59:06 -04:00
parent 7b5639fbaa
commit 108b5fe21b
3 changed files with 6 additions and 5 deletions

View File

@ -101,7 +101,7 @@
const shell = require('electron').shell
const apiEndpoint = 'https://api.mstream.io';
const configFile = path.join(app.getPath('userData'), 'save/server-config.json');
const configFile = path.join(app.getPath('userData'), 'save/server-config-v2.json');
var loadJson = {};
var editThisUser;
var bootFlag = false;
@ -191,7 +191,7 @@
}
if (!loadJson.transcode.defaultBitrate) {
loadJson.transcode.defaultBitrate = '96';
loadJson.transcode.defaultBitrate = '96k';
}
// Auto DNS Testing

View File

@ -104,13 +104,14 @@ function createMainWindow() {
// Create the browser window.
mainWindow = new BrowserWindow({ webPreferences: { nodeIntegration: true }, width: 850, height: 550, icon: fe.join(__dirname, '/electron/mstream-logo-cut.png') });
mainWindow.loadURL('file://' + __dirname + '/electron/index3.html');
mainWindow.setMenu(null);
mainWindow.loadURL('file://' + __dirname + '/electron/index3.html');
// Open the DevTools.
// mainWindow.webContents.openDevTools();
// Emitted when the window is closed.
mainWindow.on('closed', function () {
mainWindow.on('closed', () => {
// Dereference the window object, usually you would store windows
mainWindow = null;
});

View File

@ -28,7 +28,7 @@
"build": {
"appId": "io.mstream.server",
"productName": "mStream Server",
"electronVersion": "6.0.12",
"electronVersion": "6.1.2",
"asar": false,
"files": [
"**/*",