Commit Graph

68 Commits

Author SHA1 Message Date
Patrick Wardle eb635e54d9 -improved cmdline processing
-ignore 'duplicate' events
-added code/UI for whitelist popup
2016-12-20 21:38:26 -10:00
Patrick Wardle 2c1fcc4a72 added 'disable inactive alerts' preference/setting 2016-12-18 16:38:47 -10:00
Patrick Wardle 579edd3435 command-line install
code cleanup
2016-11-14 09:12:19 -10:00
Patrick Wardle c7aa22fda4 finalized overlay for starting login item
delete preferences file on uninstall
added logic to toggle login item on/off based on preferences
2016-11-07 21:36:03 -10:00
Patrick Wardle 033fae2879 working on code for new preferences/features
-headless mode
 -managing rules
 -switched to manually managing
only starting login item when needed
2016-11-07 07:04:11 -10:00
patrick 65dbbf9a9a support (beta) for mic's process ID 2016-11-06 17:33:42 -10:00
Patrick Wardle c798aa6912 version 1.0 commit
-code for login item (and install/uninstall interfaces)
2016-10-08 19:34:31 -10:00
Patrick Wardle e492e9996a remove xattrs when copying to /Applications to avoid issues w/ 'App Translocation'
when no consumer process is found, still alert user that camera started
main app now launched via hardcoded path (again to avoid issues w/ 'App Translocation'
minor code cleanup
2016-10-04 21:03:41 -07:00
Patrick Wardle 2eddae193d added 'start' button and logic to preferences so Login Item can be restarted if necessary
change launching of login item (at install time) to NSTask, so focus would stay with installer app
fixed issue where activity indicator would overlap with install/uninstall message on macOS Sierra
'Inactive' video and audio notifications are now automatically closed after two seconds
updated code for macOS Sierra (e.g. FaceTime does call CMIO:doWork)
added check to ensure we can get a process's path (which fixed a NULL pointer de-ref)
added 'avconferenced' as a white-listed apple daemon for macOS Sierra
added getOSVersion() function to facilitate macOS Sierra specific logic
added getProcessID() function to get a process name from it's pid
code cleanup/extra debug statements
2016-09-24 17:08:38 -10:00
Patrick Wardle d9ae15b3bc added preference handling (logging/new-version check)
added cmd+q hotkey for prefs app to close/quit
changed name of installer binary to match app
improved device detection (uses default if can't find apple camera/mic)
code cleanup/error handling
2016-09-19 21:29:40 -10:00
Patrick Wardle 9789a687ff renamed installer to 'OverSight_Installer' 2016-09-18 22:01:24 -10:00
Patrick Wardle 78ea2d11c4 get process name (from app bundle)
delete sample's output file
made find camera/mic instance methods
fixed icons for main app
code cleanup/TODOs
2016-09-18 11:10:44 -10:00
Patrick Wardle c356077600 ignore xpc client/requestor as a 'candidate' video proc
improved error msgs
2016-09-16 13:00:23 -10:00
Patrick Wardle 7c7a78cd1c finished install/uninstall logic
stop/start login item
  set file perms correctly (i.e. setuid on login item)
  update ui window
  removed XPC embedded in main app (only is needed in helper.app)
2016-09-15 22:13:06 -10:00
Patrick Wardle d14d33fbd1 started on install/uninstall logic (as root, etc)
TODOs/code cleanup
2016-09-14 22:15:30 -10:00
Patrick Wardle 5173869913 change login item to LSUIElement (so popups would show up!)
code cleanup
2016-09-13 22:28:11 -10:00
Patrick Wardle 5b0f6633c7 - project cleanup
- preferences window implementation (logging, update check, etc)
2016-09-12 21:27:45 -10:00
Patrick Wardle d63410b772 initial checkin! 2016-09-11 14:21:14 -10:00