From 523e2a5a481ec0525934005c27d330facecb49c0 Mon Sep 17 00:00:00 2001 From: brice Date: Sun, 19 Sep 2021 09:51:24 +0100 Subject: [PATCH] new version and don't print size in debug info as uses too much memory for images --- Sources/Common/RemoteStashItem.swift | 2 +- remotestash.xcodeproj/project.pbxproj | 4 ++++ remotestash/Info.plist | 2 +- share/Info.plist | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Sources/Common/RemoteStashItem.swift b/Sources/Common/RemoteStashItem.swift index aeb76c7..81e96ec 100644 --- a/Sources/Common/RemoteStashItem.swift +++ b/Sources/Common/RemoteStashItem.swift @@ -404,7 +404,7 @@ class RemoteStashItem { extension RemoteStashItem : CustomStringConvertible { var description: String { - var info = [ "\(self.contentType)", "\(self.content.size())" ] + var info = [ "\(self.contentType)" ] if let file = self.filename { info.append(file) } diff --git a/remotestash.xcodeproj/project.pbxproj b/remotestash.xcodeproj/project.pbxproj index e5c8272..269f829 100644 --- a/remotestash.xcodeproj/project.pbxproj +++ b/remotestash.xcodeproj/project.pbxproj @@ -753,6 +753,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = "net.ro-z.remotestash"; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; @@ -777,6 +778,7 @@ "$(inherited)", "@executable_path/Frameworks", ); + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = "net.ro-z.remotestash"; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTS_MACCATALYST = NO; @@ -883,6 +885,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = "net.ro-z.remotestash.share"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; @@ -905,6 +908,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); + MARKETING_VERSION = 2.0; PRODUCT_BUNDLE_IDENTIFIER = "net.ro-z.remotestash.share"; PRODUCT_NAME = "$(TARGET_NAME)"; SKIP_INSTALL = YES; diff --git a/remotestash/Info.plist b/remotestash/Info.plist index 9887b2a..bd2ae8e 100644 --- a/remotestash/Info.plist +++ b/remotestash/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion 1 LSRequiresIPhoneOS diff --git a/share/Info.plist b/share/Info.plist index bfaf487..9805e6c 100644 --- a/share/Info.plist +++ b/share/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion 1 NSBonjourServices