Skip to content

feat: expose uninstall menu in embedded mode#12

Merged
crazydi4mond merged 1 commit into
mainfrom
feat/expose-uninstall-embedded
Jan 27, 2026
Merged

feat: expose uninstall menu in embedded mode#12
crazydi4mond merged 1 commit into
mainfrom
feat/expose-uninstall-embedded

Conversation

@crazydi4mond
Copy link
Copy Markdown
Contributor

Summary

  • Add uninstall option to embedded mode menu (previously only available in standalone mode)
  • Remove standaloneMode check for uninstall handling
  • Consolidate menu options to reduce code duplication

This allows dnstm to provide full uninstall functionality for SSH tunnel users and hardening configuration without needing to run sshtun-user as a standalone binary.

Changes

  • internal/menu/main.go: Refactored buildMenuOptions() to include "Uninstall" in both modes
  • internal/menu/main.go: Removed standalone-only restriction from handleChoice() for uninstall

- Add uninstall option to embedded mode menu (previously standalone-only)
- Remove standaloneMode check for uninstall handling
- Consolidate menu options to reduce duplication
@crazydi4mond crazydi4mond merged commit a5fc9dc into main Jan 27, 2026
1 check passed
@crazydi4mond crazydi4mond deleted the feat/expose-uninstall-embedded branch January 29, 2026 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant