Skip to content

Commit

Permalink
feat: rootless support (#17)
Browse files Browse the repository at this point in the history
* feat: rootless support

* build: target 15.0 for rootless

* Revert "build: target 15.0 for rootless"

This reverts commit 0e253fd.
  • Loading branch information
lunaynx authored Apr 12, 2023
1 parent 645e920 commit e1df073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Enmity_CFLAGS = -DDEBUG_IP=@\"$(DEBUG_IP)\" -DDEVTOOLS=$(DEVTOOLS) -fobjc-arc
Enmity_FRAMEWORKS = UIKit Foundation CoreGraphics CoreImage

BUNDLE_NAME = EnmityFiles
EnmityFiles_INSTALL_PATH = "/Library/Application\ Support/Enmity"
EnmityFiles_INSTALL_PATH = "$(THEOS_PACKAGE_INSTALL_PREFIX)/Library/Application\ Support/Enmity"

include $(THEOS_MAKE_PATH)/tweak.mk
include $(THEOS_MAKE_PATH)/bundle.mk
2 changes: 1 addition & 1 deletion src/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#import "../headers/RCTRootView.h"
#import "../headers/RCTCxxBridge.h"

#define BUNDLE_PATH @"/Library/Application Support/Enmity/EnmityFiles.bundle"
#define BUNDLE_PATH @THEOS_PACKAGE_INSTALL_PREFIX "/Library/Application Support/Enmity/EnmityFiles.bundle"

NSString* getDownloadURL();
BOOL checkForUpdate();
Expand Down

0 comments on commit e1df073

Please sign in to comment.