mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-04 08:07:15 -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
|
def tweak(): # runs configuration wizard
|
||||||
# storage directory creation
|
# storage/config directory creation
|
||||||
try:
|
try:
|
||||||
mkdir(f"{path.expanduser('~')}/.password-pasture", 0o700)
|
mkdir(f"{path.expanduser('~')}/.password-pasture", 0o700)
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
pass
|
pass
|
||||||
|
try:
|
||||||
|
mkdir(path.expanduser('~/.config/sshyp'), 0o700)
|
||||||
|
except FileExistsError:
|
||||||
|
pass
|
||||||
|
|
||||||
# device type configuration
|
# device type configuration
|
||||||
_device_type = input('\nIs this installation for a client or for a server? (C/s) ')
|
_device_type = input('\nIs this installation for a client or for a server? (C/s) ')
|
||||||
|
|||||||
Reference in New Issue
Block a user