Skip to content

Commit

Permalink
Update SentryNSProcessInfoWrapper.mm (#3096)
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin authored Jun 14, 2023
1 parent 9fa5d27 commit bfa3487
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Sentry/SentryNSProcessInfoWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ - (void)setProcessPath:(NSString *)path
{
_executablePath = path;
}
# define EXECUTABLE_PATH _executablePath;
# define SENTRY_BINARY_EXECUTABLE_PATH _executablePath;

- (instancetype)init
{
Expand All @@ -19,7 +19,7 @@ - (instancetype)init

#else
}
# define EXECUTABLE_PATH NSBundle.mainBundle.executablePath;
# define SENTRY_BINARY_EXECUTABLE_PATH NSBundle.mainBundle.executablePath;
#endif

+ (SentryNSProcessInfoWrapper *)shared
Expand All @@ -37,7 +37,7 @@ - (NSString *)processDirectoryPath

- (NSString *)processPath
{
return EXECUTABLE_PATH;
return SENTRY_BINARY_EXECUTABLE_PATH;
}

- (NSUInteger)processorCount
Expand Down

0 comments on commit bfa3487

Please sign in to comment.