From d26c2a5e08b2112dd654699081bc4386fff4b0b8 Mon Sep 17 00:00:00 2001 From: Cuan Date: Thu, 13 Jan 2022 02:56:34 -0500 Subject: [PATCH] ~/.config/sshyp is now auto-generated --- bin/sshyp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/sshyp b/bin/sshyp index 8885827..4c63743 100755 --- a/bin/sshyp +++ b/bin/sshyp @@ -47,11 +47,15 @@ def edit_note(_shm_folder, _shm_entry): def tweak(): # runs configuration wizard - # storage directory creation + # storage/config directory creation try: mkdir(f"{path.expanduser('~')}/.password-pasture", 0o700) except FileExistsError: pass + try: + mkdir(path.expanduser('~/.config/sshyp'), 0o700) + except FileExistsError: + pass # device type configuration _device_type = input('\nIs this installation for a client or for a server? (C/s) ')