summaryrefslogtreecommitdiffstats
path: root/osdep/main-fn-mac.c
Commit message (Collapse)AuthorAgeFilesLines
* mac/app: cleanup and optimise App launch and terminationder richter2024-04-011-4/+1
| | | | | | | | | | | | NSApp.terminate() is not a requirement to properly shut down a cocoa App since it only calls exit() internally. though when not used the cocoa termination events won't trigger, which we don't need. this prevented us to exit with a proper exit code. rework the whole termination logic to end up at one point where we can return the exit code from the mpv_main function. Fixes #7456
* mac/app: rewrite App c main function, startup and termination in swiftder richter2024-04-011-1/+1
| | | | | also move main invocation into AppHub and completely delete the old Application c implementation.
* osdep/mac: make mac naming of files, folders and function consistentder richter2024-02-281-0/+10
rename all macOS namings (osx, macosx, macOS, macos, apple) to mac, to make naming consistent.