Fix ApplicationUserModelID in the start menu shortcut
The application expected "com.squirrel.mattermost.Mattermost" due to electron-winstaller. But probably the package name, "mattermost-desktop" was used when creating the shortcut. This might affect the internal name of .deb package. Close #287
This commit is contained in:
parent
f32884c961
commit
e8590e61d5
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "mattermost-desktop",
|
||||
"name": "mattermost",
|
||||
"productName": "Mattermost",
|
||||
"version": "3.4.0",
|
||||
"description": "Mattermost Desktop application for Windows, Mac and Linux",
|
||||
|
|
|
@ -30,6 +30,7 @@ if (process.platform === 'win32') {
|
|||
}
|
||||
}
|
||||
|
||||
app.setAppUserModelId('com.squirrel.mattermost.Mattermost'); // Use explicit AppUserModelID
|
||||
require('electron-squirrel-startup');
|
||||
|
||||
const fs = require('fs');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "mattermost-desktop",
|
||||
"name": "mattermost",
|
||||
"productName": "Mattermost",
|
||||
"desktopName": "Mattermost.desktop",
|
||||
"version": "3.4.0",
|
||||
|
|
Loading…
Reference in a new issue