Files
FoFreeXit/scripts/portable-readme.txt
adminandClaude Fable 5 a67f22df1e Thêm CI: build Windows portable tự động (GitHub Actions)
.github/workflows/build-windows.yml chạy trên windows-latest:
- Fetch pdfium.dll + qpdf.exe (script sẵn có scripts/fetch-*.ps1)
- cargo build --release cho app Tauri (không cần WiX/NSIS vì đóng gói
  portable thủ công, không dùng bundler cài đặt)
- Gộp FoFreeXit.exe + pdfium.dll + qpdf.exe (+ dll phụ thuộc) + hướng dẫn
  vào 1 thư mục, nén FoFreeXit-portable-win64.zip
- Đăng làm workflow artifact (mọi lần chạy) + GitHub Release (khi trigger
  thủ công workflow_dispatch) — người dùng tải trực tiếp từ GitHub, không
  cần cài Rust/Visual Studio/Node để build hay chạy thử

scripts/portable-readme.txt: hướng dẫn chạy bằng tiếng Việt kèm trong zip,
ghi rõ OCR/LibreOffice là tuỳ chọn cài thêm (app vẫn chạy đủ tính năng
Viewer/Annotate/Organize/Edit/Bảo mật/Form không cần chúng).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HgnbPwSoRGNH7LHsDUmRpk
2026-07-16 03:03:58 +00:00

27 lines
1.2 KiB
Plaintext

FoFreeXit - ban Windows portable (khong can cai dat)
======================================================
Cach chay:
1. Giai nen toan bo file zip nay ra 1 thu muc (giu nguyen ca thu muc, DUNG
chi lay rieng file .exe ra ngoai - no can pdfium.dll va qpdf.exe canh no).
2. Bam dup vao FoFreeXit.exe.
3. Windows co the hien canh bao "Windows protected your PC" (SmartScreen) vi
file chua duoc ky so thuong mai - bam "More info" -> "Run anyway".
Da co san (khong can cai):
- pdfium.dll (render/doc PDF - PDFium, cung engine loi cua Chrome)
- qpdf.exe (sua file hong, ma hoa/giai ma AES-256)
Can Windows 10/11 co san WebView2 Runtime (da co san tren hau het may Windows
10/11 cap nhat; neu chua co, Windows se tu goi y cai tu Microsoft).
Tinh nang can cai them RIENG (khong bat buoc de dung app):
- OCR (nhan dang chu trong file scan): can cai Tesseract OCR (ban UB
Mannheim, tick them goi ngon ngu "Vietnamese") - xem docs/20 trong repo.
- Xuat/nhap Word chat luong cao & Office->PDF: can cai LibreOffice - xem
docs/19 trong repo. Khong co LibreOffice thi Xuat Word van chay duoc bang
bo chuyen co ban (van du dung).
Day la ban build tu dong tu GitHub Actions, phuc vu MUC DICH DUNG THU/KIEM
TRA. Xem tien do du an tai README.md va thu muc docs/ trong repo.