mirror of
https://github.com/LowderPlay/cheburcheck.git
synced 2026-10-04 04:37:57 +03:00
* feat: autoupdate * chore: bump version * feat: publish installer * fix: standalone builds * ci: release docs * fix: windows icmp socket * docs: windows notice * docs: remove line breaks
9 lines
237 B
Rust
9 lines
237 B
Rust
use rocket::http::ContentType;
|
|
|
|
const INSTALLER: &str = include_str!("../../probe/install.sh");
|
|
|
|
#[get("/install-probe.sh")]
|
|
pub fn download() -> (ContentType, &'static str) {
|
|
(ContentType::new("text", "x-shellscript"), INSTALLER)
|
|
}
|