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

199 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
3efdc27478 1. Updated so that APCs are used for thread dispatching for Read/Exit on Windows
2. Updated to add support for child_process.waitExit() on Windows.
2019-07-23 16:16:53 -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
424720211d Updated NetInfo, so desc is omitted if it's blank (MacOS/FreeBSD). Updated os.networkInterfaces() for FreeBSD 2019-06-25 23:39:35 -07:00
Bryan Roe
fc8fba9f62 Fixed bug with os.hostname() 2019-06-24 16:45:30 -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
a665f77155 update freebsd message-box 2019-06-24 15:55:34 -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
cac5ea8f9c Integrated freebsd changes for user-sessions, monitor-info, and service-manager 2019-06-24 10:52:06 -07:00
Bryan Roe
ddfa6e5212 integrated freebsd changes 2019-06-22 01:37:10 -07:00
Bryan Roe
de0f88188f integrated freebsd changes for user-sessions 2019-06-22 00:10:03 -07:00
Bryan Roe
7892064e66 Updated user-sessions so isRoot() works on freebsd 2019-06-21 16:13:19 -07:00
Bryan Roe
eb83b255ca Added comment 2019-06-20 22:59:01 -07:00
Bryan Roe
0c9707a3fc Integrated 'lib-finder' for freebsd, and integrated updated monitor-info 2019-06-20 21:09:03 -07:00
Bryan Roe
2d59578c21 Updated for freebsd 2019-06-20 16:19:48 -07:00
Bryan Roe
f8eca4008a Fixed line ending 2019-06-18 11:39:45 -07:00
Bryan Roe
318b58ad3c Fixed typo 2019-06-18 10:43:41 -07:00
Bryan Roe
00d0066b2a Added os.nics() helper for freebsd 2019-06-17 18:19:52 -07:00
Bryan Roe
c51dcb4e8d update os.name() for freebsd 2019-06-17 16:46:22 -07:00
Bryan Roe
124c0d386f Initial modifications to support FreeBSD 2019-06-17 15:45:46 -07:00
Bryan Roe
583628214e Added 'listening' property to net.server 2019-06-14 13:56:07 -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
68fd05d4c8 Fixed linux compiler warning 2019-06-13 10:49:29 -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
5b0a4899e2 Updated user-sessions on MacOS to support getHomeFolder and getUsername 2019-05-30 14:59:32 -07:00
Bryan Roe
e08d1996d5 Updated event emitter, so that 'on', 'once', etc, return the emitter, so they can be chained together 2019-05-30 10:06:11 -07:00
Bryan Roe
78512cda21 Updated, so writableAll is supported on Posix, on server domain sockets 2019-05-29 15:23:59 -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
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
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
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
8ac2e127ef Fixed compiler warnings 2019-05-16 15:11:10 -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
e0e52bbb16 Added ability to specify environment variables on linux 'child_process.execFile' 2019-05-16 15:05:24 -07:00
Bryan Roe
5e0bc797a7 Updated promise, so you can't resolve/reject more than once 2019-05-16 11:17:11 -07:00
Bryan Roe
679366445f Updated server finalizer, so it cleans up named pipe, if its an IPC server. 2019-05-15 10:48:01 -07:00
Bryan Roe
7cf000571d 1. Fixed compiler warning
2. Updated so process.exit() throws exception when called in agent mode
2019-05-14 14:52:39 -07:00
Bryan Roe
d0fb36d10b Add ability to specify detached=true in options 2019-05-12 21:39:02 -07:00
Bryan Roe
2015b668f2 Added commitHash to process.versions.meshAgent 2019-05-09 14:58:42 -07:00
Bryan Roe
03413da00e Updated windows build script to include commit hash 2019-05-08 21:46:47 -07:00