Fix international users
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 36s

This commit is contained in:
ferreo 2024-11-15 18:55:23 +00:00
parent d8bebd09d6
commit e4ac47e498
3 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
2
3

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
falcon (1.0.3-101pika1) pika; urgency=low
* Fix international
-- Ward Nakchbandi <hotrod.master@hotmail.com> Sat, 10 Dec 2022 13:48:00 +0300
falcon (1.0.2-101pika1) pika; urgency=low
* Fix Intel

View File

@ -194,6 +194,7 @@ func GetPPStatusAndHighestCores() (bool, []CoreFreq, bool, []int, error) {
g.Go(func() error {
cmd := exec.CommandContext(ctx, "lscpu", "-e", "-J")
cmd.Env = append(cmd.Env, "LANG=en_GB.utf8")
output, err := cmd.Output()
if err != nil {
return fmt.Errorf("failed to run lscpu command: %w", err)