1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-14 23:33:38 +00:00
Commit Graph

475 Commits

Author SHA1 Message Date
Bryan Roe
161f125576 Fixed bug in finalizer, where wait handle was not removed 2020-05-17 14:38:57 -07:00
Bryan Roe
2c3f1bcab7 Fixed toast for Windows 7 2020-05-17 13:57:48 -07:00
Bryan Roe
1d5aa076db Added support to message-box to specify UID directly 2020-05-17 01:45:13 -07:00
Bryan Roe
2277b99bd7 Updated os.name so that on Windows does not need admin to get better results 2020-05-16 15:30:51 -07:00
Bryan Roe
41628bf0d9 Fixed cleanup for toast on Windows 2020-05-16 14:33:45 -07:00
Bryan Roe
474f6fc4d0 Updated toast mechanism on Windows 2020-05-16 14:25:29 -07:00
Bryan Roe
5e28a53736 Fixed array that was too small 2020-05-16 03:26:04 -07:00
Bryan Roe
97ad48f2f2 1. Added ILibChain_WriteEx()
2. Updated ILibChain_Continue() on windows to take an optional list of HANDLE**
3. Updated net.socket IPC on Windows  to use ILibChain_ReadEx and ILibChain_WriteEx
4. Fixed child_process.waitExit() on windows to pass only the wait handles for the process
5. Added GetWaitHandles() to ILibProcessPipe
2020-05-15 17:25:49 -07:00
Bryan Roe
89cafa3ba4 Updated linux proxy detetion logic 2020-05-13 15:44:45 -07:00
Bryan Roe
8f7b983a32 Updated X11 detect retry logic 2020-05-13 13:37:57 -07:00
Bryan Roe
d3f6323999 Fixed bug where if you login from login screen, the resulting privacy bar doesn't close when you disconnect KVM 2020-05-13 10:53:08 -07:00
Bryan Roe
74b68fb966 IMproved error message for Xwayland 2020-05-13 10:16:16 -07:00
Bryan Roe
176ed8069f Updated KVM to spawn privacy bar (if enabled) on most distros when you login from login screen 2020-05-13 00:45:21 -07:00
Bryan Roe
382105e135 Updated user-consent on linux to auto-fail when current uid is the gdm 2020-05-12 16:09:00 -07:00
Bryan Roe
906fab95a2 1. Updated linux to be able to KVM to login prompt
2. Fixed project file back
3. Added comments to makefile about gdm3
2020-05-12 01:01:25 -07:00
Bryan Roe
9a4f2edfef Fixed compiler warning, and updated fix 2020-05-11 14:17:25 -07:00
Bryan Roe
dee281af65 Updated exit method for privacy bar 2020-05-09 15:20:57 -07:00
Bryan Roe
dd0cd1af85 Fixed timeout, for child_process.waitExit() 2020-05-07 22:19:49 -07:00
Bryan Roe
7dc8ee4ef4 Added memory ownership for buffer 2020-05-07 18:19:14 -07:00
Bryan Roe
9668b8d77d Update to use new threading model for windows 2020-05-07 10:29:49 -07:00
Bryan Roe
47066bd825 untested changes 2020-05-06 14:03:41 -07:00
Bryan Roe
5fb0cef7db 1. Removed debug message from child-container
2. Fixed WriteEx() behavior
3. Fixed AddWaitHandle() to use APC if called from wrong thread
4. Fixed net.ipcSocket to return correct value if write completed right away
2020-05-05 16:12:23 -07:00
Bryan Roe
d26701c731 Updated ReadEx 2020-05-05 13:27:03 -07:00
Bryan Roe
1bd4e3d07c Updated Windows Chain logic, to use WSAEventSelect and WaitForMultipleObjectsEx 2020-05-04 17:25:55 -07:00
Bryan Roe
11da1118b4 updated child-container 2020-05-03 19:42:44 -07:00
Bryan Roe
99cbc98302 Updated message-box to use child-container 2020-05-03 19:41:10 -07:00
Bryan Roe
941ac6e192 1. Added NULL check
2. Added process._exit()
3. Fixed CancelIOEx usage
2020-05-03 19:40:32 -07:00
Bryan Roe
c2486d9180 1. added missing return
2. Fixed error with pushing string from filewatcher
2020-05-02 10:02:49 -07:00
Bryan Roe
d18ed5dd89 Added updated win-dispatcher to polyfills 2020-05-01 15:25:57 -07:00
Bryan Roe
3816c47a58 1. Removed dead code from service-manager.js2.
2. Updated win-dispatcher to create task using command line parameters, instead of stdin, negating need to export/import XML to fix non-english characters
2020-05-01 11:30:50 -07:00
Bryan Roe
33c089e275 1. Updated so CachedOnly db is created when needed
2. Updated uninstall/fulluninstall to be able to self delete
2020-05-01 11:05:47 -07:00
Bryan Roe
a7a2b84a91 1. Updated -fullinstall -install -fulluninstall -install to use agent-installer
2. Fixed DPI awareness on Installer Dialog Box
2020-05-01 00:42:37 -07:00
Bryan Roe
10f1f53912 1. Removed usage of wcstomb_s(), which doesn't support UTF8
2. Added WideToUTF8_stupid() helper for API calls that give you byte count instead of character count of a non-null terminated UTF16 string
3. Fixed a few more places to support UTF8
2020-04-30 16:20:37 -07:00
Bryan Roe
cf91d6c709 1. Fixed bug with os.tmpdir()
2. Updated ScriptMode, so current durrectory is not changed to script path
3. Fixed process.cwd() on windows to support UTF8
2020-04-30 11:51:41 -07:00
Bryan Roe
8268fdf33a Fixed compiler warning 2020-04-30 10:26:12 -07:00
Bryan Roe
a074a17790 1. Updated win-dispatcher to only edit Task, if execPath contains UTF-8
2. Integrated updated task-scheduler into Polyfills.
2020-04-30 10:19:33 -07:00
Bryan Roe
07371fed6a !. Fixed more exePath related UTF8 issues
2. Added os.tmpdir() support
3. Added Buffer.toString('utf16')
2020-04-30 01:40:03 -07:00
Bryan Roe
71bd469551 fix 2020-04-29 03:01:44 -07:00
Bryan Roe
c7959a8332 Added ability to close message-box on windows 2020-04-28 14:27:42 -07:00
Bryan Roe
1e10f90aec Added ability to close message-box for linux 2020-04-28 12:47:58 -07:00
Bryan Roe
875c5ef2b1 Added pseudo privacy bar support to macOS 2020-04-28 11:33:46 -07:00
Bryan Roe
dbbc47e751 1. Added work-around for Zenity timeout support detection for platforms that require DISPLAY to be set in env just to query metadata
2. Fixed bug where timeout work-around resulted in success instead of timeout
2020-04-28 03:03:18 -07:00
Bryan Roe
12347a8eb4 Added multi-workspace support to privacy bar for linux 2020-04-28 01:19:24 -07:00
Bryan Roe
e1cb66e81c Added Workspace detection on X 2020-04-27 23:35:18 -07:00
Bryan Roe
b8e58a37f7 added cpu_name for macOS 2020-04-27 00:13:48 -07:00
Bryan Roe
b1872004b0 Fixed user-consent and alerts for macOS Catalina. 2020-04-26 23:06:51 -07:00
Bryan Roe
e66adb9858 Updated to empty records are omitted 2020-04-26 16:39:59 -07:00
Bryan Roe
a70fe75883 Fixed bug where last storage record was ommited on linux 2020-04-26 16:30:22 -07:00
Bryan Roe
af81e79702 1. Added more sysinfo details for linux
2. Added isVM() workaround for VMware if bios_vendor is not set
2020-04-26 16:09:18 -07:00
Bryan Roe
581b012340 Unified GPU names for linux and windows 2020-04-26 14:32:55 -07:00