mirror of
https://github.com/IrosTheBeggar/mStream.git
synced 2025-10-27 07:31:02 +00:00
fixed some ui stuff
This commit is contained in:
parent
7b5639fbaa
commit
108b5fe21b
@ -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
|
||||
|
||||
@ -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;
|
||||
});
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
"build": {
|
||||
"appId": "io.mstream.server",
|
||||
"productName": "mStream Server",
|
||||
"electronVersion": "6.0.12",
|
||||
"electronVersion": "6.1.2",
|
||||
"asar": false,
|
||||
"files": [
|
||||
"**/*",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user