Skip to content

Commit

Permalink
remove messageBox, remove sleep command
Browse files Browse the repository at this point in the history
  • Loading branch information
shump committed Apr 12, 2024
1 parent 73a04ed commit 6066cf3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def apply(self):

global master_password
master_password = None
APP_VERSION = "0.2.0"
APP_VERSION = "0.2.1"
APP_NAME = "shellar.io"
APP_DATA_PATH = os.path.expanduser(f"~/.{APP_NAME}")

Expand Down Expand Up @@ -123,7 +123,6 @@ def connect():
else
echo "SSH setup failed. Please resolve the issues and try again."
fi
sleep 10
""")
os.chmod(script_path, 0o755)

Expand All @@ -134,8 +133,6 @@ def connect():
end tell
'''

messagebox.showinfo("SSH Key Setup", "Attempting to set up SSH key authentication. A new Terminal window will open for this process.")

subprocess.run(["osascript", "-e", applescript_command], check=True)

def load_config():
Expand Down
6 changes: 3 additions & 3 deletions tools/create-dmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ create-dmg \
--window-pos 200 120 \
--window-size 800 400 \
--icon-size 100 \
--icon "shellar.io.app" 200 190 \
--hide-extension "shellar.io.app" \
--icon "shellar.app" 200 190 \
--hide-extension "shellar.app" \
--app-drop-link 600 185 \
"shellar.io.dmg" \
"shellar.io.app"
"shellar.app"
2 changes: 1 addition & 1 deletion tools/pyinstaller.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
date=$(date -u +"%Y%d%m%H%M")
source venv/bin/activate
pyinstaller --name="shellar" --onefile --windowed --hidden-import=requests --hidden-import=markdown --hidden-import=tkhtmlview --distpath="~/build/shellar.io.v$date/dist" --icon="../graSSHopper/icons/shellar.icns" main.py
pyinstaller --name="shellar" --onefile --windowed --hidden-import=requests --hidden-import=markdown --hidden-import=tkhtmlview --distpath="~/build/shellar.io.v$date-silicon/dist" --icon="../graSSHopper/icons/shellar.icns" main.py

0 comments on commit 6066cf3

Please sign in to comment.