diff --git a/src/install.py b/src/install.py index b3e1dc5..3b883dd 100644 --- a/src/install.py +++ b/src/install.py @@ -78,4 +78,8 @@ def install(args): tar_file.extractall(extract_dir) f.close() - console.print(f"[d][:white_check_mark:] Extracted to {extract_dir}.") \ No newline at end of file + console.print(f"[d][:white_check_mark:] Extracted to {extract_dir}.") + + console.status("Finishing up...") + os.symlink(os.path.join(extract_dir, package_name, "main.so"), os.path.join(extract_dir, f"{package_name}.so")) + console.print("[:white_check_mark:] Done!") \ No newline at end of file diff --git a/src/publish.py b/src/publish.py index 817fdce..cd24ba3 100644 --- a/src/publish.py +++ b/src/publish.py @@ -86,16 +86,4 @@ def publish(args): response.raise_for_status() console.print("[d][:white_check_mark:] Uploaded![/]") - """console.status("Linking tomineral_name repo...") - - print(mineral_name) - link_package_response = requests.post( - url=f"https://chookspace.com/api/v1/packages/ground/general/request/general/link/Digpkg", - auth=HTTPBasicAuth(username, password) - ) - - if not link_package_response.ok: - console.print(f"[b red]digpkg: failed to link to repo: {link_package_response.content.decode()}[/b red]") - sys.exit(1) - - console.print("[d][:white_check_mark:] Linked![/]")""" \ No newline at end of file + console.print("[:white_check_mark:] Done!") \ No newline at end of file diff --git a/src/remove.py b/src/remove.py index 948540b..d1c67c1 100644 --- a/src/remove.py +++ b/src/remove.py @@ -42,4 +42,4 @@ def remove(args): sys.exit(1) response.raise_for_status() - console.print("[d][:white_check_mark:] Success![/]") \ No newline at end of file + console.print("[d][:white_check_mark:] Done![/]") \ No newline at end of file