mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 21:58:20 -06:00
beautify code
This commit is contained in:
parent
01f642fcbb
commit
2ba011a89b
|
@ -179,9 +179,13 @@ pub fn android_main(app: android_activity::AndroidApp) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn kubi_main(#[cfg(target_os = "android")] app: android_activity::AndroidApp) {
|
pub fn kubi_main(
|
||||||
|
#[cfg(target_os = "android")]
|
||||||
|
app: android_activity::AndroidApp
|
||||||
|
) {
|
||||||
//Attach console on release builds on windows
|
//Attach console on release builds on windows
|
||||||
#[cfg(all(windows, not(debug_assertions)))] attach_console();
|
#[cfg(all(windows, not(debug_assertions)))]
|
||||||
|
attach_console();
|
||||||
|
|
||||||
//Print version
|
//Print version
|
||||||
println!("{:─^54}", format!("[ ▄▀ Kubi client v. {} ]", env!("CARGO_PKG_VERSION")));
|
println!("{:─^54}", format!("[ ▄▀ Kubi client v. {} ]", env!("CARGO_PKG_VERSION")));
|
||||||
|
|
Loading…
Reference in a new issue