mirror of
https://github.com/ollama/ollama.git
synced 2025-11-12 20:57:13 +01:00
* app: add code for macOS and Windows apps under 'app' * app: add readme * app: windows and linux only for now * ci: fix ui CI validation --------- Co-authored-by: jmorganca <jmorganca@gmail.com>
16 lines
498 B
Objective-C
16 lines
498 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
// TODO make these macros so we can extract line numbers from the native code
|
|
void appLogInfo(NSString *msg);
|
|
void appLogDebug(NSString *msg);
|
|
void goLogInfo(const char *msg);
|
|
void goLogDebug(const char *msg);
|
|
|
|
|
|
AuthorizationRef getAuthorization(NSString *authorizationPrompt,
|
|
NSString *right);
|
|
|
|
AuthorizationRef getAppInstallAuthorization();
|
|
|
|
const char* verifyExtractedBundle(char *path);
|
|
bool chownWithAuthorization(const char *user); |