mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-22 06:48:43 -06:00
beautify code
This commit is contained in:
parent
f00b2081e6
commit
5e63d1b630
|
@ -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