Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add macOS Support for Rockbox Zig #48

Open
tsirysndr opened this issue Oct 31, 2024 · 0 comments
Open

Feature Request: Add macOS Support for Rockbox Zig #48

tsirysndr opened this issue Oct 31, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@tsirysndr
Copy link
Owner

Description

Currently, the Rockbox Zig project compiles and runs natively on Linux. The CLI client (rockbox) can be compiled on both Linux and macOS, but the daemon (rockboxd) only supports Linux.

Proposed Solution

  • macOS: To enable macOS support, the CLI should detect the OS:
  • Run both rockboxd (daemon) and rockbox natively on Linux.
  • For macOS, keep the rockboxd daemon in a Docker container, while allowing the rockbox-cli client to run natively. The CLI will automatically spawn a Docker container to run the rockboxd daemon if it detects macOS.

Acceptance Criteria

  1. CLI successfully detects the OS (Linux or macOS).
  2. Both daemon and client run natively on Linux without additional configuration.
  3. On macOS, the CLI launches the rockboxd daemon in a Docker container, while the client runs natively.

Additional Notes

This approach allows consistent functionality across both operating systems, preserving a native CLI experience on macOS while addressing the current limitations of cross-platform daemon support.

@tsirysndr tsirysndr added enhancement New feature or request help wanted Extra attention is needed labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant