1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00
Commit Graph

152 Commits

Author SHA1 Message Date
Bryan Roe
d700f16325 updated user-sessions on linux, so that if 'who' is not supported, consoleUid will return root. This fixes platforms such as puppy, where the platform is logged in as root. 2019-07-25 15:03:28 -07:00
Bryan Roe
bd0bf102cd Added product_uuid and MacOS support 2019-07-24 17:22:39 -07:00
Bryan Roe
a831086cfe Added support for Windows PowerShell 2019-07-24 14:58:11 -07:00
Bryan Roe
d701b9a3e9 First rev, for Windows and Linux 2019-07-23 16:17:35 -07:00
Bryan Roe
4f89b363ee Added support to lock MacOS desktop 2019-07-19 13:09:37 -07:00
Bryan Roe
804843eb32 Updated, so on INIT platforms when crash restart is specified, parameters can still be passed 2019-07-19 11:16:54 -07:00
Bryan Roe
5b7f892496 Udpated service-manager, so crash restart is supported on INIT platforms that are not UPSTART 2019-07-18 14:12:26 -07:00
Bryan Roe
134461448e Added workaround for 'busybox' as service type 2019-07-16 15:12:52 -07:00
Bryan Roe
7237586206 fixed indentation 2019-06-24 16:09:12 -07:00
Bryan Roe
f629d47896 freebsd 2019-06-24 16:05:00 -07:00
Bryan Roe
444601dea7 Updated message-box for freebsd 2019-06-24 15:33:02 -07:00
Bryan Roe
74530d5a5f Added workaround for findPath from service, for freebsd 2019-06-24 15:20:21 -07:00
Bryan Roe
2c6f9780ee added missing platform check for freebsd in findPath() 2019-06-24 15:05:45 -07:00
Bryan Roe
fb36f05459 freebsd update.. still needs work 2019-06-23 21:27:54 -07:00
Bryan Roe
7745338d9e added stop, start, restart, uninstallService for freebsd 2019-06-22 09:55:33 -07:00
Bryan Roe
a75e12b400 fixed indentation 2019-06-22 09:39:08 -07:00
Bryan Roe
894c4e7a7e updated appLocation() for freebsd when daemon is used 2019-06-22 09:36:16 -07:00
Bryan Roe
dd8c16299c first rev of service-manager update for freebsd 2019-06-22 02:24:39 -07:00
Bryan Roe
940161e498 update getXInfo() for freebsd 2019-06-22 01:34:41 -07:00
Bryan Roe
422e342a5e updated findEnv() for freebsd 2019-06-22 01:23:23 -07:00
Bryan Roe
ae3bff9e18 fixed getEnvFromPid() for freebsd 2019-06-22 01:20:16 -07:00
Bryan Roe
c9f0bff898 update to getEnvFromPid() for freebsd 2019-06-22 01:12:15 -07:00
Bryan Roe
31d8b3d2f2 user-sessions test for freebsd 2019-06-22 00:04:43 -07:00
Bryan Roe
cfa22baf9c fixed indentation 2019-06-21 17:43:27 -07:00
Bryan Roe
4d615ab955 fixed appWorkingDirectory() bug on freebsd 2019-06-21 17:38:03 -07:00
Bryan Roe
83fdcbc4b9 freebsd update 2019-06-21 17:35:57 -07:00
Bryan Roe
acc191212e initial update for freebsd 2019-06-21 17:22:08 -07:00
Bryan Roe
7892064e66 Updated user-sessions so isRoot() works on freebsd 2019-06-21 16:13:19 -07:00
Bryan Roe
ece7db84dd Updated for freebsd 2019-06-20 21:05:03 -07:00
Bryan Roe
bfbd572e07 Updated to support freebsd 2019-06-20 16:15:03 -07:00
Bryan Roe
78bc6220b8 Added license 2019-06-17 23:56:14 -07:00
Bryan Roe
f84fc79646 Initial version of lib-finder 2019-06-17 23:47:45 -07:00
Bryan Roe
b9617595ab Updated error case when attempting to show dialog/toast when nobody is logged in 2019-06-14 10:27:49 -07:00
Bryan Roe
67e10e0e33 Updated for Linux/MacOS 2019-06-06 18:47:05 -07:00
Bryan Roe
f15c11c845 1. Updated MacOS, so detached child process uses fork instead of vfork
2. Updated detached to be a bitmask on the type
3. Updated MacOS message-box cleanup
2019-06-04 13:06:17 -07:00
Bryan Roe
3ab7316172 1. added 'getGroupID' for macos user-sessions
2. added support for per-user LaunchAgents on MacOS
2019-06-03 15:15:25 -07:00
Bryan Roe
5b0a4899e2 Updated user-sessions on MacOS to support getHomeFolder and getUsername 2019-05-30 14:59:32 -07:00
Bryan Roe
792ab99f06 updated when osversion is called 2019-05-24 15:30:19 -07:00
Bryan Roe
134f34d9cf 1. added 'ILibChain_IsLinkAlive' macro
2. incremental update for macos message-box
2019-05-24 15:11:27 -07:00
Bryan Roe
45ea5722b8 updated to cleanup better 2019-05-23 16:27:37 -07:00
Bryan Roe
2895768ebf 1. Added 'close' to net.server
2. updated message-box for MacOS (In Progress)
2019-05-23 15:41:00 -07:00
Bryan Roe
1a1ba0084e Updated MacOS service-manager to support LaunchAgents, and updated to support launchctl 2.0 API on Mac OS 10.10 and above 2019-05-22 13:50:03 -07:00
Bryan Roe
567feba9ff 1. Updated service-manager to support installing LaunchAgents
2. Started skeleton code for MacOS message-box
2019-05-20 17:25:25 -07:00
Bryan Roe
e28b5d7b0e 1. Added support for KDE
2. Added zenity fallback for platforms where notify-send doesn't work correctly
2019-05-18 02:48:27 -07:00
Bryan Roe
020bae80a5 1. Added ability to search env vars by uid
2. updated toaster to work with KDE
2019-05-17 22:10:52 -07:00
Bryan Roe
bbe2098b7e 1. Integrated win-console on windows
2. Updated toaster, to better support linux. And updated flow for windows.
2019-05-17 16:10:36 -07:00
Bryan Roe
f4f0a37522 updated getXInfo, so returns only DISPLAY if XAUTHORITY is not found 2019-05-17 16:09:47 -07:00
Bryan Roe
1fc476d31e 1. Added process.pid on windows
2. Added user-sessions.consoleUid() on windows
3. updated message-box to dispatch to consoleUid when necessary on Windows
2019-05-17 14:23:51 -07:00
Bryan Roe
842a7d475b Added initial rev of message-box, to allow spawning a dialog box into a user context 2019-05-16 15:07:47 -07:00
Bryan Roe
5e0bc797a7 Updated promise, so you can't resolve/reject more than once 2019-05-16 11:17:11 -07:00