Download script for precompiled binaries updated and version changed to 0.0.1

This commit is contained in:
Nicolas 2025-11-14 16:35:01 +01:00
parent 0c2f2812db
commit 4b752a6094
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[project]
name = "copapy"
version = "0.0.0"
version = "0.0.1"
authors = [
{ name="Nicolas Kruse", email="nicolas.kruse@nonan.net" },
]

View File

@ -35,8 +35,10 @@ def main() -> None:
url = asset["browser_download_url"]
name: str = asset["name"]
if name.endswith('.o'):
if name.startswith('stencils_'):
dest = 'src/copapy/obj'
elif name.startswith('musl_'):
dest = 'build/musl'
elif name == 'coparun.exe' and os.name == 'nt':
dest = 'build/runner'
elif name == 'coparun' and os.name == 'posix':