You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Desktop: Regression: Fix application name
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user