pinokiod 3.140.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
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
|
package/package.json
CHANGED
|
@@ -480,7 +480,7 @@ const ensureTabAccessories = aggregateDebounce(() => {
|
|
|
480
480
|
const title = tab ? tab.textContent.trim() : 'Tab activity';
|
|
481
481
|
//const subtitle = title || 'Pinokio';
|
|
482
482
|
//const message = state.lastInput ? `Last input: ${state.lastInput}` : 'Tab is now idle.';
|
|
483
|
-
const message = state.lastInput ? `
|
|
483
|
+
const message = state.lastInput ? `From: "${state.lastInput}"` : "Tab is now idle."
|
|
484
484
|
const image = resolveTabImage(link);
|
|
485
485
|
|
|
486
486
|
const payload = {
|