Fix MRPACK export file include, add webview2 fail msg, fix window state (#2273)

* Fix MRPACK export file include, add webview2 fail msg, fix window state

* fix limt
This commit is contained in:
Geometrically
2024-08-23 13:50:02 -05:00
committed by GitHub
parent c8befb6843
commit 58dac27186
5 changed files with 131 additions and 22 deletions

View File

@@ -515,7 +515,9 @@ pub async fn export_mrpack(
let relative_path = pack_get_relative_path(&profile_base_path, &path)?;
if packfile.files.iter().any(|f| f.path == relative_path)
|| !included_candidates_set.contains(&relative_path)
|| !included_candidates_set
.iter()
.any(|x| relative_path.starts_with(&**x))
{
continue;
}