detached 2574ff7

fix(postinstall): correct download URLs for post-boot files

Fixed 404 errors during post-install by correcting GitHub download paths:
- Changed post-boot service path from assets/systemd/ to install/post-boot/
- Changed post-boot scripts path from assets/post-boot/ to install/post-boot/

Also updated AUR helper descriptions to mention implementation language (Rust/Go).
commit
2574ff7b8461d0961bf2fe2c6ea5533daa1f4dea
author
bnema · · 2025-10-28 03:18 UTC
parent
4afd200
signature
unsigned
3 files · +4 -4
M internal/config/config.go +1 -1
@@ -200,7 +200,7 @@ var PostBootScripts = []string{
200200 }
201201
202202 // Post-boot service template URL path
203-const PostBootServiceTemplate = "assets/systemd/archup-first-boot.service"
203+const PostBootServiceTemplate = "install/post-boot/archup-first-boot.service"
204204
205205 // Config holds the installation configuration
206206 // This mirrors the shell script's config format for compatibility
@@ -200,7 +200,7 @@ var PostBootScripts = []string{
200 }200 }
201 201
202 // Post-boot service template URL path202 // Post-boot service template URL path
203-const PostBootServiceTemplate = "assets/systemd/archup-first-boot.service"203+const PostBootServiceTemplate = "install/post-boot/archup-first-boot.service"
204 204
205 // Config holds the installation configuration205 // Config holds the installation configuration
206 // This mirrors the shell script's config format for compatibility206 // This mirrors the shell script's config format for compatibility
M internal/phases/postinstall.go +1 -1
@@ -688,7 +688,7 @@ func (p *PostInstallPhase) setupPostBoot(progressChan chan<- ProgressUpdate) err
688688 for _, script := range config.PostBootScripts {
689689 p.SendOutput(progressChan, fmt.Sprintf("Downloading %s...", script))
690690
691- scriptURL := fmt.Sprintf("%s/assets/post-boot/%s", p.config.RawURL, script)
691+ scriptURL := fmt.Sprintf("%s/install/post-boot/%s", p.config.RawURL, script)
692692 resp, err := http.Get(scriptURL)
693693 switch {
694694 case err != nil:
@@ -688,7 +688,7 @@ func (p *PostInstallPhase) setupPostBoot(progressChan chan<- ProgressUpdate) err
688 for _, script := range config.PostBootScripts {688 for _, script := range config.PostBootScripts {
689 p.SendOutput(progressChan, fmt.Sprintf("Downloading %s...", script))689 p.SendOutput(progressChan, fmt.Sprintf("Downloading %s...", script))
690 690
691- scriptURL := fmt.Sprintf("%s/assets/post-boot/%s", p.config.RawURL, script)691+ scriptURL := fmt.Sprintf("%s/install/post-boot/%s", p.config.RawURL, script)
692 resp, err := http.Get(scriptURL)692 resp, err := http.Get(scriptURL)
693 switch {693 switch {
694 case err != nil:694 case err != nil:
M internal/ui/sections.go +2 -2
@@ -48,6 +48,6 @@ const (
4848 DescMultilib = "Required for 32-bit applications and Wine"
4949 DescChaoticAUR = "Community repository with pre-built AUR packages"
5050 DescAURHelper = "Tool for installing packages from Arch User Repository"
51- DescAURHelperParu = "Faster with more features (recommended)"
52- DescAURHelperYay = "Classic, widely compatible"
51+ DescAURHelperParu = "Rust-based AUR helper"
52+ DescAURHelperYay = "Go-based AUR helper"
5353 )
@@ -48,6 +48,6 @@ const (
48 DescMultilib = "Required for 32-bit applications and Wine"48 DescMultilib = "Required for 32-bit applications and Wine"
49 DescChaoticAUR = "Community repository with pre-built AUR packages"49 DescChaoticAUR = "Community repository with pre-built AUR packages"
50 DescAURHelper = "Tool for installing packages from Arch User Repository"50 DescAURHelper = "Tool for installing packages from Arch User Repository"
51- DescAURHelperParu = "Faster with more features (recommended)"51+ DescAURHelperParu = "Rust-based AUR helper"
52- DescAURHelperYay = "Classic, widely compatible"52+ DescAURHelperYay = "Go-based AUR helper"
53 )53 )

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close