Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove html directory on update #3584

Merged
merged 17 commits into from
Feb 26, 2025
Merged

Remove html directory on update #3584

merged 17 commits into from
Feb 26, 2025

Conversation

caco3
Copy link
Collaborator

@caco3 caco3 commented Feb 25, 2025

See discussion from #3568 (comment) and later.

Neuer Ansatz:

  1. Die Dateien aus dem html folder im zip file werden in den Ordner html_tmp extrahiert (bisher html).
  2. Anschliessend wird der html folder zu html_old umbenannt
  3. und der html_tmp zu html umbenannt
  4. zuletzt wird html_old gelöscht.
    dadurch ist die kritische Zeit nur während punkt 2 und 3. Passiert etwas während punkt 1, wird einfach wie bisher das alte UI verwendet.

Zusätzlich wird der SD card check, SD card directories setup und das Update nach oben geschoben, so dass es vor dem PSRAM und cam init kommt. Dadurch wird sichergestellt, dass das Update auch möglich ist, wenn das PSRAM oder die cam Probleme macht.

@caco3
Copy link
Collaborator Author

caco3 commented Feb 25, 2025

@jomjol What do you think about this?
See also the discussion I and @SybexX had here: #3568 (comment)

…e PSRAM init.

The update should be as early as possible to allow updates even if the PSRAM or cam fails.
@caco3 caco3 marked this pull request as ready for review February 25, 2025 21:51
@caco3 caco3 merged commit 76f45a5 into main Feb 26, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants