mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-15 02:01:38 +03:00
02f6dbba46
This uses the new official API to show overlay icons and add our custom context menu entry instead of hooking directly into the Finder process and intercept drawind routines. A dummy desktopclient target is also in the project to allow debugging directly in Xcode while the official client can be started from the command line. Otherwise Xcode won't allow attaching to the debugee. Dummy icon files have been added while we get proper icon produced. We can't use the old icons since what we use for the legacy shell integration is already padded according to where the badge should appear on the full icon.
16 lines
363 B
Objective-C
16 lines
363 B
Objective-C
//
|
|
// main.m
|
|
// desktopclient
|
|
//
|
|
// Created by Jocelyn Turcotte on 01/06/15.
|
|
//
|
|
//
|
|
|
|
// This is fake application bundle with the same bundle ID as the real desktop client.
|
|
// Xcode needs a wrapping application to allow the extension to be debugged.
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
int main(int argc, const char * argv[]) {
|
|
return NSApplicationMain(argc, argv);
|
|
}
|