@staff0rd/assist 0.92.0 → 0.92.1
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/dist/index.js +3 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.92.
|
|
9
|
+
version: "0.92.1",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -1959,10 +1959,8 @@ function showWindowsNotificationFromWsl(options2) {
|
|
|
1959
1959
|
} catch {
|
|
1960
1960
|
}
|
|
1961
1961
|
const args = ["-t", title, "-m", message];
|
|
1962
|
-
if (sound
|
|
1963
|
-
args.push("-s", "ms-winsoundevent:Notification.
|
|
1964
|
-
} else if (sound === "Reminder") {
|
|
1965
|
-
args.push("-s", "ms-winsoundevent:Notification.Reminder");
|
|
1962
|
+
if (sound) {
|
|
1963
|
+
args.push("-s", "ms-winsoundevent:Notification.Default");
|
|
1966
1964
|
}
|
|
1967
1965
|
const child = spawn2(snoreToastPath, args, {
|
|
1968
1966
|
detached: true,
|