[PR #48] [CLOSED] initial SysTray PR #59

Closed
opened 2026-03-02 02:13:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/rmmagent/pull/48
Author: @conlan0
Created: 4/3/2024
Status: Closed

Base: developHead: develop


📝 Commits (10+)

  • 8387104 Add SysTray
  • b1701de Add case "systrayconfig"
  • a1b6336 Start systray process on startup
  • df94341 Update systray.go
  • a5f7eed Add tray flag
  • e133c5f Rename systray.go to systray_windows.go
  • 53d8a44 Update and rename main.go to tray_windows.go
  • 11234f9 Update and rename pipe.go to pipe_windows.go
  • 35ee16f Rename icon.go to icon_windows.go
  • 28a549a add tray_unix

📊 Changes

16 files changed (+760 additions, -72 deletions)

View changed files

📝 agent/agent.go (+24 -6)
📝 agent/agent_unix.go (+4 -0)
📝 agent/agent_windows.go (+23 -21)
📝 agent/rpc.go (+10 -0)
📝 agent/svc.go (+6 -2)
agent/systray_windows.go (+271 -0)
agent/tray/icon_windows.go (+3 -0)
agent/tray/pipe_windows.go (+104 -0)
agent/tray/tray_unix.go (+12 -0)
agent/tray/tray_windows.go (+219 -0)
📝 build/rmm.exe.manifest (+1 -1)
📝 build/setup.iss (+1 -1)
📝 go.mod (+19 -10)
📝 go.sum (+53 -26)
📝 main.go (+6 -1)
📝 versioninfo.json (+4 -4)

📄 Description

  • This is windows support only
  • Added system tray icon with support for a menu with links and dividers and the support for submenus with links
  • Agent gets a nats signal every 5 mins to restart and update systray icon, name and config
  • Agent runs the systray on startup

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/rmmagent/pull/48 **Author:** [@conlan0](https://github.com/conlan0) **Created:** 4/3/2024 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (10+) - [`8387104`](https://github.com/amidaware/rmmagent/commit/838710481522688ebb363fd18b4aa5a4d817eea3) Add SysTray - [`b1701de`](https://github.com/amidaware/rmmagent/commit/b1701de4216e58f3cff1f29c1447dbe21763b205) Add case "systrayconfig" - [`a1b6336`](https://github.com/amidaware/rmmagent/commit/a1b633684742434b4594998947ac7890f6ce3105) Start systray process on startup - [`df94341`](https://github.com/amidaware/rmmagent/commit/df94341e05c7c63af4f75d092393f9f369eefd03) Update systray.go - [`a5f7eed`](https://github.com/amidaware/rmmagent/commit/a5f7eedacd4c3a3b0a024ae70841a8f35f75db7a) Add tray flag - [`e133c5f`](https://github.com/amidaware/rmmagent/commit/e133c5f3e0ab22d8dcf7dbef57da1c9ef9014e04) Rename systray.go to systray_windows.go - [`53d8a44`](https://github.com/amidaware/rmmagent/commit/53d8a44b7b1139652ae600fc940c35018dab9d7d) Update and rename main.go to tray_windows.go - [`11234f9`](https://github.com/amidaware/rmmagent/commit/11234f9432898540ff39ee83ffabd62275ccbd6f) Update and rename pipe.go to pipe_windows.go - [`35ee16f`](https://github.com/amidaware/rmmagent/commit/35ee16f97ef69c13e8a7ed0fd0e02dfe857ae041) Rename icon.go to icon_windows.go - [`28a549a`](https://github.com/amidaware/rmmagent/commit/28a549a43170b62e183aa76bba0764c8bb63dd6a) add tray_unix ### 📊 Changes **16 files changed** (+760 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `agent/agent.go` (+24 -6) 📝 `agent/agent_unix.go` (+4 -0) 📝 `agent/agent_windows.go` (+23 -21) 📝 `agent/rpc.go` (+10 -0) 📝 `agent/svc.go` (+6 -2) ➕ `agent/systray_windows.go` (+271 -0) ➕ `agent/tray/icon_windows.go` (+3 -0) ➕ `agent/tray/pipe_windows.go` (+104 -0) ➕ `agent/tray/tray_unix.go` (+12 -0) ➕ `agent/tray/tray_windows.go` (+219 -0) 📝 `build/rmm.exe.manifest` (+1 -1) 📝 `build/setup.iss` (+1 -1) 📝 `go.mod` (+19 -10) 📝 `go.sum` (+53 -26) 📝 `main.go` (+6 -1) 📝 `versioninfo.json` (+4 -4) </details> ### 📄 Description - This is windows support only - Added system tray icon with support for a menu with links and dividers and the support for submenus with links - Agent gets a nats signal every 5 mins to restart and update systray icon, name and config - Agent runs the systray on startup --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 02:13:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rmmagent#59
No description provided.