Merge pull request #107 from Team-LJY/fix/release-v0.1-labels
v0.1.0 정식판 이름과 README 다운로드 링크
- 작성자
- LeeJunyoung
- 작성 시각
- 커밋
59d05a67b3b7bbba52fa5a9b06784bb5a35aaf2c
변경된 파일 10개
+47-49| @@ -2,11 +2,9 @@ | ||
| 2 | 2 | |
| 3 | 3 | 쉽고 빠른 압축과 압축 해제를 목표로 만드는 MIT 오픈소스 프로그램입니다. |
| 4 | 4 | |
| 5 | 삭제: [](https://github.com/Team-LJY/zipelo/releases/latest) | |
| 5 | 추가: [](https://github.com/Team-LJY/zipelo/releases/download/v0.1.0/Zipelo-0.1.0-windows-x64-setup.exe) | |
| 6 | 6 | |
| 7 | 삭제: **[다운로드 (최신 릴리스)](https://github.com/Team-LJY/zipelo/releases/latest)** | |
| 8 | 삭제: | |
| 9 | 삭제: 설치 파일은 아직 게시되지 않았습니다. 첫 릴리스가 올라오면 위 버튼에서 받을 수 있습니다. | |
| 7 | 추가: 버튼을 누르면 Windows 설치 파일(v0.1.0)을 바로 받습니다. Ubuntu용은 [.deb 설치 파일](https://github.com/Team-LJY/zipelo/releases/download/v0.1.0/zipelo_0.1.0_amd64.deb)을 받으세요. 모든 버전은 [릴리스 페이지](https://github.com/Team-LJY/zipelo/releases/latest)에 있습니다. | |
| 10 | 8 | |
| 11 | 9 |  |
| 12 | 10 | |
| @@ -20,14 +18,14 @@ | ||
| 20 | 18 | |
| 21 | 19 | ## 설치 방법 |
| 22 | 20 | |
| 23 | 삭제: 첫 릴리스가 게시되면 아래 순서로 설치할 수 있습니다. 다음은 Windows 설치 방법입니다. | |
| 21 | 추가: Windows에서는 아래 순서로 설치합니다. | |
| 24 | 22 | |
| 25 | 삭제: 1. 위 다운로드 버튼을 누르고, 릴리스 페이지의 첨부 파일(Assets)에서 Windows 설치 파일(`.exe`)을 받으세요. | |
| 26 | 삭제: 2. 받은 설치 파일을 더블클릭하고 화면 안내에 따라 설치하세요. | |
| 23 | 추가: 1. 위 다운로드 버튼을 눌러 Windows 설치 파일(`.exe`)을 받으세요. | |
| 24 | 추가: 2. 받은 설치 파일을 더블클릭하고 화면 안내에 따라 설치하세요. "Windows의 PC 보호" 창이 뜨면 [추가 정보]를 누른 뒤 [실행]을 누르세요. 아직 코드 서명이 없는 설치 파일이라 이 창이 나올 수 있습니다. | |
| 27 | 25 | 3. 기본 압축 프로그램으로 쓰려면 마지막 화면에서 [적용]을 누르고 Windows 설정에서 Zipelo를 선택하세요. 설정을 바꾸지 않으려면 [마침]을 누르세요. |
| 28 | 26 | 4. Zipelo를 실행하고 [열기]에서 압축 파일을 고르세요. 기본 앱으로 설정했다면 압축 파일을 더블클릭해 열 수도 있습니다. |
| 29 | 27 | |
| 30 | 삭제: Ubuntu도 지원하며, 첫 릴리스에서 `.deb` 설치 파일을 받을 수 있습니다. | |
| 28 | 추가: Ubuntu에서는 [.deb 설치 파일](https://github.com/Team-LJY/zipelo/releases/download/v0.1.0/zipelo_0.1.0_amd64.deb)을 받아 `sudo apt install ./zipelo_0.1.0_amd64.deb`로 설치하세요. 처음 설치할 때 ZIP, 7z, TAR, GZ, TAR.GZ의 기본 앱이 Zipelo로 바뀝니다. | |
| 31 | 29 | |
| 32 | 30 | ## 아직 안 되는 것과 사용 전 알아둘 점 |
| 33 | 31 |
| @@ -1,4 +0,0 @@ | ||
| 1 | 삭제: <svg xmlns="http://www.w3.org/2000/svg" width="380" height="76" viewBox="0 0 380 76" role="img" aria-label="Windows용 다운로드 준비 중"> | |
| 2 | 삭제: <rect x="1" y="1" width="378" height="74" rx="8" fill="#F3F6FA" stroke="#CFD7E3" /> | |
| 3 | 삭제: <text x="190" y="46" text-anchor="middle" fill="#17263C" font-family="Malgun Gothic, sans-serif" font-size="22" font-weight="600">Windows용 다운로드 준비 중</text> | |
| 4 | 삭제: </svg> |
| @@ -0,0 +1,4 @@ | ||
| 1 | 추가: <svg xmlns="http://www.w3.org/2000/svg" width="380" height="76" viewBox="0 0 380 76" role="img" aria-label="Windows용 Zipelo 다운로드"> | |
| 2 | 추가: <rect x="1" y="1" width="378" height="74" rx="8" fill="#1F6FEB" stroke="#1858BC" /> | |
| 3 | 추가: <text x="190" y="47" text-anchor="middle" fill="#FFFFFF" font-family="Malgun Gothic, sans-serif" font-size="24" font-weight="700">Windows용 다운로드</text> | |
| 4 | 추가: </svg> |
| @@ -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~dev1_amd64.deb | |
| 7 | 추가: sudo dpkg -i tests/release-packages/runs/ubuntu/zipelo_0.1.0_amd64.deb | |
| 8 | 8 | zipelo /path/to/archive.zip |
| 9 | 9 | sudo dpkg -r zipelo |
| 10 | 10 | ``` |
| @@ -51,7 +51,7 @@ def build(args): | ||
| 51 | 51 | control = stage / "DEBIAN" |
| 52 | 52 | control.mkdir() |
| 53 | 53 | (control / "control").write_text("""Package: zipelo |
| 54 | 삭제: Version: 0.1.0~dev1 | |
| 54 | 추가: Version: 0.1.0 | |
| 55 | 55 | Architecture: amd64 |
| 56 | 56 | Maintainer: Zipelo contributors <[email protected]> |
| 57 | 57 | Section: utils |
| @@ -63,7 +63,7 @@ Description: Lightweight Rust archive application | ||
| 63 | 63 | for script in ("postinst", "postrm"): |
| 64 | 64 | shutil.copyfile(Path(__file__).with_name(script), control / script) |
| 65 | 65 | (control / script).chmod(0o755) |
| 66 | 삭제: package = output / "zipelo_0.1.0~dev1_amd64.deb" | |
| 66 | 추가: package = output / "zipelo_0.1.0_amd64.deb" | |
| 67 | 67 | subprocess.run(["dpkg-deb", "--root-owner-group", "--build", str(stage), str(package)], check=True) |
| 68 | 68 | print(package) |
| 69 | 69 | print("SHA-256 " + hashlib.sha256(package.read_bytes()).hexdigest()) |
| @@ -1,4 +1,4 @@ | ||
| 1 | 삭제: # Rust Windows 개발판 설치 파일 | |
| 1 | 추가: # Rust Windows 설치 파일 | |
| 2 | 2 | |
| 3 | 3 | NSIS를 사용해 Linux에서 Windows x64 설치 EXE를 생성합니다. Rust 앱과 별도 작업자를 |
| 4 | 4 | 교차 빌드하며 가짜 작업자 기능은 활성화하지 않습니다. |
| @@ -17,14 +17,14 @@ Cargo 1.99.1, Windows GNU Rust target, MinGW-w64와 makensis가 필요합니다. | ||
| 17 | 17 | 앱과 작업자 PR이 병합되기 전에는 각 PR의 별도 소스 경로를 인자로 지정합니다. |
| 18 | 18 | 빌드 정보에는 소스 커밋, 실행 파일 SHA-256, target, profile, 기능 목록을 기록합니다. |
| 19 | 19 | |
| 20 | 삭제: 설치 파일을 더블클릭하면 현재 사용자의 LocalAppData/Programs/Zipelo-Dev에 | |
| 20 | 추가: 설치 파일을 더블클릭하면 현재 사용자의 LocalAppData/Programs/Zipelo에 | |
| 21 | 21 | Zipelo.exe, zipelo-archive-worker.exe, MIT LICENSE, BUILD-INFO.json과 제거 프로그램을 설치합니다. |
| 22 | 22 | 설치 경로는 위 위치로 고정되며 명령행 /D로 다른 위치를 지정해도 파일 쓰기 전에 고정 위치를 적용합니다. |
| 23 | 23 | 설치와 제거는 같은 경로 상수를 사용합니다. |
| 24 | 24 | 기존 폴더나 등록이 있으면 중단하며 덮어쓰기 업데이트는 지원하지 않습니다. |
| 25 | 삭제: 시작 메뉴에 Zipelo 개발판 바로가기를 추가합니다. | |
| 25 | 추가: 시작 메뉴에 Zipelo 바로가기를 추가합니다. | |
| 26 | 26 | |
| 27 | 삭제: 마지막 화면의 [적용]을 누르면 HKCU의 ZipeloDev.Archive ProgID와 RegisteredApplications에 | |
| 27 | 추가: 마지막 화면의 [적용]을 누르면 HKCU의 Zipelo.Archive ProgID와 RegisteredApplications에 | |
| 28 | 28 | .zip, .tar, .gz, .tgz 연결 후보를 등록하고 ms-settings:defaultapps를 엽니다. |
| 29 | 29 | .tar.gz는 마지막 확장자 .gz로 연결됩니다. 기본 앱은 사용자가 Windows 설정에서 직접 선택합니다. |
| 30 | 30 | 7z도 연결 후보에 포함하며 JAR와 RAR는 등록하지 않습니다. [마침]만 누르면 연결 후보를 등록하지 않습니다. |
| @@ -84,13 +84,13 @@ def build(args): | ||
| 84 | 84 | source, records[name] = build_binary(manifest, binary, target_dir, args.profile, features) |
| 85 | 85 | shutil.copyfile(source, payload / name) |
| 86 | 86 | shutil.copyfile(ROOT / "LICENSE", payload / "LICENSE") |
| 87 | 삭제: records = {"development_only": True, "windows_execution_verified": False, | |
| 87 | 추가: records = {"development_only": False, "windows_execution_verified": False, | |
| 88 | 88 | "profile": args.profile, "target": TARGET, "files": records} |
| 89 | 89 | (payload / "BUILD-INFO.json").write_text(json.dumps(records, indent=4) + "\n", encoding="utf-8") |
| 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-dev-windows-x64-setup.exe" | |
| 93 | 추가: installer = output / "Zipelo-0.1.0-windows-x64-setup.exe" | |
| 94 | 94 | if pe_machine(installer) not in (0x14C, 0x8664): |
| 95 | 95 | raise ValueError("NSIS 설치 실행 파일이 아님") |
| 96 | 96 | print(installer) |
| @@ -4,9 +4,9 @@ Unicode true | ||
| 4 | 4 | !include "LogicLib.nsh" |
| 5 | 5 | !include "x64.nsh" |
| 6 | 6 | !include "FileFunc.nsh" |
| 7 | 삭제: Name "Zipelo 개발판" | |
| 8 | 삭제: OutFile "Zipelo-0.1.0-dev-windows-x64-setup.exe" | |
| 9 | 삭제: !define INSTALLROOT "$LOCALAPPDATA\Programs\Zipelo-Dev" | |
| 7 | 추가: Name "Zipelo" | |
| 8 | 추가: OutFile "Zipelo-0.1.0-windows-x64-setup.exe" | |
| 9 | 추가: !define INSTALLROOT "$LOCALAPPDATA\Programs\Zipelo" | |
| 10 | 10 | InstallDir "${INSTALLROOT}" |
| 11 | 11 | RequestExecutionLevel user |
| 12 | 12 | SetCompressor /SOLID lzma |
| @@ -30,9 +30,9 @@ Var RootOwned | ||
| 30 | 30 | Var ShortcutOwned |
| 31 | 31 | Var UninstallOwned |
| 32 | 32 | Var InstallComplete |
| 33 | 삭제: !define APPKEY "Software\Zipelo-Dev" | |
| 34 | 삭제: !define PROGKEY "Software\Classes\ZipeloDev.Archive" | |
| 35 | 삭제: !define UNKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Zipelo-Dev" | |
| 33 | 추가: !define APPKEY "Software\Zipelo" | |
| 34 | 추가: !define PROGKEY "Software\Classes\Zipelo.Archive" | |
| 35 | 추가: !define UNKEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\Zipelo" | |
| 36 | 36 | |
| 37 | 37 | Function .onInit |
| 38 | 38 | ${IfNot} ${RunningX64} |
| @@ -42,7 +42,7 @@ Function .onInit | ||
| 42 | 42 | SetShellVarContext current |
| 43 | 43 | SetRegView 64 |
| 44 | 44 | System::Call 'kernel32::SetLastError(i 0)' |
| 45 | 삭제: System::Call 'kernel32::CreateMutexW(p 0, i 0, w "Local\ZipeloDevSetup") p.r0 ?e' | |
| 45 | 추가: System::Call 'kernel32::CreateMutexW(p 0, i 0, w "Local\ZipeloSetup") p.r0 ?e' | |
| 46 | 46 | Pop $1 |
| 47 | 47 | StrCpy $Mutex $0 |
| 48 | 48 | ${If} $0 == 0 |
| @@ -81,7 +81,7 @@ Section "Zipelo" | ||
| 81 | 81 | ; 공유 등록 값이 이미 있으면 형식과 관계없이 보존함. |
| 82 | 82 | System::Call 'advapi32::RegOpenKeyExW(p 0x80000001, w "Software\RegisteredApplications", i 0, i 0x20119, *p.r1) i.r0' |
| 83 | 83 | ${If} $0 == 0 |
| 84 | 삭제: System::Call 'advapi32::RegQueryValueExW(p r1, w "Zipelo 개발판", p 0, p 0, p 0, p 0) i.r2' | |
| 84 | 추가: System::Call 'advapi32::RegQueryValueExW(p r1, w "Zipelo", p 0, p 0, p 0, p 0) i.r2' | |
| 85 | 85 | System::Call 'advapi32::RegCloseKey(p r1)' |
| 86 | 86 | ${If} $2 != 2 |
| 87 | 87 | Goto failed |
| @@ -89,7 +89,7 @@ Section "Zipelo" | ||
| 89 | 89 | ${ElseIf} $0 != 2 |
| 90 | 90 | Goto failed |
| 91 | 91 | ${EndIf} |
| 92 | 삭제: IfFileExists "$SMPROGRAMS\Zipelo 개발판.lnk" failed | |
| 92 | 추가: IfFileExists "$SMPROGRAMS\Zipelo.lnk" failed | |
| 93 | 93 | ClearErrors |
| 94 | 94 | CreateDirectory "$LOCALAPPDATA\Programs" |
| 95 | 95 | IfErrors failed |
| @@ -109,12 +109,12 @@ Section "Zipelo" | ||
| 109 | 109 | WriteINIStr "$INSTDIR\install.ini" "Zipelo" "Location" "$INSTDIR" |
| 110 | 110 | IfErrors failed |
| 111 | 111 | StrCpy $ShortcutOwned 1 |
| 112 | 삭제: CreateShortcut "$SMPROGRAMS\Zipelo 개발판.lnk" "$INSTDIR\Zipelo.exe" | |
| 112 | 추가: CreateShortcut "$SMPROGRAMS\Zipelo.lnk" "$INSTDIR\Zipelo.exe" | |
| 113 | 113 | IfErrors failed |
| 114 | 114 | StrCpy $UninstallOwned 1 |
| 115 | 삭제: WriteRegStr HKCU "${UNKEY}" "DisplayName" "Zipelo 개발판" | |
| 115 | 추가: WriteRegStr HKCU "${UNKEY}" "DisplayName" "Zipelo" | |
| 116 | 116 | WriteRegStr HKCU "${UNKEY}" "DisplayIcon" '$\"$INSTDIR\Zipelo.exe$\",0' |
| 117 | 삭제: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.1.0-dev" | |
| 117 | 추가: WriteRegStr HKCU "${UNKEY}" "DisplayVersion" "0.1.0" | |
| 118 | 118 | WriteRegStr HKCU "${UNKEY}" "UninstallString" '$\"$INSTDIR\Uninstall.exe$\"' |
| 119 | 119 | IfErrors failed |
| 120 | 120 | StrCpy $InstallComplete 1 |
| @@ -122,7 +122,7 @@ Section "Zipelo" | ||
| 122 | 122 | failed: |
| 123 | 123 | Call Rollback |
| 124 | 124 | SetErrorLevel 1 |
| 125 | 삭제: MessageBox MB_OK|MB_ICONSTOP "설치를 완료하지 못했습니다. 기존 Zipelo 개발판이 있으면 먼저 제거하고, 여유 공간과 쓰기 권한을 확인하세요. 이번 설치 항목을 정리했으며, 사용 중이라 지우지 못한 항목은 상세 보기에서 확인하세요." | |
| 125 | 추가: MessageBox MB_OK|MB_ICONSTOP "설치를 완료하지 못했습니다. 기존 Zipelo이 있으면 먼저 제거하고, 여유 공간과 쓰기 권한을 확인하세요. 이번 설치 항목을 정리했으며, 사용 중이라 지우지 못한 항목은 상세 보기에서 확인하세요." | |
| 126 | 126 | Abort |
| 127 | 127 | done: |
| 128 | 128 | SectionEnd |
| @@ -134,7 +134,7 @@ Function Rollback | ||
| 134 | 134 | ${EndIf} |
| 135 | 135 | SetOutPath "$TEMP" |
| 136 | 136 | ${If} $ShortcutOwned == 1 |
| 137 | 삭제: Delete "$SMPROGRAMS\Zipelo 개발판.lnk" | |
| 137 | 추가: Delete "$SMPROGRAMS\Zipelo.lnk" | |
| 138 | 138 | ${EndIf} |
| 139 | 139 | ${If} $UninstallOwned == 1 |
| 140 | 140 | DeleteRegValue HKCU "${UNKEY}" "DisplayIcon" |
| @@ -185,14 +185,14 @@ Function ApplyAssociations | ||
| 185 | 185 | WriteRegStr HKCU "${PROGKEY}" "" "Zipelo 압축파일" |
| 186 | 186 | WriteRegStr HKCU "${PROGKEY}\DefaultIcon" "" '$\"$INSTDIR\Zipelo.exe$\",0' |
| 187 | 187 | WriteRegStr HKCU "${PROGKEY}\shell\open\command" "" '$\"$INSTDIR\Zipelo.exe$\" $\"%1$\"' |
| 188 | 삭제: WriteRegStr HKCU "${APPKEY}\Capabilities" "ApplicationName" "Zipelo 개발판" | |
| 188 | 추가: WriteRegStr HKCU "${APPKEY}\Capabilities" "ApplicationName" "Zipelo" | |
| 189 | 189 | WriteRegStr HKCU "${APPKEY}\Capabilities" "ApplicationDescription" "압축파일 열기와 풀기" |
| 190 | 삭제: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".zip" "ZipeloDev.Archive" | |
| 191 | 삭제: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".7z" "ZipeloDev.Archive" | |
| 192 | 삭제: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".tar" "ZipeloDev.Archive" | |
| 193 | 삭제: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".gz" "ZipeloDev.Archive" | |
| 194 | 삭제: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".tgz" "ZipeloDev.Archive" | |
| 195 | 삭제: WriteRegStr HKCU "Software\RegisteredApplications" "Zipelo 개발판" "${APPKEY}\Capabilities" | |
| 190 | 추가: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".zip" "Zipelo.Archive" | |
| 191 | 추가: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".7z" "Zipelo.Archive" | |
| 192 | 추가: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".tar" "Zipelo.Archive" | |
| 193 | 추가: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".gz" "Zipelo.Archive" | |
| 194 | 추가: WriteRegStr HKCU "${APPKEY}\Capabilities\FileAssociations" ".tgz" "Zipelo.Archive" | |
| 195 | 추가: WriteRegStr HKCU "Software\RegisteredApplications" "Zipelo" "${APPKEY}\Capabilities" | |
| 196 | 196 | IfErrors register_failed |
| 197 | 197 | System::Call 'shell32::SHChangeNotify(i 0x8000000, i 0, p 0, p 0)' |
| 198 | 198 | ExecShell "open" "ms-settings:defaultapps" |
| @@ -209,7 +209,7 @@ Function un.onInit | ||
| 209 | 209 | SetShellVarContext current |
| 210 | 210 | SetRegView 64 |
| 211 | 211 | System::Call 'kernel32::SetLastError(i 0)' |
| 212 | 삭제: System::Call 'kernel32::CreateMutexW(p 0, i 0, w "Local\ZipeloDevSetup") p.r0 ?e' | |
| 212 | 추가: System::Call 'kernel32::CreateMutexW(p 0, i 0, w "Local\ZipeloSetup") p.r0 ?e' | |
| 213 | 213 | Pop $1 |
| 214 | 214 | StrCpy $Mutex $0 |
| 215 | 215 | ${If} $0 == 0 |
| @@ -234,12 +234,12 @@ Section "Uninstall" | ||
| 234 | 234 | Delete "$INSTDIR\LICENSE" |
| 235 | 235 | Delete "$INSTDIR\THIRD-PARTY-LICENSES.txt" |
| 236 | 236 | Delete "$INSTDIR\BUILD-INFO.json" |
| 237 | 삭제: Delete "$SMPROGRAMS\Zipelo 개발판.lnk" | |
| 237 | 추가: Delete "$SMPROGRAMS\Zipelo.lnk" | |
| 238 | 238 | IfErrors uninstall_failed |
| 239 | 239 | ; 자신이 등록한 값만 제거하고 다른 파일과 키를 보존함. |
| 240 | 삭제: ReadRegStr $0 HKCU "Software\RegisteredApplications" "Zipelo 개발판" | |
| 240 | 추가: ReadRegStr $0 HKCU "Software\RegisteredApplications" "Zipelo" | |
| 241 | 241 | ${If} $0 == "${APPKEY}\Capabilities" |
| 242 | 삭제: DeleteRegValue HKCU "Software\RegisteredApplications" "Zipelo 개발판" | |
| 242 | 추가: DeleteRegValue HKCU "Software\RegisteredApplications" "Zipelo" | |
| 243 | 243 | ${EndIf} |
| 244 | 244 | DeleteRegValue HKCU "${APPKEY}\Capabilities\FileAssociations" ".zip" |
| 245 | 245 | DeleteRegValue HKCU "${APPKEY}\Capabilities\FileAssociations" ".7z" |
| @@ -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-dev-windows-x64-setup.exe" | |
| 67 | 추가: installer = self.root / "Zipelo-0.1.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 | |
| @@ -76,7 +76,7 @@ class InstallerInputTests(unittest.TestCase): | ||
| 76 | 76 | self.assertEqual(commands[0], 'StrCpy $INSTDIR "${INSTALLROOT}"') |
| 77 | 77 | root = re.search(r'^!define INSTALLROOT "([^"\n]+)"$', source, re.MULTILINE) |
| 78 | 78 | self.assertIsNotNone(root) |
| 79 | 삭제: self.assertEqual(root.group(1), "$LOCALAPPDATA\\Programs\\Zipelo-Dev") | |
| 79 | 추가: self.assertEqual(root.group(1), "$LOCALAPPDATA\\Programs\\Zipelo") | |
| 80 | 80 | self.assertIn('InstallDir "${INSTALLROOT}"', source) |
| 81 | 81 | uninstaller = source.split("Function un.onInit", 1)[1].split("FunctionEnd", 1)[0] |
| 82 | 82 | self.assertIn('StrCmp $INSTDIR "${INSTALLROOT}" 0 invalid', uninstaller) |
| @@ -5,7 +5,7 @@ | ||
| 5 | 5 | ```sh |
| 6 | 6 | python3 tests/ci/run_rust.py local |
| 7 | 7 | python3 -m unittest discover -s tests/release-packages -p "test_*.py" |
| 8 | 삭제: python3 tests/release-packages/ubuntu_smoke.py tests/release-packages/runs/ubuntu-release/zipelo_0.1.0~dev1_amd64.deb | |
| 8 | 추가: python3 tests/release-packages/ubuntu_smoke.py tests/release-packages/runs/ubuntu-release/zipelo_0.1.0_amd64.deb | |
| 9 | 9 | ``` |
| 10 | 10 | |
| 11 | 11 | Ubuntu 실기 스모크는 이 패키지를 sudo로 설치하고 ZIP, 7z, TAR.GZ의 기본 앱을 확인합니다. 별도 Xvfb 화면에서 공백이 있는 경로의 합성 ZIP을 실제 앱으로 열어 소유 창을 캡처합니다. 종료 후 패키지를 제거하고 기존 MIME 설정을 복원합니다. 설치나 제거가 실패해도 MIME 설정 복원을 시도하고 원래 실패와 정리 실패를 함께 보고합니다. 설치된 Zipelo나 같은 경로의 기존 파일이 있으면 중단합니다. 시험 중 다른 MIME 설정 변경이 감지되면 해당 파일을 덮어쓰지 않고 나머지 파일은 복원합니다. |