File association for Windows
============================

PyInstaller build (ALPS-V.exe): associations are registered automatically on
first start (and again if the exe is moved). Uses HKCU\Software\Classes — no
admin rights required for the current user.

Manual setup (optional): use `register_alpv_file_association.reg` if you need
machine-wide HKCR registration or cannot run the bundled exe once.

To open .valp with ALP-V when double-clicking in Explorer:

1. Build or copy ALPS-V.exe to a fixed location (avoid a path that changes every build).

2. Edit `register_alpv_file_association.reg`: replace every occurrence of
   REPLACE_WITH_ALPSV_EXE with the full path to ALPS-V.exe, using doubled
   backslashes (e.g. C:\\\\Apps\\\\ALPS-V\\\\ALPS-V.exe).

3. Run the .reg file (merge into registry). You may need administrator rights.

If ALP-V is already running, double-clicking another project sends it to the
running window (single instance IPC). If that file is already open as a
session, you will see "Проект уже открыт" / "This project is already open."
