mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-17 01:24:36 +01:00
Add download menu translations
Update download menu formatting Better error logging
This commit is contained in:
@@ -96,6 +96,13 @@ pub fn unzip(
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
// If downloading full build, emit that the jar was extracted with it
|
||||
if zipfile = "GrasscutterCulti3.4.zip" {
|
||||
window
|
||||
.emit("jar_extracted", destpath.to_string() + (destpath.to_string() + "grasscutter.jar"))
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
// Delete zip file
|
||||
match std::fs::remove_file(&zipfile) {
|
||||
Ok(_) => {
|
||||
|
||||
Reference in New Issue
Block a user