create symlinks to installed libraries

This commit is contained in:
2026-01-19 06:32:18 +11:00
parent 81c33d100f
commit 57e763a24f
3 changed files with 7 additions and 15 deletions

View File

@@ -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}.")
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!")