team-ljyzipelo

공개

설치 파일 버전을 0.2.0으로 올림

Co-Authored-By: Claude Opus 5.5 <[email protected]>
작성자
LeeJunyoung
작성 시각
커밋
e84dc12259b439cdf5eb1e4770529b43a6ac0231
부모
3a77cfd
이 시점의 파일 보기

변경된 파일 5개

+8-8
수정packaging/ubuntu/rust/README.md+1-1
@@ -4,7 +4,7 @@ Ubuntu 26.04 amd64에서 현재 저장소의 실제 앱과 작업자를 빌드
44
55```sh
66python3 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
88zipelo /path/to/archive.zip
99sudo dpkg -r zipelo
1010```
수정packaging/ubuntu/rust/build.py+2-2
@@ -53,7 +53,7 @@ def build(args):
5353 control = stage / "DEBIAN"
5454 control.mkdir()
5555 (control / "control").write_text("""Package: zipelo
56삭제: Version: 0.1.0
56추가: Version: 0.2.0
5757Architecture: amd64
5858Maintainer: Zipelo contributors <[email protected]>
5959Section: utils
@@ -65,7 +65,7 @@ Description: Lightweight Rust archive application
6565 for script in ("postinst", "prerm", "postrm"):
6666 shutil.copyfile(Path(__file__).with_name(script), control / script)
6767 (control / script).chmod(0o755)
68삭제: package = output / "zipelo_0.1.0_amd64.deb"
68추가: package = output / "zipelo_0.2.0_amd64.deb"
6969 subprocess.run(["dpkg-deb", "--root-owner-group", "--build", str(stage), str(package)], check=True)
7070 print(package)
7171 print("SHA-256 " + hashlib.sha256(package.read_bytes()).hexdigest())
수정packaging/windows/rust/build.py+1-1
@@ -90,7 +90,7 @@ def build(args):
9090 shutil.copyfile(Path(__file__).with_name("installer.nsi"), output / "installer.nsi")
9191 shutil.copyfile(ROOT / "experiments/rust-ui-memory-app/src/assets/icons/zipelo.ico", output / "zipelo.ico")
9292 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"
9494 if pe_machine(installer) not in (0x14C, 0x8664):
9595 raise ValueError("NSIS 설치 실행 파일이 아님")
9696 print(installer)
수정packaging/windows/rust/installer.nsi+3-3
@@ -5,7 +5,7 @@ Unicode true
55!include "x64.nsh"
66!include "FileFunc.nsh"
77Name "Zipelo"
8삭제: OutFile "Zipelo-0.1.0-windows-x64-setup.exe"
8추가: OutFile "Zipelo-0.2.0-windows-x64-setup.exe"
99!define INSTALLROOT "$LOCALAPPDATA\Programs\Zipelo"
1010InstallDir "${INSTALLROOT}"
1111RequestExecutionLevel user
@@ -228,7 +228,7 @@ prepare:
228228 ${If} $Upgrading == 1
229229 StrCpy $VersionChanged 1
230230 ClearErrors
231삭제: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.1.0"
231추가: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.2.0"
232232 IfErrors failed
233233 Goto committed
234234 ${EndIf}
@@ -238,7 +238,7 @@ prepare:
238238 StrCpy $UninstallOwned 1
239239 WriteRegStr HKCU "${UNKEY}" "DisplayName" "Zipelo"
240240 WriteRegStr HKCU "${UNKEY}" "DisplayIcon" '$\"$INSTDIR\Zipelo.exe$\",0'
241삭제: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.1.0"
241추가: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.2.0"
242242 WriteRegStr HKCU "${UNKEY}" "UninstallString" '$\"$INSTDIR\Uninstall.exe$\"'
243243 IfErrors failed
244244committed:
수정tests/ci/test_windows_installer.py+1-1
@@ -64,7 +64,7 @@ class InstallerInputTests(unittest.TestCase):
6464 completed = subprocess.run(["makensis", "-WX", "installer.nsi"], cwd=self.root,
6565 stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
6666 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"
6868 self.assertIn(MODULE.pe_machine(installer), (0x14C, 0x8664))
6969 self.assertGreater(installer.stat().st_size, 100000)
7070