packagesdev / packages

Integrated Packaging Environment for OS X
312 stars 44 forks source link

How to print out during installation? #137

Open xumoxiao opened 1 year ago

xumoxiao commented 1 year ago

My installation package is for installing a kext file with only preInstall.sh, postInstall.sh, and kext driver files in pkg. After uninstalling the old driver and installing the new driver, I need to execute sudo kextcache - i /, which will take at least 5 minutes. I want to display some shell log information on the installation interface during this time. What should I do?

packagesdev commented 1 year ago

You can't customize the UI during the installation. This leaves you with the Welcome and ReadMe panes or a custom pane just before the installation or writing things to the installation log file.

Not sure if using an external user notification window still works.