설치 파일 버전을 0.2.0으로 올림
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- 작성자
- LeeJunyoung
- 작성 시각
- 커밋
e84dc12259b439cdf5eb1e4770529b43a6ac0231- 부모
- 3a77cfd
변경된 파일 5개
+8-8| @@ -4,7 +4,7 @@ Ubuntu 26.04 amd64에서 현재 저장소의 실제 앱과 작업자를 빌드 | ||
| 4 | 4 | |
| 5 | 5 | ```sh |
| 6 | 6 | python3 packaging/ubuntu/rust/build.py --target-dir tests/ci/package-target --output tests/release-packages/runs/ubuntu |
| 7 | 삭제: sudo dpkg -i tests/release-packages/runs/ubuntu/zipelo_0.1.0_amd64.deb | |
| 7 | 추가: sudo dpkg -i tests/release-packages/runs/ubuntu/zipelo_0.2.0_amd64.deb | |
| 8 | 8 | zipelo /path/to/archive.zip |
| 9 | 9 | sudo dpkg -r zipelo |
| 10 | 10 | ``` |
| @@ -53,7 +53,7 @@ def build(args): | ||
| 53 | 53 | control = stage / "DEBIAN" |
| 54 | 54 | control.mkdir() |
| 55 | 55 | (control / "control").write_text("""Package: zipelo |
| 56 | 삭제: Version: 0.1.0 | |
| 56 | 추가: Version: 0.2.0 | |
| 57 | 57 | Architecture: amd64 |
| 58 | 58 | Maintainer: Zipelo contributors <[email protected]> |
| 59 | 59 | Section: utils |
| @@ -65,7 +65,7 @@ Description: Lightweight Rust archive application | ||
| 65 | 65 | for script in ("postinst", "prerm", "postrm"): |
| 66 | 66 | shutil.copyfile(Path(__file__).with_name(script), control / script) |
| 67 | 67 | (control / script).chmod(0o755) |
| 68 | 삭제: package = output / "zipelo_0.1.0_amd64.deb" | |
| 68 | 추가: package = output / "zipelo_0.2.0_amd64.deb" | |
| 69 | 69 | subprocess.run(["dpkg-deb", "--root-owner-group", "--build", str(stage), str(package)], check=True) |
| 70 | 70 | print(package) |
| 71 | 71 | print("SHA-256 " + hashlib.sha256(package.read_bytes()).hexdigest()) |
| @@ -90,7 +90,7 @@ def build(args): | ||
| 90 | 90 | shutil.copyfile(Path(__file__).with_name("installer.nsi"), output / "installer.nsi") |
| 91 | 91 | shutil.copyfile(ROOT / "experiments/rust-ui-memory-app/src/assets/icons/zipelo.ico", output / "zipelo.ico") |
| 92 | 92 | subprocess.run(["makensis", "-WX", "installer.nsi"], cwd=output, check=True) |
| 93 | 삭제: installer = output / "Zipelo-0.1.0-windows-x64-setup.exe" | |
| 93 | 추가: installer = output / "Zipelo-0.2.0-windows-x64-setup.exe" | |
| 94 | 94 | if pe_machine(installer) not in (0x14C, 0x8664): |
| 95 | 95 | raise ValueError("NSIS 설치 실행 파일이 아님") |
| 96 | 96 | print(installer) |
| @@ -5,7 +5,7 @@ Unicode true | ||
| 5 | 5 | !include "x64.nsh" |
| 6 | 6 | !include "FileFunc.nsh" |
| 7 | 7 | Name "Zipelo" |
| 8 | 삭제: OutFile "Zipelo-0.1.0-windows-x64-setup.exe" | |
| 8 | 추가: OutFile "Zipelo-0.2.0-windows-x64-setup.exe" | |
| 9 | 9 | !define INSTALLROOT "$LOCALAPPDATA\Programs\Zipelo" |
| 10 | 10 | InstallDir "${INSTALLROOT}" |
| 11 | 11 | RequestExecutionLevel user |
| @@ -228,7 +228,7 @@ prepare: | ||
| 228 | 228 | ${If} $Upgrading == 1 |
| 229 | 229 | StrCpy $VersionChanged 1 |
| 230 | 230 | ClearErrors |
| 231 | 삭제: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.1.0" | |
| 231 | 추가: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.2.0" | |
| 232 | 232 | IfErrors failed |
| 233 | 233 | Goto committed |
| 234 | 234 | ${EndIf} |
| @@ -238,7 +238,7 @@ prepare: | ||
| 238 | 238 | StrCpy $UninstallOwned 1 |
| 239 | 239 | WriteRegStr HKCU "${UNKEY}" "DisplayName" "Zipelo" |
| 240 | 240 | WriteRegStr HKCU "${UNKEY}" "DisplayIcon" '$\"$INSTDIR\Zipelo.exe$\",0' |
| 241 | 삭제: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.1.0" | |
| 241 | 추가: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.2.0" | |
| 242 | 242 | WriteRegStr HKCU "${UNKEY}" "UninstallString" '$\"$INSTDIR\Uninstall.exe$\"' |
| 243 | 243 | IfErrors failed |
| 244 | 244 | committed: |
| @@ -64,7 +64,7 @@ class InstallerInputTests(unittest.TestCase): | ||
| 64 | 64 | completed = subprocess.run(["makensis", "-WX", "installer.nsi"], cwd=self.root, |
| 65 | 65 | stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True) |
| 66 | 66 | self.assertEqual(completed.returncode, 0, completed.stdout) |
| 67 | 삭제: installer = self.root / "Zipelo-0.1.0-windows-x64-setup.exe" | |
| 67 | 추가: installer = self.root / "Zipelo-0.2.0-windows-x64-setup.exe" | |
| 68 | 68 | self.assertIn(MODULE.pe_machine(installer), (0x14C, 0x8664)) |
| 69 | 69 | self.assertGreater(installer.stat().st_size, 100000) |
| 70 | 70 |