forked from AxTps/Starlight_Lancher
feat:移除了弹窗,服务器添加sls
This commit is contained in:
17
apps/installer-ui/src/main.rs
Normal file
17
apps/installer-ui/src/main.rs
Normal file
@ -0,0 +1,17 @@
|
||||
#![cfg_attr(windows, windows_subsystem = "windows")]
|
||||
|
||||
#[cfg(windows)]
|
||||
mod windows;
|
||||
|
||||
#[cfg(windows)]
|
||||
fn main() {
|
||||
if let Err(error) = windows::run() {
|
||||
eprintln!("{error}");
|
||||
std::process::exit(2);
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(windows))]
|
||||
fn main() {
|
||||
eprintln!("axolotl-installer-ui is only available on Windows");
|
||||
}
|
||||
Reference in New Issue
Block a user