mirror of
https://github.com/EasyTier/EasyTier.git
synced 2024-11-16 03:32:43 +08:00
fix bug
This commit is contained in:
parent
1d37f7c21f
commit
d751fce7c4
|
@ -153,7 +153,6 @@ struct InstallArgs {
|
|||
#[arg(long, default_value = env!("CARGO_PKG_DESCRIPTION"), help = "service description")]
|
||||
description: String,
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
#[arg(long)]
|
||||
display_name: Option<String>,
|
||||
|
||||
|
@ -973,7 +972,6 @@ async fn main() -> Result<(), Error> {
|
|||
work_directory: work_dir,
|
||||
disable_autostart: install_args.disable_autostart,
|
||||
description: Some(install_args.description),
|
||||
#[cfg(target_os = "windows")]
|
||||
display_name: install_args.display_name,
|
||||
};
|
||||
service.install(&install_options)?;
|
||||
|
|
Loading…
Reference in New Issue
Block a user