Fix file dialog

This commit is contained in:
pleb
2026-08-02 20:33:10 -07:00
parent 0773d78621
commit 314e3391ce
3 changed files with 19 additions and 25 deletions
+6 -8
View File
@@ -1,6 +1,8 @@
# ArrowVortex (Nix flake)
This flake packages [ArrowVortex](https://github.com/uvcat7/ArrowVortex) from the upstream Windows release zip and runs it with Wine. The default Wine prefix is `$XDG_DATA_HOME/arrowvortex/wine` (or `~/.local/share/arrowvortex/wine` when `XDG_DATA_HOME` is unset). Override with `WINEPREFIX` if you want a different prefix.
This flake packages [ArrowVortex](https://github.com/uvcat7/ArrowVortex) from the upstream Windows release zip and runs it with Wine. The default Wine prefix is `$XDG_DATA_HOME/arrowvortex/wine-<wine-version>` (or `~/.local/share/arrowvortex/wine-<wine-version>` when `XDG_DATA_HOME` is unset). Override with `WINEPREFIX` if you want a different prefix.
The versioned prefix deliberately leaves the old unversioned `arrowvortex/wine` prefix alone. It was created by an earlier Wine build and does not reliably show ArrowVortex's native file dialog. The new default starts with a clean compatible prefix; your Windows `Z:` drive still exposes your normal Linux files.
## Run from a local checkout
@@ -23,15 +25,11 @@ nix run git+https://git.plebsaber.stream/arrowvortex-wine
- Nix with flakes enabled (`experimental-features = nix-command flakes`).
Wine and GUI dependencies come from nixpkgs; you need a working display (X11 or Wayland) for the editor window.
Wine and GUI dependencies come from nixpkgs; you need a working display (X11 or Wayland) for the editor window. The packaged Wine 11.0 launcher has been verified on KDE Plasma Wayland: **File → Open** opens Wine's `Open file` dialog.
## Debugging
Replace `-all` with focused Wine channels around dialogs, shell integration, and file APIs:
```nix
--set WINEDEBUG "+timestamp,+pid,+tid,+seh,+dialog,+commdlg,+shell,+ole,+file,+loaddll"
```
The launcher defaults to quiet Wine logging, but respects `WINEDEBUG` when you set it. Use focused channels around dialogs, shell integration, and file APIs:
Most useful pieces:
@@ -54,4 +52,4 @@ If that is too noisy, start with:
```bash
WINEDEBUG=+x11drv,+wayland,+commdlg
```
```