Skip to content

Commit

Permalink
Add version numbers to script files
Browse files Browse the repository at this point in the history
Fix spelling error.
  • Loading branch information
rodyager committed Jan 19, 2023
1 parent 6c3dc74 commit c359e2c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
16 changes: 14 additions & 2 deletions PDFWriter.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
5557B9212978AD6F00199134 /* preinstall */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = preinstall; sourceTree = "<group>"; };
5557B9222978AD6F00199134 /* PDFwriter.iconset */ = {isa = PBXFileReference; lastKnownFileType = folder.iconset; path = PDFwriter.iconset; sourceTree = "<group>"; };
5557B9232978AD6F00199134 /* PDFfolder.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = PDFfolder.png; sourceTree = "<group>"; };
5557B9242978CBD400199134 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = "<group>"; };
5557B9252978CBE100199134 /* License */ = {isa = PBXFileReference; lastKnownFileType = text; path = License; sourceTree = "<group>"; };
55BA6F6F297812A30090F158 /* pdfwriter */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = pdfwriter; sourceTree = BUILT_PRODUCTS_DIR; };
55BA6F71297812A40090F158 /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand All @@ -68,6 +70,8 @@
5506A7A0285F18BF00C5BDF5 = {
isa = PBXGroup;
children = (
5557B9252978CBE100199134 /* License */,
5557B9242978CBD400199134 /* README.md */,
55BA6F70297812A40090F158 /* pdfwriter */,
5506A7AB285F18BF00C5BDF5 /* PDFWriter Utility */,
5557B9192978AD6F00199134 /* build */,
Expand Down Expand Up @@ -269,6 +273,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 3.0;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand All @@ -288,6 +293,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 12.3;
MARKETING_VERSION = 3.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -330,6 +336,7 @@
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 3.0;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand All @@ -343,6 +350,7 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 12.3;
MARKETING_VERSION = 3.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
Expand All @@ -361,7 +369,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 3.0;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"PDFWriter Utility/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand Down Expand Up @@ -396,7 +404,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 3.0;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_ASSET_PATHS = "\"PDFWriter Utility/Preview Content\"";
DEVELOPMENT_TEAM = "";
Expand Down Expand Up @@ -427,10 +435,12 @@
buildSettings = {
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 3.0;
DEVELOPMENT_TEAM = H2LX99GBPZ;
ENABLE_HARDENED_RUNTIME = YES;
INSTALL_PATH = /;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 3.0;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
};
Expand All @@ -442,11 +452,13 @@
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 3.0;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=macosx*]" = H2LX99GBPZ;
ENABLE_HARDENED_RUNTIME = YES;
INSTALL_PATH = /;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 3.0;
PRODUCT_BUNDLE_IDENTIFIER = au.rwts.PDFWriter;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
3 changes: 2 additions & 1 deletion build/buildscript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# buildscript.sh
# builds RWTS PDFwriter installer package
# pdfwriter 3.0
#
# Created by Rodney I. Yager on 27.05.16
# Copyright 2016-2023 Rodney I. Yager. All rights reserved
Expand Down Expand Up @@ -40,7 +41,7 @@ xcodebuild -alltargets archive

cd build

echo "### move binaries from tempory build folder"
echo "### move binaries from temporary build folder"
mv "$BUILDTEMP/$UTILITYAPP" "$UTILITYAPP"
mv "$BUILDTEMP/$PDFWRITER" $PDFWRITER

Expand Down
4 changes: 2 additions & 2 deletions build/postinstall
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash

# postinstall
# pdfwriter
# pdfwriter 3.0
#
# Copyright 2023 Rodney I. Yager

# make symlink
ln -sf /Library/Printers/RWTS/PDFwriter/pdfwriter /usr/libexec/cups/backend/pdfwriter

# restrict running uninstall.sh to admin users only
# restrict running uninstall to admin users only
chgrp admin /Library/Printers/RWTS/PDFwriter/uninstall
chmod 750 /Library/Printers/RWTS/PDFwriter/uninstall

Expand Down
2 changes: 1 addition & 1 deletion build/preinstall
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# preinstall
# pdfwriter
# pdfwriter 3.0
#
# Copyright 2023 Rodney I. Yager

Expand Down
2 changes: 1 addition & 1 deletion build/uninstall
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# uninstall
# unistall RWTS PDFwriter
# unistall pdfwriter 3.0
#
# Copyright 2023 Rodney I. Yager

Expand Down
2 changes: 1 addition & 1 deletion pdfwriter/main.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//
// main.swift
// pdfwriter v3.0
// pdfwriter 3.0
//
// Created by Rod Yager on 18/1/2023.
//
Expand Down

0 comments on commit c359e2c

Please sign in to comment.