File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6
6
using System . Collections . Generic ;
7
7
using System . IO ;
8
8
using System . Linq ;
9
+ using System . Runtime . InteropServices ;
9
10
10
11
namespace Tobey . BZMacProcessFix
11
12
{
@@ -23,6 +24,11 @@ public static void Patch(AssemblyDefinition _) { }
23
24
// which include a process filter for "SubnauticaZero" so that they will work on macOS, where the process name is "Subnautica Below Zero"
24
25
public static void Initialize ( )
25
26
{
27
+ if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) )
28
+ { // only run the patcher on macOS
29
+ return ;
30
+ }
31
+
26
32
var dlls = Directory . GetFiles ( Paths . PluginPath , "*.dll" , SearchOption . AllDirectories ) . Distinct ( ) ;
27
33
28
34
var bepinProcessType = typeof ( BepInProcess ) ;
Original file line number Diff line number Diff line change 32
32
// You can specify all the values or you can default the Build and Revision Numbers
33
33
// by using the '*' as shown below:
34
34
// [assembly: AssemblyVersion("1.0.*")]
35
- [ assembly: AssemblyVersion ( "1.0.0 .0" ) ]
36
- [ assembly: AssemblyFileVersion ( "1.0.0 .0" ) ]
35
+ [ assembly: AssemblyVersion ( "1.0.1 .0" ) ]
36
+ [ assembly: AssemblyFileVersion ( "1.0.1 .0" ) ]
You can’t perform that action at this time.
0 commit comments