Revert "Fix/printer printable area (#12433)" (#12441)

This reverts commit 6e62c10fa0.
This commit is contained in:
RustDesk
2025-07-28 10:38:19 +08:00
committed by GitHub
parent 6e62c10fa0
commit e9692b94ca
4 changed files with 10 additions and 31 deletions

View File

@@ -2885,7 +2885,6 @@ fn get_import_config(exe: &str) -> String {
sc stop {app_name}
sc delete {app_name}
sc create {app_name} binpath= \"\\\"{exe}\\\" --import-config \\\"{config_path}\\\"\" start= auto DisplayName= \"{app_name} Service\"
sc config {app_name} start= delayed-auto
sc start {app_name}
sc stop {app_name}
sc delete {app_name}
@@ -2907,7 +2906,6 @@ if exist \"%PROGRAMDATA%\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\{ap
} else {
format!("
sc create {app_name} binpath= \"\\\"{exe}\\\" --service\" start= auto DisplayName= \"{app_name} Service\"
sc config {app_name} start= delayed-auto
sc start {app_name}
",
app_name = crate::get_app_name())