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

490 Commits

Author SHA1 Message Date
Bryan Roe
5aff4c172e Added power-monitor.wakeDisplay() and sleepDisplay() 2020-06-10 13:49:24 -07:00
Bryan Roe
f1a85296c5 Updated toast for windows 2020-06-09 21:04:34 -07:00
Bryan Roe
10a9e7226e 1. Added support for UTF8 wnvironment variables for window's child_process
2. Updated message-box and toaster to support UTF8 on Windows
2020-06-09 19:37:37 -07:00
Bryan Roe
946bbd5cb9 Fixed Alert and MessageBox on windows to work with non-english characters 2020-06-09 15:45:46 -07:00
Bryan Roe
fedd70072b Updated proxy support 2020-06-09 14:25:28 -07:00
Bryan Roe
e448456d9e Updated xclip clipboard, to so xclip cleanup occurs if process exits before xclip timeout 2020-06-08 14:40:00 -07:00
Bryan Roe
2ac6a1037d Updated installer, so will still work if launched from same path as description 2020-06-06 18:15:03 -07:00
Bryan Roe
33f1e9e577 Added fix for X server detection for FreeBSD 2020-06-06 00:18:38 -07:00
Bryan Roe
2e273bd4b6 Updated formatting. 2020-06-05 11:02:08 -07:00
Bryan Roe
a0ed803cf6 Updated installer, to delete old .msh file before installing/updating agent 2020-06-04 13:53:56 -07:00
Bryan Roe
34908f8a1a Updated service-manager.stop() on Windows to force kill process if stuck in STOP_PENDING 2020-06-04 11:27:35 -07:00
Bryan Roe
5bfd867e86 Fixed Working Directory for FreeBSD service definition 2020-06-04 01:54:06 -07:00
Bryan Roe
f82f836b5a Another freebsd fix 2020-06-04 01:14:10 -07:00
Bryan Roe
0bd84b93b1 freebsd fix 2020-06-04 00:47:34 -07:00
Bryan Roe
7ffd8588f8 Updated freebsd 2020-06-04 00:43:52 -07:00
Bryan Roe
3f156f0cec Updated for freebsd, and added workaround for xclip fork 2020-06-04 00:34:29 -07:00
Bryan Roe
7264c43e67 REmoved pseudo terminal check from freebsd for consoleUid() 2020-06-03 21:22:35 -07:00
Bryan Roe
82f7091156 Added freebsd support for clipboard via xclip 2020-06-03 21:15:25 -07:00
Bryan Roe
44b44a2456 Updated metadata for macos message-box, and updated cleanup for net.Server for ipc 2020-06-03 19:05:49 -07:00
Bryan Roe
933e7f9721 Added macOS clipboard support 2020-06-03 17:02:56 -07:00
Bryan Roe
51a3bc5384 1. Improved clipboard on linux if xclip is installed
2. Fixed compiler warnings
2020-06-03 15:54:09 -07:00
Bryan Roe
08bcfbfcc5 Updated service-manager.enumerateService() for Linux, to include state and pid if available 2020-06-03 12:48:49 -07:00
Bryan Roe
78432dae45 Windows heci update 2020-06-03 11:14:50 -07:00
Bryan Roe
28e8a8db81 1. Updated default install path for Windows agent-installer
2. Fixed installer, so it doens't create an empty .db file
3. Updated uninstaller, so it deletes the folder if it's empty
2020-06-02 16:53:56 -07:00
Bryan Roe
86bef3de68 Added missing 'return' statement. 2020-06-01 14:24:06 -07:00
Bryan Roe
c97a58f037 Updated linux/freebsd user-sessions.consoleUid() to skip users logged in on a pseudo console. 2020-05-31 22:12:07 -07:00
Bryan Roe
6609e23f78 Updated windows event hook for power state, to always event on hookup 2020-05-31 11:14:26 -07:00
Bryan Roe
1d81dba897 Updated power-monitor for linux 2020-05-31 08:58:28 -07:00
Bryan Roe
bfaddfaee2 Updated windows to not send the initial event on newListener for acdc, because windows acpi will already do this 2020-05-31 00:16:41 -07:00
Bryan Roe
5f1ca444a5 Updated user-sessions to remove buggy code with lock/unlock on linux 2020-05-30 23:06:40 -07:00
Bryan Roe
b78a29eb88 1. Updated metadata for linux ipcSocket
2, Added linux-acpi, and attached events to power-monitor for linux
2020-05-30 22:59:06 -07:00
Bryan Roe
82d6248bb9 Added battery detection for macOS 2020-05-30 13:45:23 -07:00
Bryan Roe
c85dde4af1 added missing break statement 2020-05-30 12:46:22 -07:00
Bryan Roe
e6a1743d3e Unified battery detection across platforms, and added support for linux. 2020-05-30 12:39:26 -07:00
Bryan Roe
51e6062966 Fixed bug, where user-sessions.changed, which could be emitted multiple times, caused duplicate privacy bars to be drawn 2020-05-30 00:30:54 -07:00
Bryan Roe
eba4e2c60b Fixed bug where if user-sessions.consoleUid() throws an exception, privacy bar won't show up when you KVM to login screen and you login 2020-05-29 23:45:24 -07:00
Bryan Roe
6e2c9e4a5a Fixed bug in promise, where an exception was thrown, if a then() returned an already resolved promise. 2020-05-29 23:16:43 -07:00
Bryan Roe
4c143c948b Updated metadata for toaster and message-box 2020-05-29 16:24:17 -07:00
Bryan Roe
9b47e7891a Add -state flag 2020-05-29 13:41:36 -07:00
Bryan Roe
f221412c34 Fixed bug in promise, where you couldn't resolve a promise with null 2020-05-29 12:27:06 -07:00
Bryan Roe
f248288e90 Updated promise to correctly implement uncaught rejection 2020-05-29 04:46:40 -07:00
Bryan Roe
406543943f Updated promise, so rejection is substituted if then() returns a rejected promise 2020-05-29 02:33:43 -07:00
Bryan Roe
5104dd40fe 1. Updated promise to substitute promise, when then() returns a promise
2. Removed uncaught rejection, because it wasn't implemented correctly
2020-05-29 02:28:34 -07:00
Bryan Roe
b8007f227b Added work-around for service-manager if %ProgramFiles(x86)% doesn't exist, to work around issue of Windows 7 erroneously returning IsWOW64 2020-05-28 15:26:54 -07:00
Bryan Roe
3824ef638c Updated project files, and fixed compiler warnings 2020-05-28 00:54:30 -07:00
Bryan Roe
67bb0b98dc Updated DescriptorEvents to support separate FD_SET watchers
Updated heci.js linux support
2020-05-27 21:17:32 -07:00
Bryan Roe
b24a9ec638 Linux Update for ioctl and fs.read 2020-05-27 03:17:23 -07:00
Bryan Roe
110b09a832 Added buffermode to Polyfill writaableStream 2020-05-26 19:02:05 -07:00
Bryan Roe
84385ec7e6 Fixed memory leak 2020-05-25 21:29:45 -07:00
Bryan Roe
b47af8bb4b Update DescriptorEvents WaitHandle logic 2020-05-25 14:05:04 -07:00