0.3.6
- removed `COMMIT_HASH` const
This commit is contained in:
parent
6bf720a157
commit
f6daddc4bc
4 changed files with 2 additions and 11 deletions
|
@ -1,11 +1,10 @@
|
||||||
[package]
|
[package]
|
||||||
name = "anime-launcher-sdk"
|
name = "anime-launcher-sdk"
|
||||||
version = "0.3.5"
|
version = "0.3.6"
|
||||||
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
authors = ["Nikita Podvirnyy <suimin.tu.mu.ga.mi@gmail.com>"]
|
||||||
license = "GPL-3.0"
|
license = "GPL-3.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
build = "build.rs"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anime-game-core = { path = "anime-game-core", features = ["genshin", "all", "static"] }
|
anime-game-core = { path = "anime-game-core", features = ["genshin", "all", "static"] }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 9b787856c4ca297023b1eab0aca0188278cea7a4
|
Subproject commit e0245c40871f585781fd504fb14fd657b26cb4af
|
7
build.rs
7
build.rs
|
@ -1,7 +0,0 @@
|
||||||
use std::process::Command;
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
let output = Command::new("git").args(&["rev-parse", "HEAD"]).output().unwrap();
|
|
||||||
|
|
||||||
println!("cargo:rustc-env=GIT_COMMIT_HASH={}", String::from_utf8(output.stdout).unwrap());
|
|
||||||
}
|
|
|
@ -24,7 +24,6 @@ pub mod fps_unlocker;
|
||||||
pub mod discord_rpc;
|
pub mod discord_rpc;
|
||||||
|
|
||||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||||
pub const COMMIT_HASH: &str = env!("GIT_COMMIT_HASH");
|
|
||||||
|
|
||||||
/// Check if specified binary is available
|
/// Check if specified binary is available
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue