mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 15:27:48 +00:00
delete update.bat
This commit is contained in:
@@ -57,6 +57,10 @@ fn update_binary() {}
|
|||||||
// allow dead code, function is only called if not debug env
|
// allow dead code, function is only called if not debug env
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn update_self() {
|
fn update_self() {
|
||||||
|
if PathBuf::from("update.bat").exists() {
|
||||||
|
fs::remove_file("update.bat").unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
let platform = if cfg!(windows) {
|
let platform = if cfg!(windows) {
|
||||||
"alterware-launcher-x86_64-pc-windows-msvc.zip"
|
"alterware-launcher-x86_64-pc-windows-msvc.zip"
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user