You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send notification to users running Windows or macOS users.
249
+
send notification to users running Windows or macOS
246
250
this is the fallback used if the above notification vendors aren't available.
247
251
*/
248
252
@@ -782,21 +786,21 @@ With the above code, we have specified an `appID` on the following line:
782
786
783
787
<br />
784
788
785
-
##Help
789
+
# Help
786
790
787
791
The following is a list of questions or troubleshooting that may help you with implementing this node package.
788
792
789
793
<br />
790
794
791
-
###How to change text `NtfyToast` at the top of notifications
795
+
## How to change text `NtfyToast` at the top of notifications
792
796
793
797
In order to change the text `NtfyToast`, you must supply an `-appID`. Windows Toast notifications require that you provide an application id for a valid Windows application before Windows will allow you to link another program.
794
798
795
799
For instructions on accomplishing this, read the section [appID support](#appid-support)
796
800
797
801
<br />
798
802
799
-
###Can't use Windows Toast notifications in WSL2
803
+
## Can't use Windows Toast notifications in WSL2
800
804
801
805
Ntfy makes use of a 3rd party package for Windows notifications to work. You must change the permissions on the Ntfy vendor .exe in order for it to work properly.
802
806
@@ -816,7 +820,7 @@ You can add a `postinstall` action in the `package.json`:
816
820
817
821
<br />
818
822
819
-
### Distributing with Electron
823
+
## Distributing with Electron
820
824
821
825
If you package your Electron based app as an asar; toasted-notifier will fail to load. This is because of how a asar package works. You cannot execute a binary from within an asar package.
822
826
@@ -844,7 +848,7 @@ build: {
844
848
845
849
<br />
846
850
847
-
### Using Webpack
851
+
## Using Webpack
848
852
849
853
When using `toasted-notifier` inside of webpack, you must add the snippet below to your `webpack.config.js`.
850
854
@@ -859,7 +863,7 @@ This is necessary because toasted-notifier loads the notifiers from a binary, an
859
863
860
864
<br />
861
865
862
-
###Windows: Where are files / .lnk files placed
866
+
## Windows: Where are files / .lnk files placed
863
867
864
868
In order for you to make your own custom application name appear at the top of a notification, you must create a `.lnk` in your Windows start menu. More about this is outlined in the section [AppID Support](#appid-support)
865
869
@@ -880,7 +884,7 @@ Delete any folders named `NtfyToast`, or whatever your custom app name is.
880
884
881
885
<br />
882
886
883
-
###Header icon broken / missing / default
887
+
## Header icon broken / missing / default
884
888
If you show a notification and notice that the far top-left icon next to the app name is either missing or is showing a default application icon, you may need to clear your start menu `.lnk` file.
885
889
886
890
<br />
@@ -895,7 +899,7 @@ If you are using a custom application, search for the app name as a folder, and
895
899
896
900
<br />
897
901
898
-
###Usage in tmux session
902
+
## Usage in tmux session
899
903
900
904
When using toasted-notifier within a tmux session, it can cause the system to abruptly hang. To solve this issue:
0 commit comments