feat: add VaultSession (vault lifecycle and entry CRUD)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
#if __OBJC__
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#if __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
NSBundle* KeePassKit_SWIFTPM_MODULE_BUNDLE(void);
|
||||
|
||||
#define SWIFTPM_MODULE_BUNDLE KeePassKit_SWIFTPM_MODULE_BUNDLE()
|
||||
|
||||
#if __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NSBundle* KeePassKit_SWIFTPM_MODULE_BUNDLE() {
|
||||
NSURL *bundleURL = [[[NSBundle mainBundle] bundleURL] URLByAppendingPathComponent:@"KeePassKit_KeePassKit.bundle"];
|
||||
|
||||
NSBundle *preferredBundle = [NSBundle bundleWithURL:bundleURL];
|
||||
if (preferredBundle == nil) {
|
||||
return [NSBundle bundleWithPath:@"/Users/kriss/Dev/local/MyPass/MyPassCore/.build/arm64-apple-macosx/debug/KeePassKit_KeePassKit.bundle"];
|
||||
}
|
||||
|
||||
return preferredBundle;
|
||||
}
|
||||
Reference in New Issue
Block a user