feat(proton): list prerelease builds under Experimental and install from any archive (#2889)

* feat(proton): install prerelease builds

* fix(proton): harden prerelease archive installs

* refactor(proton): drop the superseded test build path

* fix(proton): list only current prerelease builds and label the file install

* fix(proton): hide prerelease rows that are already installed

* fix(proton): keep relative links and modes when unpacking zip and 7z builds

* fix(proton): name file installs without the archive suffix

* fix(proton): confirm a release is gone before removing its build and tighten archive handling

* Show the Experimental section without Developer tools

* Share the refresh guard, recheck sessions before removal, skip other architectures

The update check guard is shared between menu instances and held until the result is published, so a recreated screen joins the running check and results arrive in order. Automatic removal rechecks for a running session after each release lookup. Experimental assets for other CPU architectures are ignored, and in-tree links may start with the current directory.

* Keep an experimental build in place when a session starts during its removal

Removal and session start now share one lock. The tree is renamed out of the
tools folder under that lock only while no session is running, and deleted
afterwards, so a session that starts first keeps its build.
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-11-19 13:41:57 -05:00
1 parent 71989b4cdb
commit de73e429cc
45 files changed
+897 -392

No files matched your search

+3 -5
View File
@@ -605,7 +605,6 @@
<string name="comp_nightlies_count">On the Nightlies · %1$d</string>
<string name="comp_channel_stable">Stable</string>
<string name="comp_channel_nightly">Nightly</string>
<string name="comp_channel_test">Test</string>
<string name="comp_refresh_to_list">Refresh to list packages on the Nightlies and DroidDeck releases.</string>
<string name="comp_nothing_new">Nothing new since the last check.</string>
<string name="comp_import_wcp">Import .wcp</string>
@@ -2544,12 +2543,11 @@
<string name="pextra_session_started">A session started during the download; stop it before installing compatibility tools</string>
<string name="pextra_installing">Installing %1$s</string>
<string name="xproton_title">Experimental builds</string>
<string name="xproton_pick">Pick a Proton build .zip</string>
<string name="xproton_pick_zip">Install from .zip</string>
<string name="xproton_install_file">Install from file</string>
<string name="xproton_archive_unsafe">Archive contains an unsafe link or path</string>
<string name="xproton_archive_invalid">Unsupported or invalid archive</string>
<string name="xproton_no_space">Not enough free space for this Proton build</string>
<string name="xproton_unzipping">Unzipping</string>
<string name="xproton_unpacking">Unpacking Proton (a few minutes)</string>
<string name="xproton_bad_zip">The .zip holds no Proton tarball</string>
<string name="xproton_untar_failed">Unpacking failed (tar %1$d)</string>
<string name="xproton_no_tree">The archive holds no Proton build</string>
<string name="xproton_place_failed">Could not place the Proton build</string>