Skip to content

Commit

Permalink
Version 2.0.3
Browse files Browse the repository at this point in the history
Skip opening Utility app if installed from command line.
Fixes Issue #26
  • Loading branch information
rodyager committed Jan 15, 2023
1 parent c82b901 commit e96242f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PDFWriter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 2.0.2;
MARKETING_VERSION = 2.0.3;
PRODUCT_BUNDLE_IDENTIFIER = "au.rwts.PDFWriter-Utility";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -376,7 +376,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 2.0.2;
MARKETING_VERSION = 2.0.3;
PRODUCT_BUNDLE_IDENTIFIER = "au.rwts.PDFWriter-Utility";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

An OSX print to pdf-file printer driver

### [![](https://raw.githubusercontent.com/rodyager/RWTS-PDFwriter/master/build/PDFwriter.iconset/icon_256x256.png "Click to download installer pkg") Click to download the installer pkg](https://github.com/rodyager/RWTS-PDFwriter/releases/download/v2.0.2/RWTS-PDFwriter.pkg)
### [![](https://raw.githubusercontent.com/rodyager/RWTS-PDFwriter/master/build/PDFwriter.iconset/icon_256x256.png "Click to download installer pkg") Click to download the installer pkg](https://github.com/rodyager/RWTS-PDFwriter/releases/download/v2.0.3/RWTS-PDFwriter.pkg)

## About RWTS PDFwriter
**RWTS PDFwriter** is an OSX 11.0+ compatible print driver that enables you to “print” your documents directly to a pdf file. It has similar functionality to [CutePDF](http://www.cutepdf.com) on Windows.
Expand Down
4 changes: 3 additions & 1 deletion build/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ lpadmin -p PDFwriter -E -v pdfwriter:/ -P /Library/Printers/PPDs/Contents/Resour

# open the Utility with correct environment
uid=$(id -u "$USER")
launchctl asuser $uid su "$USER" -c "/Library/Printers/RWTS/Utilities/PDFWriter\ Utility.app/Contents/MacOS/PDFWriter\ Utility"
if [ $uid -ne 0 ]; then
launchctl asuser $uid su "$USER" -c "/Library/Printers/RWTS/Utilities/PDFWriter\ Utility.app/Contents/MacOS/PDFWriter\ Utility"
fi
2 changes: 1 addition & 1 deletion pdfwriter/pdfwriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@



#define VERSION "2.0.2"
#define VERSION "2.0.3"

#define CPERROR 1
#define CPSTATUS 2
Expand Down

0 comments on commit e96242f

Please sign in to comment.