diff options
Diffstat (limited to 'Installer/OSX/launchers/duplicati-cli.m')
-rw-r--r-- | Installer/OSX/launchers/duplicati-cli.m | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Installer/OSX/launchers/duplicati-cli.m b/Installer/OSX/launchers/duplicati-cli.m new file mode 100644 index 000000000..434bd0f9f --- /dev/null +++ b/Installer/OSX/launchers/duplicati-cli.m @@ -0,0 +1,13 @@ +#import "run-with-mono.h" + +NSString * const ASSEMBLY = @"Duplicati.CommandLine.exe"; +NSString * const APP_NAME = @"Duplicati.CommandLine"; +int const MONO_VERSION_MAJOR = 4; +int const MONO_VERSION_MINOR = 0; + +int main() { + @autoreleasepool { + return [RunWithMono runAssemblyWithMono:APP_NAME assembly:ASSEMBLY major:MONO_VERSION_MAJOR minor:MONO_VERSION_MINOR]; + } +} + |