Commit 63340f8f authored by Gabriel Engel's avatar Gabriel Engel

[BREAK] Removed the "+" from the application name

parent 8626592a
......@@ -155,22 +155,22 @@ You can bundle a `servers.json` with the install package, the file should be loc
## Post-Install Configuration
If you can't (or don't want to) bundle the file inside the app, you can create a `servers.json` in the user preferences folder which will overwrite the packaged one. The file should be located in the `%APPDATA%/Rocket.Chat+/` folder or the installation folder in case of a installation for all users (Windows only).
If you can't (or don't want to) bundle the file inside the app, you can create a `servers.json` in the user preferences folder which will overwrite the packaged one. The file should be located in the `%APPDATA%/Rocket.Chat/` folder or the installation folder in case of a installation for all users (Windows only).
For Windows the full paths are:
```
~\Users\<username>\AppData\Roaming\Rocket.Chat+\
~\Program Files\Rocket.Chat+\Resources\
~\Users\<username>\AppData\Roaming\Rocket.Chat\
~\Program Files\Rocket.Chat\Resources\
```
On MacOS the full path is:
```
~/Users/<username>/Library/Application Support/Rocket.Chat+/
~/Applications/Rocket.Chat+.app/Contents/Resources/
~/Users/<username>/Library/Application Support/Rocket.Chat/
~/Applications/Rocket.Chat.app/Contents/Resources/
```
On Linux the full path is:
```
/home/<username>/.config/Rocket.Chat+/
/opt/Rocket.Chat+/resources/
/home/<username>/.config/Rocket.Chat/
/opt/Rocket.Chat/resources/
```
# Useful links
......
!ifndef BUILD_UNINSTALLER
Function AddToStartup
CreateShortCut "$SMSTARTUP\Rocket.Chat+.lnk" "$INSTDIR\Rocket.Chat+.exe" ""
CreateShortCut "$SMSTARTUP\Rocket.Chat.lnk" "$INSTDIR\Rocket.Chat.exe" ""
FunctionEnd
; Using the read me setting as an easy way to add an add to startup option
......@@ -11,7 +11,7 @@
!ifdef BUILD_UNINSTALLER
Function un.AddAppData
RMDir /r "$APPDATA\Rocket.Chat+"
RMDir /r "$APPDATA\Rocket.Chat"
FunctionEnd
; Using the read me setting to add option to remove app data
......@@ -28,6 +28,6 @@
!macro customUnInstall
${IfNot} ${Silent}
Delete "$SMSTARTUP\Rocket.Chat+.lnk"
Delete "$SMSTARTUP\Rocket.Chat.lnk"
${endif}
!macroend
{
"name": "rocketchat",
"productName": "Rocket.Chat+",
"productName": "Rocket.Chat",
"description": "Rocket.Chat Native Cross-Platform Desktop Application via Electron.",
"version": "2.13.0-develop",
"author": "Rocket.Chat Support <support@rocket.chat>",
......@@ -54,7 +54,7 @@
},
"linux": {
"desktop": {
"StartupWMClass": "Rocket.Chat+",
"StartupWMClass": "Rocket.Chat",
"MimeType": "x-scheme-handler/rocketchat"
},
"category": "GNOME;GTK;Network;InstantMessaging",
......
[Desktop Entry]
Name=Rocket.Chat+
Name=Rocket.Chat
Comment=Rocket.Chat Native Cross-Platform Desktop Application via Electron.
Exec=rocketchat-desktop
Terminal=false
Type=Application
Icon=${SNAP}/meta/gui/icon.png
Categories=GNOME;GTK;Network;InstantMessaging
StartupWMClass=Rocket.Chat+
StartupWMClass=Rocket.Chat
name: rocketchat-desktop
version: 2.13.0-develop
summary: Rocket.Chat+
summary: Rocket.Chat
description: Rocket.Chat Native Cross-Platform Desktop Application via Electron.
confinement: strict
grade: stable
......
......@@ -70,7 +70,7 @@
"Toggle_Tray_Icon": "Adicionar/Remover Ícone de Bandeja",
"Undo": "Desfazer",
"Update_Available": "Atualização Disponível",
"Update_Available_message": "Uma nova versão do Rocket.Chat+ Desktop App está disponível!",
"Update_Available_message": "Uma nova versão do Rocket.Chat Desktop App está disponível!",
"Update_Available_New": "Nova versão está disponível",
"Update_downloading": "Baixando atualização",
"Update_downloading_message": "Você será notificado quando a atualização estiver pronta para instalação",
......
......@@ -11,7 +11,6 @@ import './menus';
sidebar.on('badge-setted', function () {
const badge = sidebar.getGlobalBadge();
tray.showTrayAlert(badge);
});
export const start = function () {
......
......@@ -152,6 +152,10 @@ function showTrayAlert (badge, status = 'online') {
mainWindow.tray.setTitle(`${statusBullet[status]} ${countColor}${badge.title}`);
remote.app.dock.setBadge(badge.title);
}
if (process.platform === 'linux') {
remote.app.setBadgeCount(badge.count);
}
}
function removeAppTray () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment