mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Desktop: Regression: Fix application name
This commit is contained in:
parent
8808b38d83
commit
873184f69b
@ -6,6 +6,14 @@ const { initBridge } = require('./bridge');
|
||||
const Logger = require('@joplin/lib/Logger').default;
|
||||
const FsDriverNode = require('@joplin/lib/fs-driver-node').default;
|
||||
const envFromArgs = require('@joplin/lib/envFromArgs');
|
||||
const packageInfo = require('./packageInfo.js');
|
||||
|
||||
// Electron takes the application name from package.json `name` and
|
||||
// displays this in the tray icon toolip and message box titles, however in
|
||||
// our case it's a string like "@joplin/app-desktop". It's also supposed to
|
||||
// check the productName key but is not doing it, so here set the
|
||||
// application name to the right string.
|
||||
electronApp.name = packageInfo.name;
|
||||
|
||||
process.on('unhandledRejection', (reason, p) => {
|
||||
console.error('Unhandled promise rejection', p, 'reason:', reason);
|
||||
|
Loading…
Reference in New Issue
Block a user