fix: explicitly set arcname in tarball

This commit is contained in:
aclist committed 2026-05-18 20:48:23 +09:00
1 parent d5309c1ddf
commit 0a84c20d1d
1 file changed
+1 -1
+1 -1
View File
@@ -42,5 +42,5 @@ if proc.returncode == 0:
output_exe.rename(release_exe)
tarpath = output.joinpath(tarname)
with tarfile.open(tarpath, "w:gz") as tar:
tar.add(release_exe)
tar.add(release_exe, arcname=APP_NAME_LOWER)
print(f"Wrote tarfile to '{tarpath}'")