Fixed osc arch mapping

This commit is contained in:
Lockszmith (@VAST) 2025-04-09 16:49:10 -04:00
parent 07619c7e05
commit 80df1088bd
1 changed files with 6 additions and 1 deletions

View File

@ -227,7 +227,12 @@
# Windows_i386 # Windows_i386
# Windows_x86_64 # Windows_x86_64
*/}} */}}
{{- $myArch = (printf "%s_%s" ( .chezmoi.os | title ) .chezmoi.arch) -}}
{{- $myArch = .chezmoi.arch -}}
{{- if (eq .chezmoi.os "linux") -}}
{{- $myArch = .sz.os.arch_alt -}}
{{- end -}}
{{- $myArch = (printf "%s_%s" ( .chezmoi.os | title ) $myArch) -}}
{{- with $app_name := "osc" -}} {{- with $app_name := "osc" -}}
{{- with $repo := (printf "%s/%s" "theimpostor" $app_name) -}} {{- with $repo := (printf "%s/%s" "theimpostor" $app_name) -}}