server: missing app name in some places (eg zeroconf)
This commit is contained in:
parent
c9a02976ed
commit
8f996a23e0
5 changed files with 5 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ var template = [{
|
|||
if (process.platform === 'darwin') {
|
||||
// Add app menu (macOs)
|
||||
template.unshift({
|
||||
label: settings.infos.appName,
|
||||
label: settings.infos.productName,
|
||||
submenu: [
|
||||
{
|
||||
label: 'Hide ' + infos.productName,
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ module.exports = function(options={}) {
|
|||
var window
|
||||
|
||||
window = new BrowserWindow({
|
||||
title: options.title || settings.infos.appName,
|
||||
title: options.title || settings.infos.productName,
|
||||
icon: path.resolve(__dirname + '/../assets/logo.png'),
|
||||
backgroundColor: options.color || theme.backgroundColor,
|
||||
type: options.type,
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ class OscTCPServer extends EventEmitter {
|
|||
}
|
||||
|
||||
zeroconf.publish({
|
||||
name: settings.infos.appName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''),
|
||||
name: settings.infos.productName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''),
|
||||
protocol: 'tcp',
|
||||
type: 'osc',
|
||||
port: tcpInPort
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ oscUDPServer.on('error', function(e) {
|
|||
})
|
||||
|
||||
zeroconf.publish({
|
||||
name: settings.infos.appName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''),
|
||||
name: settings.infos.productName + (settings.read('instance-name') ? ' (' + settings.read('instance-name') + ')' : ''),
|
||||
protocol: 'udp',
|
||||
type: 'osc',
|
||||
port: oscInPort
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ function httpCheck(ok, error){
|
|||
}
|
||||
|
||||
zeroconf.publish({
|
||||
name: settings.infos.appName + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''),
|
||||
name: settings.infos.productName + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''),
|
||||
type: 'http',
|
||||
port: settings.read('port') || 8080
|
||||
}).on('error', (e)=>{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue