delete update.bat
This commit is contained in:
parent
d92319e15f
commit
2e4436ed9a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user