-
Notifications
You must be signed in to change notification settings - Fork 0
/
XinkDeploymentScript.sh
executable file
·30 lines (28 loc) · 2.2 KB
/
XinkDeploymentScript.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
defaults write com.emailsignature.Xink hideInfobox -int 0
defaults write com.emailsignature.Xink hideQuitMailInfobox -int 0
# Set to true to hide the "Enter access code" menu
defaults write com.emailsignature.Xink hideEnterAccessCodeMenu -bool false
# Set to true to hide the "Change email" menu
defaults write com.emailsignature.Xink hideChangeEmailMenu -bool false
# Set to true to hide the "My profile" menu
defaults write com.emailsignature.Xink hideMyProfileMenu -bool false
# Set to true to hide the "Update the version" menu
defaults write com.emailsignature.Xink hideUpdateTheVersionMenu -bool false
defaults write com.emailsignature.Xink isUsingICloudDrive -int 0
# Set to 1 to automaticcally update signatures once every hour. Use with 'forceUpdateSignaturesAutomatically'.
defaults write com.emailsignature.Xink updateSignaturesAutomatically -int 0
# Set to 1 to force updates to all esignatures once every hour depending on 'updateSignaturesAutomatically'.
# If 'forceUpdateSignaturesAutomatically' is set to 0, only signatures updated by the account admin will be updated.
# If 'forceUpdateSignaturesAutomatically' is set to 1, all signatures will be updated and overwritten on the client Mac.
defaults write com.emailsignature.Xink forceUpdateSignaturesAutomatically -int 0
# Set to 1 to update signatures for Apple Mail. Set to 0 to disable.
defaults write com.emailsignature.Xink updateSignaturesForMail -int 0
# Set to 1 to update signatures for Microsoft Outlook. Set to 0 to disable.
defaults write com.emailsignature.Xink updateSignaturesForOutlook -int 1
defaults write com.emailsignature.Xink userName -string "$(whoami)@INSERTYOUREMAILDOMAIN.COM"
# If $(whoami) does not give you the right email address, you can set the "emailDomain" setting instead.
# Xink will use the domain to automatically find the correct email from registered accounts in either Apple Mail or Microsoft Outlook.
# default write com.emailsignature.Xink emailDomain -string "acme.com"
defaults write com.emailsignature.Xink domainToken -string "INSERT YOUR XINK DOMAIN TOKEN HERE"
osascript -e 'tell application "System Events" to make login item at end with properties {name:"Xink", path:"/Applications/Xink.app", hidden:false}'