diff --git a/compile.py b/compile.py index 9ae06c0..6ec4222 100644 --- a/compile.py +++ b/compile.py @@ -12,10 +12,10 @@ PACKAGE_ROOT = ROOT / "packages" PACKAGE_DIR = PACKAGE_ROOT / "raw" # main repo -#API_ROOT = "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main" +API_ROOT = "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main" -# local repo -API_ROOT = "http://localhost:8001" +#local repo +#API_ROOT = "http://localhost:8001" DEFAULT_VERSION = "0.0.0" DEFAULT_DESCRIPTION = "No description provided" @@ -28,7 +28,7 @@ def debug(message): def sha256(path): - hasher = hashlib.sha256() + hasher = hashlib.md5() with open(path, "rb") as file: while chunk := file.read(1024 * 1024): @@ -122,7 +122,7 @@ def create_package(folder): DEFAULT_VERSION, ), "hash": package_hash, - "tarball": f"{API_ROOT}/packages/raw/{name}.tar.xz", + "tarball": f"{API_ROOT}/packages/raw/{name}.tar.gz", } with open(pkg_file, "w", encoding="utf-8") as file: diff --git a/packages/Hypersplash.pkg b/packages/Hypersplash.pkg index f18560c..a98cc14 100644 --- a/packages/Hypersplash.pkg +++ b/packages/Hypersplash.pkg @@ -4,6 +4,6 @@ "authors": [], "dependencies": [], "version": "0.0.0", - "hash": "d83271f13ee042680f384bd78a41e61457e1b035fea4002f30ff82d6109b85e4", - "tarball": "http://localhost:8001/packages/raw/Hypersplash.tar.xz" + "hash": "b9949aaa204f24d69b74c38efc42af8b", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/Hypersplash.tar.gz" } diff --git a/packages/brainfuck.pkg b/packages/brainfuck.pkg index a78fab8..f38db5e 100644 --- a/packages/brainfuck.pkg +++ b/packages/brainfuck.pkg @@ -7,6 +7,6 @@ ], "dependencies": [], "version": "1.0.0", - "hash": "e13acb28e6d7e8473d8b7b75af4e0eca10182625e76a845206ccbb0d531f48b5", - "tarball": "http://localhost:8001/packages/raw/brainfuck.tar.xz" + "hash": "b5b39d1f3fb742274b9cf97333cb7535", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/brainfuck.tar.gz" } diff --git a/packages/ccemu.pkg b/packages/ccemu.pkg index 8318cb2..29fd2a4 100644 --- a/packages/ccemu.pkg +++ b/packages/ccemu.pkg @@ -4,6 +4,6 @@ "authors": [], "dependencies": [], "version": "0.0.0", - "hash": "11b44baa23034eb669623382c4eafbf62ded61ec23a9ff75c5805d2ead277400", - "tarball": "http://localhost:8001/packages/raw/ccemu.tar.xz" + "hash": "422adc2dd07d99cbf1d7ca66383a62a4", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/ccemu.tar.gz" } diff --git a/packages/raw/Hypersplash.tar.gz b/packages/raw/Hypersplash.tar.gz index 438c90c..442bf2e 100644 Binary files a/packages/raw/Hypersplash.tar.gz and b/packages/raw/Hypersplash.tar.gz differ diff --git a/packages/raw/brainfuck.tar.gz b/packages/raw/brainfuck.tar.gz index e3979b4..2dc7c26 100644 Binary files a/packages/raw/brainfuck.tar.gz and b/packages/raw/brainfuck.tar.gz differ diff --git a/packages/raw/ccemu.tar.gz b/packages/raw/ccemu.tar.gz index 77a8d51..a76a045 100644 Binary files a/packages/raw/ccemu.tar.gz and b/packages/raw/ccemu.tar.gz differ diff --git a/packages/raw/rawexplorer.tar.gz b/packages/raw/rawexplorer.tar.gz index bcebd0d..bbe32e5 100644 Binary files a/packages/raw/rawexplorer.tar.gz and b/packages/raw/rawexplorer.tar.gz differ diff --git a/packages/raw/reactornoboom.tar.gz b/packages/raw/reactornoboom.tar.gz index 4a3d10b..fd2157b 100644 Binary files a/packages/raw/reactornoboom.tar.gz and b/packages/raw/reactornoboom.tar.gz differ diff --git a/packages/raw/rootkit.tar.gz b/packages/raw/rootkit.tar.gz index b3bc2a1..73597c2 100644 Binary files a/packages/raw/rootkit.tar.gz and b/packages/raw/rootkit.tar.gz differ diff --git a/packages/raw/taskunmanager.tar.gz b/packages/raw/taskunmanager.tar.gz index 617fe8b..2fed82e 100644 Binary files a/packages/raw/taskunmanager.tar.gz and b/packages/raw/taskunmanager.tar.gz differ diff --git a/packages/rawexplorer.pkg b/packages/rawexplorer.pkg index bf97523..aacbfdf 100644 --- a/packages/rawexplorer.pkg +++ b/packages/rawexplorer.pkg @@ -4,6 +4,6 @@ "authors": [], "dependencies": [], "version": "0.0.0", - "hash": "338c1e29973887a02b04c739357f83d971fa86f763b7133d3aa63b527836d213", - "tarball": "http://localhost:8001/packages/raw/rawexplorer.tar.xz" + "hash": "a562bab00d47503234da7fee596208b0", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/rawexplorer.tar.gz" } diff --git a/packages/reactornoboom.pkg b/packages/reactornoboom.pkg index cf14650..6644eeb 100644 --- a/packages/reactornoboom.pkg +++ b/packages/reactornoboom.pkg @@ -4,6 +4,6 @@ "authors": [], "dependencies": [], "version": "0.0.0", - "hash": "fcec0c946ec115befcdc731dcf5249a7b8e45b93086e8dce78958d4502d4af91", - "tarball": "http://localhost:8001/packages/raw/reactornoboom.tar.xz" + "hash": "b5cd95451af1948cbe72a193426e66bf", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/reactornoboom.tar.gz" } diff --git a/packages/rootkit.pkg b/packages/rootkit.pkg index d4efa0d..34b2095 100644 --- a/packages/rootkit.pkg +++ b/packages/rootkit.pkg @@ -4,6 +4,6 @@ "authors": [], "dependencies": [], "version": "0.0.0", - "hash": "bd9da232fbfb4341a3622fafb8c261031896af2f0c984a413dd574d41ffe7b09", - "tarball": "http://localhost:8001/packages/raw/rootkit.tar.xz" + "hash": "a34478ef284cd38bb21e40a1b31c0454", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/rootkit.tar.gz" } diff --git a/packages/taskunmanager.pkg b/packages/taskunmanager.pkg index 912222b..77ad802 100644 --- a/packages/taskunmanager.pkg +++ b/packages/taskunmanager.pkg @@ -4,6 +4,6 @@ "authors": [], "dependencies": [], "version": "0.0.0", - "hash": "d8cc521ce6dc966897badc83523c82cbcbb6c5dfa0c70ca6c852af18f95c8506", - "tarball": "http://localhost:8001/packages/raw/taskunmanager.tar.xz" + "hash": "a5216495d9b4615706627d68251ebec4", + "tarball": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/raw/taskunmanager.tar.gz" } diff --git a/spm.json b/spm.json index cff8137..1c26feb 100644 --- a/spm.json +++ b/spm.json @@ -1,16 +1,16 @@ { "packages": { - "Hypersplash": "http://localhost:8001/packages/Hypersplash.pkg", - "brainfuck": "http://localhost:8001/packages/brainfuck.pkg", - "ccemu": "http://localhost:8001/packages/ccemu.pkg", - "rawexplorer": "http://localhost:8001/packages/rawexplorer.pkg", - "reactornoboom": "http://localhost:8001/packages/reactornoboom.pkg", - "rootkit": "http://localhost:8001/packages/rootkit.pkg", - "taskunmanager": "http://localhost:8001/packages/taskunmanager.pkg" + "Hypersplash": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/Hypersplash.pkg", + "brainfuck": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/brainfuck.pkg", + "ccemu": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/ccemu.pkg", + "rawexplorer": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/rawexplorer.pkg", + "reactornoboom": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/reactornoboom.pkg", + "rootkit": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/rootkit.pkg", + "taskunmanager": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/packages/taskunmanager.pkg" }, "refs": [], "maintainers": [ "Astronand" ], - "self": "http://localhost:8001/spm.json" + "self": "https://git.astronand.dev/Astronand/HyperionOS-packages/raw/branch/main/spm.json" }