Also added a few new preferences related to toggling specific menu items
based on your personal choices.
(These new settings still need to be added to the UI.)
- This commit replaces the usage of `whoami` with `id -un`.
- This also changes all `~` replacements with the result of calling
the `NSHomeDirectory()` which may differ from `id -un` (#189)
- Add 'Welcome Tour' to First Aid menu
- Updated 'Welcome Tour'
- Helpers are now always written to ~/.config/phpmon/bin
- Updated helpers (now symlinked)
- Updated checks for when to symlink helpers
- Renamed `ProgressWC` to `TerminalProgressWindowController` so it
better reflects the functionality of the class.
- Renamed all `-WC` suffixed classes to `-WindowController`. This is
cleaner because it avoids referencing water closets. 🚽
- Fixed some instances where the copyright notice used the wrong
filename. All window controller classes are now accurate.
This commit adds support for custom environment variables, which can be
set in PHP Monitor's custom configuration file.
Let's say you wish to customize the `COMPOSER_HOME` env variable, like
in #183. You can fix this like so:
```json
{
"scan_apps": [],
"services": [],
"presets": []
"export": {
"COMPOSER_HOME": "/absolute/path/to/composer/folder"
}
}
```
Please note that while it is possible to set the `PATH` this way, you
WILL MOST CERTAINLY break PHP Monitor in the process. Setting other
environment variables should generally not pose an issue, unless said
environment variable affects the output of the shell that PHP Monitor
uses internally.