File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ public static Uri? WindowsAudioSource {
2424 private static partial void setGuiApplication ( sbyte isGuiValue ) ;
2525
2626 public static void SetGuiApplication ( bool isGuiValue ) {
27+ if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
28+ return ;
29+
2730 setGuiApplication ( isGuiValue ? ( sbyte ) 1 : ( sbyte ) 0 ) ;
2831 _isApplicationTypeSpecified = true ;
2932 }
Original file line number Diff line number Diff line change 44 <ImplicitUsings >enable</ImplicitUsings >
55 <Nullable >enable</Nullable >
66 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
7- <Version >1.1.1 </Version >
7+ <Version >1.1.2 </Version >
88 <Authors >DemonExposer</Authors >
99 <Description >Native OS notifications in .NET</Description >
1010 <RepositoryUrl >https://github.com/DemonExposer/OsNotifications</RepositoryUrl >
You can’t perform that action at this time.
0 commit comments