-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creating tctl.app so that our tctl distribution can use TouchID for M…
…ac (#45347) * Adding tctl app skeletons * New makefile target for tctl-app * Adding tctl signing config * Provision profile for tctl * Fixing copy-paste typo * Adding provisioning profile to tctldev * Adding support for building tctl.pkg * Adding tctl.pkg to main distribution package * Fixing install scripts and package scripts * Adding some forgotten bits from test branch * One more missed
- Loading branch information
1 parent
f4ad24b
commit 2daf9fb
Showing
19 changed files
with
226 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
main() { | ||
BIN=/usr/local/bin/ | ||
[ ! -d "$BIN" ] && mkdir -p "$BIN" | ||
|
||
# If tctl exists and is not a link, make a backup. | ||
if [ -f "$BIN/tctl" ] && [ ! -L "$BIN/tctl" ]; then | ||
rm -f "$BIN/tctl.bak" | ||
mv "$BIN/tctl" "$BIN/tctl.bak" | ||
fi | ||
|
||
# Link package to $BIN. | ||
rm -f "$BIN/tctl" # in case link exists | ||
ln -s "/Applications/tctl.app/Contents/MacOS/tctl" "$BIN/tctl" | ||
} | ||
|
||
main "$@" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildMachineOSBuild</key> | ||
<string>21D49</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>tctl</string> | ||
<key>CFBundleIconFile</key> | ||
<string>app.icns</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.gravitational.teleport.tctl</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>tctl</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>DTCompiler</key> | ||
<string>com.apple.compilers.llvm.clang.1_0</string> | ||
<key>DTPlatformBuild</key> | ||
<string>13C100</string> | ||
<key>DTPlatformName</key> | ||
<string>macosx</string> | ||
<key>DTPlatformVersion</key> | ||
<string>11.0</string> | ||
<key>DTSDKBuild</key> | ||
<string>21C46</string> | ||
<key>DTSDKName</key> | ||
<string>macosx11.0</string> | ||
<key>DTXcode</key> | ||
<string>1321</string> | ||
<key>DTXcodeBuild</key> | ||
<string>13C100</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.15.0</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string/> | ||
<key>NSMainStoryboardFile</key> | ||
<string>Main</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APPL???? |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.developer.team-identifier</key> | ||
<string>QH8AA5B8UP</string> | ||
<key>com.apple.application-identifier</key> | ||
<string>QH8AA5B8UP.com.gravitational.teleport.tctl</string> | ||
|
||
<key>keychain-access-groups</key> | ||
<array> | ||
<string>QH8AA5B8UP.com.gravitational.teleport.tctl</string> | ||
</array> | ||
</dict> | ||
</plist> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BuildMachineOSBuild</key> | ||
<string>21D49</string> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>tctl</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.goteleport.tctldev</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>tctl</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSupportedPlatforms</key> | ||
<array> | ||
<string>MacOSX</string> | ||
</array> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>DTCompiler</key> | ||
<string>com.apple.compilers.llvm.clang.1_0</string> | ||
<key>DTPlatformBuild</key> | ||
<string>13C100</string> | ||
<key>DTPlatformName</key> | ||
<string>macosx</string> | ||
<key>DTPlatformVersion</key> | ||
<string>11.0</string> | ||
<key>DTSDKBuild</key> | ||
<string>21C46</string> | ||
<key>DTSDKName</key> | ||
<string>macosx11.0</string> | ||
<key>DTXcode</key> | ||
<string>1321</string> | ||
<key>DTXcodeBuild</key> | ||
<string>13C100</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>10.15.0</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string/> | ||
<key>NSMainStoryboardFile</key> | ||
<string>Main</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
APPL???? |
Binary file not shown.
Binary file added
BIN
+11.9 KB
build.assets/macos/tctldev/tctl.app/Contents/embedded.provisionprofile
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>com.apple.developer.team-identifier</key> | ||
<string>K497G57PDJ</string> | ||
<key>com.apple.application-identifier</key> | ||
<string>K497G57PDJ.com.goteleport.tctldev</string> | ||
|
||
<key>keychain-access-groups</key> | ||
<array> | ||
<string>K497G57PDJ.com.goteleport.tctldev</string> | ||
</array> | ||
</dict> | ||
</plist> |
Binary file not shown.
Oops, something went wrong.