[PR #18] [MERGED] Add cross-platform support for macOS and Windows #19

Closed
opened 2026-03-13 13:05:10 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/291-Group/LAN-Orangutan/pull/18
Author: @FileBay
Created: 1/1/2026
Status: Merged
Merged: 1/1/2026
Merged by: @FileBay

Base: mainHead: claude/audit-code-bugs-NaPWC


📝 Commits (1)

  • 46b64a5 Add cross-platform support for macOS and Windows

📊 Changes

4 files changed (+218 additions, -72 deletions)

View changed files

📝 internal/cli/root.go (+1 -1)
📝 internal/config/config.go (+68 -7)
📝 internal/network/detect.go (+82 -51)
📝 internal/scanner/scanner.go (+67 -13)

📄 Description

  • Network detection: Use Go's net.Interfaces() instead of Linux ip command
  • Storage paths: Platform-specific defaults (~/Library on macOS, AppData on Windows)
  • Config paths: Dynamic defaults based on OS and user permissions
  • Scanner: Cross-platform interface detection for arp-scan fallback
  • Interface names: Added macOS-specific names (en0, utun, awdl, etc.)

🔄 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/291-Group/LAN-Orangutan/pull/18 **Author:** [@FileBay](https://github.com/FileBay) **Created:** 1/1/2026 **Status:** ✅ Merged **Merged:** 1/1/2026 **Merged by:** [@FileBay](https://github.com/FileBay) **Base:** `main` ← **Head:** `claude/audit-code-bugs-NaPWC` --- ### 📝 Commits (1) - [`46b64a5`](https://github.com/291-Group/LAN-Orangutan/commit/46b64a577b9bd67e7c784a3ad7a2f2c05830f358) Add cross-platform support for macOS and Windows ### 📊 Changes **4 files changed** (+218 additions, -72 deletions) <details> <summary>View changed files</summary> 📝 `internal/cli/root.go` (+1 -1) 📝 `internal/config/config.go` (+68 -7) 📝 `internal/network/detect.go` (+82 -51) 📝 `internal/scanner/scanner.go` (+67 -13) </details> ### 📄 Description - Network detection: Use Go's net.Interfaces() instead of Linux ip command - Storage paths: Platform-specific defaults (~/Library on macOS, AppData on Windows) - Config paths: Dynamic defaults based on OS and user permissions - Scanner: Cross-platform interface detection for arp-scan fallback - Interface names: Added macOS-specific names (en0, utun, awdl, etc.) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-13 13:05:10 +03:00
Sign in to join this conversation.
No labels
pull-request
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/LAN-Orangutan#19
No description provided.