Last 12 weeks · 1 commit
4 of 6 standards met
When using Fix-path with Electron and electron-packager, it breaks the ability for the user to quit the application from the dock after packaging. Right clicking the doc-icon and selecting "Quit" does nothing. This is explained in better detail here: https://github.com/electron/electron/issues/8687 . For a minimal application reproducing the problem, see https://github.com/electron/electron/issues/8687#issuecomment-285933916
Repository: sindresorhus/fix-path. Description: Fix the $PATH on macOS and Linux when run from a GUI app Stars: 295, Forks: 25. Primary language: JavaScript. Languages: JavaScript (86.2%), TypeScript (13.8%). License: MIT. Latest release: v5.0.0 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 71%. Top contributors: sindresorhus, callumacrae, Richienb, YS-FE.
Using Electron 0.30.2: !screen shot 2015-07-31 at 18 50 39 It works fine on my Macbook Pro but fails to list all the paths on my Macbook Air (as shown above). They are both running Yosemite. I have also reproduced the same issue on a friends Macbook. Any idea what could be going on here?
I am using this in my vscode-yo plugin and noticed something strange. I upgraded some dotfiles of today and since then, the plugin wasn't showing any generators anymore. After investigating this, ANSI color codes where added in front of the path. After some more investigation, it seems that these lines in my dot-files trigger this behaviour. If I remove these lines, the ANSI code is not added. Fix A simple fix is strip-ansi But maybe, this should be fixed somewhere deeper in the chain. After digging into with does, I came to this line 72 in . This is the line that returns the path with the ANSI color codes.