mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

- Launcher can now be accessed via Tools>Upgrade/Downgrade - Anki closes automatically on update - When launcher not available, show update link like in the past - It appears that access to the modern console host requires an app to be built with the windows console subsystem, so we introduce an extra anki-console.exe binary to relaunch ourselves with. Solves https://forums.ankiweb.net/t/new-online-installer-launcher/62745/50 - Windows now requires you to close the terminal like on a Mac, as I couldn't figure out how to have it automatically close. Suggestions welcome! - Reduce the amount of duplicate/near-duplicate code in the various platform files, and improve readability - Add a helper to install the current code into the launcher env - Fix cargo test failing to build on ARM64 Windows
8 lines
No EOL
252 B
Batchfile
8 lines
No EOL
252 B
Batchfile
@echo off
|
|
rem
|
|
rem Install our latest anki/aqt code into the launcher venv
|
|
|
|
rmdir /s /q out\wheels 2>nul
|
|
call tools\ninja wheels
|
|
set VIRTUAL_ENV=%LOCALAPPDATA%\AnkiProgramFiles\.venv
|
|
for %%f in (out\wheels\*.whl) do out\extracted\uv\uv pip install "%%f" |