mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 17:17:38 +00:00
* feat(windows): add administrator PowerShell terminal setting * fix(settings): localize administrator terminal search keywords * fix(windows): restrict elevated terminal host to Orca's runtime and requesting account * fix(windows): harden administrator terminal routing, inventory and restore * fix(build): build the Windows agent hook when electron-builder packages Windows * fix(build): build the packaged Windows agent hook for the target architecture * fix(windows): accept the development terminal runtime and test real elevation in CI * feat(windows): show administrator status and restart instructions * fix(settings): localize administrator mode search keywords * test(settings): isolate the desktop permission section in shell picker tests * Add Windows administrator restart and simplify Terminal settings * Keep administrator restart silent and settings actions within narrow panes * Keep Windows shell choices and permission guides usable at minimum width * Prevent later restarts from replaying administrator terminal reset * Fix CI route resolution and transient Windows fixture cleanup
30 lines
776 B
TOML
30 lines
776 B
TOML
[package]
|
|
name = "orca-cli-launcher"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
# Why the bin is named `orca`: it ships as resources\bin\orca.exe, and the PE's
|
|
# OriginalFilename must match the file users actually invoke.
|
|
[[bin]]
|
|
name = "orca"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "orca-administrator-restart"
|
|
path = "src/administrator_launcher.rs"
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
# Why: this is a launcher, not a program. Everything here trims the PE toward the
|
|
# shape of an ordinary small native utility -- no panic machinery, no debug
|
|
# sections, one codegen unit -- which is also what keeps it out of the
|
|
# heuristic bucket the previous managed build sat in.
|
|
[profile.release]
|
|
opt-level = "z"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = true
|