mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-30 05:46:31 -04:00
~/.config/sshyp is now auto-generated
This commit is contained in:
@@ -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) ')
|
||||
|
||||
Reference in New Issue
Block a user