Skip to content

Commit 47584ed

Browse files
committed
v6.7.7
1 parent 86132f3 commit 47584ed

File tree

18 files changed

+2474
-8902
lines changed

18 files changed

+2474
-8902
lines changed

.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ before_install:
3232
- echo "🚦 Authorizing Build"
3333
- echo "🔧 Setting up Node"
3434
- curl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | NVM_DIR="${HOME}"/.nvm sh
35-
- source "${HOME}"/.nvm/nvm.sh && nvm install 9.1.0 && nvm use 9.1.0
35+
- source "${HOME}"/.nvm/nvm.sh && nvm install 9.3.0 && nvm use 9.3.0
3636
- npm --global update npm
3737
- npm --global install yarn
3838

README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,30 +85,16 @@ Use tags to add emoji to notifications, e.g.: add `{video}` to show a 📺 with
8585

8686
## <a name="installation"/></a> Installation
8787

88-
### Manual Installation
88+
### Standard Installation
8989

9090
Grab the latest version here: [Download Pushbullet for Desktop](https://sidneys.github.io/pb-for-desktop/#download)
9191

92-
### Installation via nodejs
92+
### Installation as global nodejs module
9393

9494
```bash
9595
npm install --global pb-for-desktop
9696
```
9797

98-
### Installation via package manager (Linux)
99-
100-
*Debian-based (via apt)*
101-
```bash
102-
curl -s https://packagecloud.io/install/repositories/sidneys/pb-for-desktop/script.deb.sh | sudo bash # Adds package repository
103-
sudo apt-get install pb-for-desktop # Installs it
104-
```
105-
106-
*Redhat-based (via yum)*
107-
```bash
108-
curl -s https://packagecloud.io/install/repositories/sidneys/pb-for-desktop/script.rpm.sh | sudo bash # Adds package repository
109-
sudo yum install pb-for-desktop # Installs it
110-
```
111-
11298
## <a name="developers"/></a> Developers
11399

114100
### Sources

RELEASENOTES.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
11
{
2+
"6.7.7": {
3+
"🍾 features": [
4+
"Adds automatic favicon downloads for IFTTT notifications (https://ifttt.com/pushbullet)",
5+
"Adds preference: `Universal Clipboard`"
6+
],
7+
"💎 improvements": [
8+
"Improves Pushbullet Pro account validation for `Universal Clipboard`",
9+
"Various stability and performance improvements"
10+
],
11+
"🚨 fixes": [
12+
"Fixes notification not showing on Windows 10 Fall Creators Update (https://github.com/electron/electron/issues/10864) (Windows)",
13+
"Fixes notification actions on macOS (https://github.com/electron/electron/pull/10709) (macOS)"
14+
],
15+
"📒 documentation": [
16+
"Removes `README.md` section: `Installation via Linux package manager`"
17+
],
18+
"👷 internals": [
19+
"Upgrades `electron` to `v1.7.10`",
20+
"Upgrades `node_modules`",
21+
"Upgrades `services`",
22+
"Upgrades `lib`"
23+
]
24+
},
225
"6.5.1": {
326
"🍾 features": [
427
"Adds preference: application auto updates"
@@ -12,7 +35,7 @@
1235
]
1336
},
1437
"6.5.0": {
15-
"💎 improved": [
38+
"💎 improvements": [
1639
"Various stability and performance improvements"
1740
],
1841
"🚨 fixed": [
@@ -30,7 +53,7 @@
3053
"YouTube Thumbnails: Pushed YouTube URLs include thumbnail of the linked video",
3154
"Adds `.snap` package (Linux) (#64)"
3255
],
33-
"💎 improved": [
56+
"💎 improvements": [
3457
"Show & focus the main window on tray menu click (Windows, Linux) (#57)"
3558
],
3659
"👷 internals": [
@@ -42,7 +65,7 @@
4265
"🚨 fixed": [
4366
"Fixes rendering of release notes after update completion"
4467
],
45-
"💎 improved": [
68+
"💎 improvements": [
4669
"Changed application configuration file to reflect application name",
4770
"Added `.json` extension to application configuration file"
4871
],
@@ -62,7 +85,7 @@
6285
]
6386
},
6487
"6.2.0": {
65-
"💎 improved": [
88+
"💎 improvements": [
6689
"Augments start-up & background resource usage (#67)",
6790
"Simplified network reachability detection & on-/offline handling"
6891
],
742 Bytes
Loading

app/images/[email protected]

1015 Bytes
Loading

app/scripts/main/components/application.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,23 @@ const platformTools = require('@sidneys/platform-tools');
3030
* Modules
3131
* Configuration
3232
*/
33-
app.disableHardwareAcceleration();
3433
appRootPath.setPath(path.join(__dirname, '..', '..', '..', '..'));
34+
35+
/**
36+
* Modules
37+
* Internal
38+
* @constant
39+
*/
40+
/* eslint-disable no-unused-vars */
41+
const globals = require(path.join(appRootPath['path'], 'app', 'scripts', 'main', 'components', 'globals'));
42+
/* eslint-enable */
43+
44+
/**
45+
* Modules
46+
* Configuration
47+
*/
48+
app.disableHardwareAcceleration();
49+
app.setAppUserModelId(global.manifest.appId);
3550
events.EventEmitter.defaultMaxListeners = Infinity;
3651
if (platformTools.isLinux) {
3752
process.env.XDG_CURRENT_DESKTOP = 'Unity';
@@ -43,7 +58,6 @@ if (platformTools.isLinux) {
4358
* @constant
4459
*/
4560
/* eslint-disable no-unused-vars */
46-
const globals = require(path.join(appRootPath['path'], 'app', 'scripts', 'main', 'components', 'globals'));
4761
const appMenu = require(path.join(appRootPath.path, 'app', 'scripts', 'main', 'menus', 'app-menu'));
4862
const mainWindow = require(path.join(appRootPath.path, 'app', 'scripts', 'main', 'windows', 'main-window'));
4963
const configurationManager = require(path.join(appRootPath.path, 'app', 'scripts', 'main', 'managers', 'configuration-manager'));

app/scripts/main/components/globals.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const packageJson = require(path.join(appRootPath['path'], 'package.json'));
2929
* @constant
3030
*/
3131
global.manifest = {
32+
appId: packageJson.appId || `com.${packageJson.author}.${packageJson.name}`,
3233
homepage: packageJson.homepage,
3334
name: packageJson.name,
3435
productName: packageJson.productName || packageJson.name,

app/scripts/main/managers/configuration-manager.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,26 @@ let configurationItems = {
549549
electronSettings.set(this.keypath, parseFloat(value));
550550
}
551551
},
552+
/**
553+
* pushbulletClipboardEnabled
554+
*/
555+
pushbulletClipboardEnabled: {
556+
keypath: 'pushbulletClipboardEnabled',
557+
default: false,
558+
init() {
559+
logger.debug(this.keypath, 'init');
560+
},
561+
get() {
562+
logger.debug(this.keypath, 'get');
563+
564+
return electronSettings.get(this.keypath);
565+
},
566+
set(value) {
567+
logger.debug(this.keypath, 'set');
568+
569+
electronSettings.set(this.keypath, value);
570+
}
571+
},
552572
/**
553573
* pushbulletSmsEnabled
554574
*/

app/scripts/main/menus/app-menu.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ const Appdirectory = require('appdirectory');
2424
const isDebug = require('@sidneys/is-env')('debug');
2525
const logger = require('@sidneys/logger')({ write: false });
2626

27+
/**
28+
* Modules
29+
* Internal
30+
* @constant
31+
*/
32+
const platformTools = require('@sidneys/platform-tools');
33+
2734

2835
/**
2936
* Application
@@ -193,7 +200,7 @@ let getAppMenuTemplate = () => {
193200
}
194201
];
195202

196-
if (process.platform === 'darwin') {
203+
if (platformTools.isMacOS) {
197204
template.unshift({
198205
label: appProductName,
199206
submenu: [

0 commit comments

Comments
 (0)