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
# step 1) download binary | |
sudo su | |
mkdir -p /opt/bootstrapstudio | |
cd /opt/bootstrapstudio | |
# get latest link from https://bootstrapstudio.io/download | |
wget https://bootstrapstudio.io/releases/desktop/5.6.3/Bootstrap%20Studio.AppImage -O bootstrapstudio.AppImage | |
chmod +x *.AppImage | |
# step 2) create desktop file | |
cat <<EOF > /usr/share/applications/bootstrapstudio.desktop |
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
# input vars | |
AD_USER=abc1de | |
# Windows ticks are in 100ns | |
WINDOWS_TICK=10000000 | |
# seconds to be added to make Windows file time Unix file time | |
SEC_TO_UNIX_EPOCH=11644473600 | |
# 180 days (AD setting via maxPwdAge) in seconds | |
PWD_MAX_AGE_SECONDS=15552000 | |
# AD server | |
AD_SERVER="x.xx.com" |