rodyager / RWTS-PDFwriter

An OSX print to pdf-file printer driver
GNU General Public License v2.0
798 stars 77 forks source link

Install does not complete cleanly from terminal #26

Closed p-linnane closed 1 year ago

p-linnane commented 1 year ago

Hello. When installing RWTS-PDFwriter from terminal (sudo installer -pkg RWTS-PDFwriter.pkg -target /) the application installs but terminal hangs until killed. This started with v2.0.1.

rodyager commented 1 year ago

In the sudo environment, the sandboxed Utility doesn’t have access to launch with access to the original users current working directory.

When the Utility launches as part of the install process, you will be unable to create a save destination for the user at this point.

However, your “installer hangs” issue is due to the fact that you haven’t quit the Utility. Quiting the Utility will cause the installer to close.

I hadn’t thought about anyone wanting to install from the command line. The next version will detect if this case and skip the open the Utility step.

Rod

On 16 Jan 2023, at 3:52 am, Patrick Linnane @.***> wrote:

installer -pkg RWTS-PDFwriter.pkg -target /