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
31 lines
622 B
TOML
31 lines
622 B
TOML
[package]
|
|
name = "launcher"
|
|
version = "1.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anki_io.workspace = true
|
|
anki_process.workspace = true
|
|
anyhow.workspace = true
|
|
camino.workspace = true
|
|
dirs.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi.workspace = true
|
|
libc.workspace = true
|
|
libc-stdhandle.workspace = true
|
|
|
|
[[bin]]
|
|
name = "build_win"
|
|
path = "src/bin/build_win.rs"
|
|
|
|
[[bin]]
|
|
name = "anki-console"
|
|
path = "src/bin/anki_console.rs"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
embed-resource.workspace = true
|