♻️ Refactor configuration change notification service
This commit is contained in:
1 parent
551e7e2cfd
commit
5902f482d9
11 files changed
+586
-705
No files matched your search
@@ -12,10 +12,9 @@ void wakeupMainThread(void) {
|
||||
}
|
||||
|
||||
// The following three lines of code must run on the main thread.
|
||||
// For GUI applications (Wails, Cocoa), the framework handles this automatically.
|
||||
// For CLI applications, see README for manual event loop setup.
|
||||
// It must handle it using golang.design/x/mainthread.
|
||||
//
|
||||
// Inspired from: https://github.com/cehoffman/dotfiles/blob/4be8e893517e970d40746a9bdc67fe5832dd1c33/os/mac/iTerm2HotKey.m
|
||||
// inspired from here: https://github.com/cehoffman/dotfiles/blob/4be8e893517e970d40746a9bdc67fe5832dd1c33/os/mac/iTerm2HotKey.m
|
||||
void os_main(void) {
|
||||
[NSApplication sharedApplication];
|
||||
[NSApp disableRelaunchOnLogin];
|
||||
|
||||
Reference in new issue
Block a user