mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-15 19:19:58 -04:00
Started without arguments on a desktop (a double-click), the AppImage showed nothing. It now opens a window (tools/appimage_gui.py, standard library and Pillow): the dump and the game folder through the desktop's own file choosers, Install or Update with a progress bar per step, Play, the last run's output, and an applications-menu entry for play.sh. The window runs AppRun --events, which does what the command line does and prints make_game.py's progress lines plus its own for the package check and DLSS. Its text is drawn with Pillow in the desktop's font and sized by the screen's DPI, in English or French by locale. The command line is unchanged. Pull request #291 by loteran. The window is taken as it is, with one change: the menu entry's Exec line quotes the game folder by the desktop entry rules, so a folder name with a quote, a dollar or a percent sign gives a working entry. The AppRun changes are applied by hand onto the script as it is now. The script passes bash -n and the window a syntax check; neither was run, on Linux or elsewhere. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
23 KiB
23 KiB