文件夹忘记删掉了
This commit is contained in:
parent
51e16359de
commit
6829440c31
@ -4,7 +4,7 @@ use std::time::Duration;
|
|||||||
|
|
||||||
use crate::core::config::{AppConfig, RegionConfig, RegionProviderConfig};
|
use crate::core::config::{AppConfig, RegionConfig, RegionProviderConfig};
|
||||||
use crate::core::errors::AssetExecutionError;
|
use crate::core::errors::AssetExecutionError;
|
||||||
use crate::core::export_pipeline::extract_unity_asset_bundle;
|
use crate::core::export_pipeline::{extract_unity_asset_bundle, get_hex_index};
|
||||||
use crate::core::retry::retry_async;
|
use crate::core::retry::retry_async;
|
||||||
use aes::cipher::block_padding::Pkcs7;
|
use aes::cipher::block_padding::Pkcs7;
|
||||||
use aes::cipher::{BlockDecryptMut, KeyIvInit};
|
use aes::cipher::{BlockDecryptMut, KeyIvInit};
|
||||||
@ -265,7 +265,7 @@ impl AssetExecutionContext {
|
|||||||
.join("sekai-updater")
|
.join("sekai-updater")
|
||||||
.join("obf")
|
.join("obf")
|
||||||
.join(&self.region_name)
|
.join(&self.region_name)
|
||||||
.join(task);
|
.join(get_hex_index(task));
|
||||||
if let Some(parent) = temp_file.parent() {
|
if let Some(parent) = temp_file.parent() {
|
||||||
std::fs::create_dir_all(parent).map_err(|source| {
|
std::fs::create_dir_all(parent).map_err(|source| {
|
||||||
AssetExecutionError::CreateTempDir {
|
AssetExecutionError::CreateTempDir {
|
||||||
|
|||||||
@ -76,6 +76,7 @@ pub async fn main() -> anyhow::Result<()> {
|
|||||||
images.push(new_file);
|
images.push(new_file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fs::remove_dir_all(dir.0)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
*PROVIDE.write().map_err(|e| anyhow!("{}", e))? = Some(FetchResult {
|
*PROVIDE.write().map_err(|e| anyhow!("{}", e))? = Some(FetchResult {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user