pinokiod 3.141.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/util.js +4 -7
- package/package.json +1 -1
package/kernel/util.js
CHANGED
|
@@ -141,6 +141,10 @@ function ensureNotifierBinaries() {
|
|
|
141
141
|
if ((mode & 0o111) === 0) {
|
|
142
142
|
fs.chmodSync(binaryPath, mode | 0o755)
|
|
143
143
|
}
|
|
144
|
+
if (!notifier.options) {
|
|
145
|
+
notifier.options = {}
|
|
146
|
+
}
|
|
147
|
+
notifier.options.customPath = binaryPath
|
|
144
148
|
} catch (err) {
|
|
145
149
|
console.warn('Warning: unable to update terminal-notifier permissions:', err.message)
|
|
146
150
|
}
|
|
@@ -845,13 +849,6 @@ function push(params) {
|
|
|
845
849
|
notifyParams.appID = WINDOWS_TOAST_APP_ID
|
|
846
850
|
}
|
|
847
851
|
}
|
|
848
|
-
if (platform === 'darwin') {
|
|
849
|
-
const macNotifierPath = getMacNotifierBinaryPath()
|
|
850
|
-
if (macNotifierPath) {
|
|
851
|
-
notifyParams.customPath = macNotifierPath
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
|
|
855
852
|
const clientSoundUrl = soundTargetToClientUrl(customSoundTarget)
|
|
856
853
|
if (customSoundTarget) {
|
|
857
854
|
notifyParams.sound = false
|