Updated port-jobs to allow for packaging the new config setup, fixed offline mode error

Former-commit-id: 511d1d887fb34b8613f063fc7992418bb614a740
Former-commit-id: 03f6817527864c52012de1d02bb2c34e8fed8a18
This commit is contained in:
2023-05-13 20:48:51 -04:00
parent aeb3df7aed
commit 2747aff0bf
9 changed files with 73 additions and 46 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ from re import sub
from shutil import get_terminal_size, which
from sshyp import copy_id_check, string_gen
from subprocess import PIPE, run
# PORT START UNAME-IMPORT
# PORT START UNAME-IMPORT-STWEAK
from os import uname
# PORT END UNAME-IMPORT
# PORT END UNAME-IMPORT-STWEAK
home, stdscr, sshyp_data = expanduser("~"), initscr(), ConfigParser()
if isfile(f"{home}/.config/sshyp/sshyp.ini"):
_exists_flag = True