Fix auto updater, add failure message, fix modals (#2335)

* Fix auto updater, add failure message, fix modals

* Fix ads hiding, updater UI

* dummy version, fix gh actions cache

* fix release conf

* actual version bump

* Fix ads hiding sometimes

* Fix event state init

* fix remaining bugs

* Fix lint on linux

* Fix deep linking on Windows

* Fix ad links opening multiple times
This commit is contained in:
Geometrically
2024-08-30 10:42:58 -07:00
committed by GitHub
parent 016c3d779b
commit bd61f5d591
70 changed files with 941 additions and 310 deletions

View File

@@ -330,8 +330,7 @@ impl DirectoryInfo {
&loader_bar_id,
10.0 / (MOVE_DIRS.len() as f64),
None,
)
.await?;
)?;
}
let paths_len = paths.len();
@@ -380,8 +379,7 @@ impl DirectoryInfo {
&loader_bar_id,
90.0 / paths_len as f64,
None,
)
.await;
);
success_idxs.insert(idx);
@@ -433,8 +431,7 @@ impl DirectoryInfo {
&loader_bar_id,
((x.size as f64) / (total_size as f64)) * 60.0,
None,
)
.await;
);
Ok::<(), crate::Error>(())
}
@@ -453,8 +450,7 @@ impl DirectoryInfo {
&loader_bar_id,
30.0 / paths_len as f64,
None,
)
.await?;
)?;
Ok::<(), crate::Error>(())
};

View File

@@ -119,7 +119,7 @@ pub(crate) async fn watch_profile(
{
let path = profile_path.join(folder);
if !path.exists() {
if !path.exists() && !path.is_symlink() {
crate::util::io::create_dir_all(&path).await?;
}