﻿Picaviva 1.0.9 (Portable) - Please read this first
====================================================

1. How to start
   Double-click Picaviva.exe. No installation and no administrator rights needed.

2. If you get an error like this on first launch, the download is NOT corrupted
   LoadLibraryW(...\runtime\bin\<something>.dll) failed. System error [32]

   The file name in the message may differ between machines: it is whichever
   DLL in runtime\bin happened to be locked at that moment.

   Cause: your security software (antivirus / endpoint protection) is still
   scanning the freshly extracted files and holds one of the DLLs in
   runtime\bin with exclusive access. Error 32 means sharing violation:
   "The process cannot access the file because it is being used by another
   process."

   How to fix, in order:
     1) Wait 20-30 seconds, then double-click again.
     2) Add this folder to your security software's trusted / excluded list.
        (Recommended. One-time setup, permanent fix.)
     3) Still failing: extract the ZIP to a different folder and try again.

   Please extract the ZIP to a local disk before running. Do not launch
   Picaviva.exe from inside the archive preview window.

3. Folder layout
   Picaviva.exe   launcher
   app\           application files
   runtime\       bundled Java runtime (do not delete or move)
   native\        native libraries for HEIC and database (do not delete)
   config\        created on first run: database and settings

4. Reset / uninstall
   Portable: delete the whole folder to uninstall.
   Reset settings and database only: quit the app, delete the config folder;
   it is recreated on the next launch.

5. Logs
   logs\picaviva-<timestamp>.log - please attach this file when reporting an issue.


Picaviva 1.0.9 便携版 — 首次运行请看这里
====================================================

一、启动
   双击 Picaviva.exe 即可，免安装、无需管理员权限。

二、首次启动弹出类似下面的错误，并不代表文件损坏
   LoadLibraryW(...\runtime\bin\某文件.dll) failed. System error [32]
   （报错里点名的 dll 每台机器可能不同：它就是当时恰好被占住的 runtime\bin 下的那一个。）

   原因：安全防护软件（杀毒 / 终端防护类）正在扫描刚解压的文件，
        把 runtime\bin 下的某个 dll 独占读取，启动器加载失败。
        错误码 32 为共享冲突（“另一个程序正在使用此文件”）。
   处理（按顺序尝试）：
     1) 等待 20~30 秒后重新双击；
     2) 将本文件夹加入安全软件的信任区 / 白名单（推荐，一次配好长期有效）；
     3) 仍无效：换一个目录重新解压后再运行。
   请先将压缩包解压到本地磁盘，不要在压缩包预览窗口中直接双击 exe。

三、目录结构
   Picaviva.exe  启动程序
   app\          程序本体
   runtime\      内置 Java 运行环境（请勿删除或移动）
   native\       HEIC / 数据库原生库（请勿删除）
   config\       首次运行后生成：数据库与设置

四、重置 / 卸载
   便携版：删除整个文件夹即卸载。
   仅重置设置与数据库：退出程序后删除 config 文件夹，下次启动自动重建。

五、日志
   logs\picaviva-<时间戳>.log，反馈问题时请附上该文件。

