Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

feat: add darwin support #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

veselyn
Copy link

@veselyn veselyn commented Dec 13, 2024

Amazing project! I want to use it on my Mac as well so I put together a Darwin module.

It mostly works but occasionally fails due to some permission error. I'll try to figure out why when I find some free time, or somebody else can take a look. Problem was that the daemon and the activation script were running simultaneously and causing race conditions. Fixed in 37cb44d.

@veselyn veselyn marked this pull request as draft December 13, 2024 16:28
@veselyn veselyn marked this pull request as ready for review December 13, 2024 20:34
@@ -76,19 +91,25 @@ let
TMP_FILE="$_truePath.tmp"

mkdir -p "$(dirname "$_truePath")"
# shellcheck disable=SC2050
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity, do you have shellcheck running inside the strings somehow?

@@ -0,0 +1,78 @@
toplevel @ {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain what this toplevel @ is for?

@mrjones2014
Copy link
Owner

The code here mostly looks good but I do not have a mac I can test this on. Would you be willing to add a CI job that uses GitHub's mac runners and runs a test macOS configuration?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants