fix wrapper script to use relative path on macos#948
Conversation
|
Thanks for your attempt. |
Sorry, my bad, I assumed realpath exists. I removed the usage of realpath and tested again. Please let me know if this works in your env too. |
|
Nice, it now seems to work! Maybe it's worth it to use |
|
It's also interesting to notice how your use of single & double quotes is finally expanding the variable, which is what I was failing to do. I'm wondering whether we can be sure that the variable is expanded correctly in all the environments. |
|
@all-contributors please add @InfraWhisperer for platform. |
|
I've put up a pull request to add @InfraWhisperer! 🎉 |
Summary
Fixes the macOS wrapper script to use relative paths instead of absolute paths, allowing the Sniffnet app to run from any location without requiring installation in the Applications folder.
Changes
Test plan
Fixes: #898