Skip to content

Commit

Permalink
Changed application version to 1.2b2
Browse files Browse the repository at this point in the history
  • Loading branch information
aecreations committed Nov 2, 2021
1 parent 53d5305 commit 10e2be8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/syncClippings-setup.sh
Expand Up @@ -87,16 +87,14 @@ promptInstallPath() {
read installPath
pathHasSpaces=`echo "$installPath" | grep "\s"`

while [ -n "$pathHasSpaces" ]; do
while [[ -n $pathHasSpaces ]]; do
echo -e "${red}Folder names should not contain spaces.${reset}"
echo -en "${bold}Destination folder: ${reset}"
read installPath
pathHasSpaces=`echo "$installPath" | grep "\s"`
done

if [ -z "$installPath" ]; then
installPath=$defaultInstallPath
fi
[[ -z $installPath ]] && installPath=$defaultInstallPath
}

writeExecFile() {
Expand Down Expand Up @@ -129,7 +127,7 @@ from tkinter import filedialog
DEBUG = False
APP_NAME = "Sync Clippings"
APP_VER = "1.2b1"
APP_VER = "1.2b2"
CONF_FILENAME = "syncClippings.ini"
SYNC_FILENAME = "clippings-sync.json"
Expand Down Expand Up @@ -262,7 +260,8 @@ def promptSyncFldrPath():
if platform.system() == "Darwin":
os.system('''/usr/bin/osascript -e 'tell app "Finder" to set frontmost of process "Python" to true' ''')
rv = filedialog.askdirectory()
homeDir = os.path.expanduser("~")
rv = filedialog.askdirectory(initialdir=homeDir)
# Get rid of the top-level instance once to make it invisible.
root.destroy()
Expand Down Expand Up @@ -360,6 +359,7 @@ while True:
if resp is not None:
sendMessage(encodeMessage(resp))
EOF

if [ $? -ne 0 ]; then
setupFailed=1
else
Expand All @@ -383,7 +383,7 @@ writeConfFile() {
local configFile=${configFileDir}/${confFilename}

# Don't overwrite config file if it already exists.
if [ -f $configFile ]; then
if [[ -f $configFile ]]; then
echo -e "Config file exists at ${configFile}"
return
fi
Expand Down
2 changes: 1 addition & 1 deletion src/syncClippings.py
Expand Up @@ -17,7 +17,7 @@
DEBUG = False

APP_NAME = "Sync Clippings"
APP_VER = "1.2b1"
APP_VER = "1.2b2"
CONF_FILENAME = "syncClippings.ini"
SYNC_FILENAME = "clippings-sync.json"

Expand Down

0 comments on commit 10e2be8

Please sign in to comment.