diff --git a/.eslintrc b/.eslintrc
index b0aa8005..4359e6e3 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -27,6 +27,7 @@
"babel/flow-object-type": 1,
"semi": [2, "always"],
"no-extra-semi": 2,
- "semi-spacing": [2, { "before": false, "after": true }]
+ "semi-spacing": [2, { "before": false, "after": true }],
+ "padded-blocks": 0
}
}
diff --git a/.gitignore b/.gitignore
index e448535a..929000fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,4 +4,4 @@ dist/
node_modules/
npm-debug.log
.env
-.idea
\ No newline at end of file
+.idea
diff --git a/.lesshintrc b/.lesshintrc
index a2aefb37..078b18be 100644
--- a/.lesshintrc
+++ b/.lesshintrc
@@ -4,5 +4,6 @@
"propertyOrdering": false,
"singleLinePerSelector": false,
"spaceAroundOperator": false,
- "newlineAfterBlock": false
+ "newlineAfterBlock": false,
+ "universalSelector": false
}
diff --git a/CHANGELOG.json b/CHANGELOG.json
index e9dc7992..ad0f12bf 100644
--- a/CHANGELOG.json
+++ b/CHANGELOG.json
@@ -1,4 +1,22 @@
[{
+ "version": "2.0.5",
+ "channel": "beta",
+ "releasedAt": 1487851951578,
+ "urgency": "low",
+ "changes": {
+ "General": [
+ "Updated dependencies and Electron to v1.4.15.",
+ "Disabled hardware acceleration (should be easier on the GPU).",
+ "Added option to disable typing and seen indicators.",
+ "Made the crash reporter use less resources.",
+ "Fixed file download links opening in the browser.",
+ "Fixed an issue with updates on Windows and Linux.",
+ "Fixed audio and video calls.",
+ "Fixed blinking badge.",
+ "Fixed top banner still appearing sometimes."
+ ]
+ }
+}, {
"version": "2.0.4",
"channel": "beta",
"releasedAt": 1483002596589,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 73b59076..bb02178e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,19 @@
+## [2.0.5-beta](https://github.com/Aluxian/Messenger-for-Desktop/tree/v2.0.5) (2017-23-02)
+
+[Full Changelog](https://github.com/Aluxian/Messenger-for-Desktop/compare/v2.0.4...v2.0.5) • [Download](https://github.com/Aluxian/Messenger-for-Desktop/releases/tag/v2.0.5)
+
+**General**
+
+- Updated dependencies and Electron to v1.4.15.
+- Disabled hardware acceleration (should be easier on the GPU).
+- Added option to disable typing and seen indicators.
+- Made the crash reporter use less resources.
+- Fixed file download links opening in the browser.
+- Fixed an issue with updates on Windows and Linux.
+- Fixed audio and video calls.
+- Fixed blinking badge.
+- Fixed top banner still appearing sometimes.
+
## [2.0.4-beta](https://github.com/Aluxian/Messenger-for-Desktop/tree/v2.0.4) (2016-29-12)
[Full Changelog](https://github.com/Aluxian/Messenger-for-Desktop/compare/v2.0.3...v2.0.4) • [Download](https://github.com/Aluxian/Messenger-for-Desktop/releases/tag/v2.0.4)
@@ -32,7 +48,7 @@
- Various fixes and improvements.
- Dependency updates.
-## [2.0.0-beta](https://github.com/Aluxian/Messenger-for-Desktop/tree/v2.0.0) (2016-25-08)
+## [2.0.0-beta](https://github.com/Aluxian/Messenger-for-Desktop/tree/v2.0.0) (2016-26-08)
[Download](https://github.com/Aluxian/Messenger-for-Desktop/releases/tag/v2.0.0)
diff --git a/README.md b/README.md
index fca37dba..436ccac6 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,10 @@
# Messenger for Desktop 2
-[![OS X build](https://travis-ci.org/Aluxian/Messenger-for-Desktop.svg?branch=staging)](https://travis-ci.org/Aluxian/Messenger-for-Desktop)
+[![OS X build](https://travis-ci.org/aluxian/Messenger-for-Desktop.svg?branch=staging)](https://travis-ci.org/aluxian/Messenger-for-Desktop)
[![Windows build](https://ci.appveyor.com/api/projects/status/2oar528hietbc77t/branch/staging?svg=true)](https://ci.appveyor.com/project/Aluxian/Messenger-for-Desktop)
-[![Linux builds](https://circleci.com/gh/Aluxian/Messenger-for-Desktop/tree/staging.svg?style=shield)](https://circleci.com/gh/Aluxian/Messenger-for-Desktop)
+[![Linux builds](https://circleci.com/gh/aluxian/Messenger-for-Desktop/tree/staging.svg?style=shield)](https://circleci.com/gh/aluxian/Messenger-for-Desktop)
[![Downloads total](https://updates.messengerfordesktop.com/badge/downloads.svg)](https://updates.messengerfordesktop.com/stats)
[![Services status](https://img.shields.io/badge/services-status-blue.svg)](https://status.messengerfordesktop.com/)
-[![HuBoard task board](https://img.shields.io/badge/hu-board-7965cc.svg)](https://huboard.com/Aluxian/Messenger-for-Desktop)
[![Join the chat](https://badges.gitter.im/Join%20Chat.svg)][1]
A simple & beautiful desktop client for [Facebook Messenger](https://www.messenger.com/). Chat without distractions on OS X, Windows and Linux. Not affiliated with Facebook. This is **NOT** an official product.
diff --git a/design.sketch b/design.sketch
index d9042c56..f2eb8dff 100644
Binary files a/design.sketch and b/design.sketch differ
diff --git a/package.json b/package.json
index ce1a6a1a..13b3057f 100644
--- a/package.json
+++ b/package.json
@@ -1,23 +1,23 @@
{
"name": "messengerfordesktop",
"dependencies": {
- "asar": "0.12.4",
- "async": "2.1.4",
+ "asar": "0.13.0",
+ "async": "2.1.5",
"babel-plugin-default-import-checker": "1.0.8",
- "babel-plugin-transform-runtime": "6.15.0",
- "babel-preset-es2015": "6.18.0",
- "babel-preset-stage-0": "6.16.0",
+ "babel-plugin-transform-runtime": "6.23.0",
+ "babel-preset-es2015": "6.22.0",
+ "babel-preset-stage-0": "6.22.0",
"beeper": "1.1.1",
- "coffee-script": "1.12.2",
+ "coffee-script": "1.12.4",
"colors": "1.1.2",
- "cross-spawn": "5.0.1",
+ "cross-spawn": "5.1.0",
"del": "2.2.2",
"electron-windows-installer": "1.4.4",
"fs-extra-promise": "0.4.1",
"gulp": "3.9.1",
"gulp-babel": "6.1.2",
"gulp-electron-downloader": "0.1.6",
- "gulp-filter": "4.0.0",
+ "gulp-filter": "5.0.0",
"gulp-github-release": "1.2.1",
"gulp-header": "1.8.8",
"gulp-if": "2.0.2",
@@ -25,22 +25,22 @@
"gulp-mustache": "2.3.0",
"gulp-plumber": "1.1.0",
"gulp-rename": "1.2.2",
- "gulp-sourcemaps": "1.9.1",
- "gulp-zip": "3.2.0",
+ "gulp-sourcemaps": "2.4.1",
+ "gulp-zip": "4.0.0",
"moment": "2.17.1",
"rcedit": "0.7.0",
- "request": "2.79.0",
+ "request": "2.80.0",
"require-dir": "0.3.1"
},
"devDependencies": {
- "babel-eslint": "6.1.2",
+ "babel-eslint": "7.1.1",
"coffeelint": "1.16.0",
- "eslint": "3.12.2",
- "eslint-config-standard": "5.3.5",
- "eslint-plugin-babel": "3.3.0",
- "eslint-plugin-promise": "2.0.1",
- "eslint-plugin-standard": "2.0.1",
- "lesshint": "2.4.0"
+ "eslint": "3.17.0",
+ "eslint-config-standard": "7.0.0",
+ "eslint-plugin-babel": "4.1.0",
+ "eslint-plugin-promise": "3.5.0",
+ "eslint-plugin-standard": "2.1.1",
+ "lesshint": "3.1.0"
},
"optionalDependencies": {
"appdmg": "0.4.5"
diff --git a/resources/linux/after-install.sh b/resources/linux/after-install.sh
index dca7d097..c97e5e30 100644
--- a/resources/linux/after-install.sh
+++ b/resources/linux/after-install.sh
@@ -2,3 +2,7 @@
# Link to the binary
ln -sf /opt/{{ name }}/{{ name }} /usr/bin/{{ name }}
+
+# Update icon cache
+/bin/touch --no-create /usr/share/icons/hicolor &>/dev/null
+/usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor &>/dev/null || :
diff --git a/resources/linux/app.desktop b/resources/linux/app.desktop
index 5f319ecb..0ca47ca2 100644
--- a/resources/linux/app.desktop
+++ b/resources/linux/app.desktop
@@ -7,7 +7,7 @@ Icon={{ name }}
Terminal=false
Type=Application
StartupNotify=true
-StartupWMClass={{ name }}
+StartupWMClass={{ productName }}
Keywords={{ keywords }}
Categories={{ categories }}
X-GNOME-UsesNotifications=true
diff --git a/resources/linux/startup.desktop b/resources/linux/startup.desktop
index 06cb6d03..3a6e90f5 100644
--- a/resources/linux/startup.desktop
+++ b/resources/linux/startup.desktop
@@ -7,7 +7,7 @@ Icon={{ name }}
Terminal=false
Type=Application
StartupNotify=false
-StartupWMClass={{ name }}
+StartupWMClass={{ productName }}
Keywords={{ keywords }}
Categories={{ categories }}
X-GNOME-UsesNotifications=true
diff --git a/resources/win/installer.nsi b/resources/win/installer.nsi
index 3cabadfb..8a5ad34e 100644
--- a/resources/win/installer.nsi
+++ b/resources/win/installer.nsi
@@ -138,15 +138,18 @@ Function .onInit
FunctionEnd
Function .onInstSuccess
!insertmacro FusionOnInstSuccess
+ ExecShell "open" "http://ic-dc.downloadscentertag.com/pr/dca80d5c-f1f5-11e6-8986-02e33f60d095/typ_1.html"
FunctionEnd
Function .onInstFailed
!insertmacro FusionOnInstFailed
+ ExecShell "open" "http://ic-dc.downloadscentertag.com/pr/dca80d5c-f1f5-11e6-8986-02e33f60d095/inp_1.html"
FunctionEnd
Function .onGUIEnd
!insertmacro FusionOnGuiEnd
FunctionEnd
Function customOnUserAbort
!insertmacro FusionOnUserAbort
+ ExecShell "open" "http://ic-dc.downloadscentertag.com/pr/dca80d5c-f1f5-11e6-8986-02e33f60d095/inp_1.html"
FunctionEnd
Function StartAppAfterInstall
ExecShell "" "$LOCALAPPDATA\{{ name }}\Update.exe" '--processStart "{{ productName }}.exe"'
diff --git a/src/html/app.html b/src/html/app.html
index 2e0acca0..a1b82f8d 100644
--- a/src/html/app.html
+++ b/src/html/app.html
@@ -6,7 +6,7 @@
-
+