Skip to content

Commit

Permalink
Fix trailing newline from copy paths to make it more useful with Term…
Browse files Browse the repository at this point in the history
…inal.
  • Loading branch information
suolapeikko committed Nov 9, 2019
1 parent 17837e4 commit ea6e65a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions FinderUtilities.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = FinderUtilities/FinderUtilities.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = RWR4H6QC95;
Expand All @@ -387,7 +387,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.4;
MARKETING_VERSION = 1.5;
PRODUCT_BUNDLE_IDENTIFIER = com.github.suolapeikko.extensionapps.FinderUtilities;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -400,7 +400,7 @@
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = FinderUtilities/FinderUtilities.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
DEVELOPMENT_TEAM = RWR4H6QC95;
Expand All @@ -410,7 +410,7 @@
"$(inherited)",
"@executable_path/../Frameworks",
);
MARKETING_VERSION = 1.4;
MARKETING_VERSION = 1.5;
PRODUCT_BUNDLE_IDENTIFIER = com.github.suolapeikko.extensionapps.FinderUtilities;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_VERSION = 5.0;
Expand All @@ -421,7 +421,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = RightClickExtension/RightClickExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -433,7 +433,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MARKETING_VERSION = 1.4;
MARKETING_VERSION = 1.5;
PRODUCT_BUNDLE_IDENTIFIER = com.github.suolapeikko.extensionapps.FinderUtilities.RightClickExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -445,7 +445,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_ENTITLEMENTS = RightClickExtension/RightClickExtension.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1;
Expand All @@ -457,7 +457,7 @@
"@executable_path/../Frameworks",
"@executable_path/../../../../Frameworks",
);
MARKETING_VERSION = 1.4;
MARKETING_VERSION = 1.5;
PRODUCT_BUNDLE_IDENTIFIER = com.github.suolapeikko.extensionapps.FinderUtilities.RightClickExtension;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
Binary file not shown.
1 change: 1 addition & 0 deletions RightClickExtension/RightClickExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class FinderSync: FIFinderSync {
result.append(contentsOf: path.relativePath)
result.append("\n")
}
result.removeLast() // Remove trailing \n

pasteboard.setString(result, forType: NSPasteboard.PasteboardType.string)
}
Expand Down

0 comments on commit ea6e65a

Please sign in to comment.