Fix international users
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 36s
Some checks failed
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 36s
This commit is contained in:
parent
d8bebd09d6
commit
e4ac47e498
2
.github/release-nest-v3
vendored
2
.github/release-nest-v3
vendored
@ -1 +1 @@
|
|||||||
2
|
3
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
|
falcon (1.0.2-101pika1) pika; urgency=low
|
||||||
|
|
||||||
* Fix Intel
|
* Fix Intel
|
||||||
|
1
main.go
1
main.go
@ -194,6 +194,7 @@ func GetPPStatusAndHighestCores() (bool, []CoreFreq, bool, []int, error) {
|
|||||||
|
|
||||||
g.Go(func() error {
|
g.Go(func() error {
|
||||||
cmd := exec.CommandContext(ctx, "lscpu", "-e", "-J")
|
cmd := exec.CommandContext(ctx, "lscpu", "-e", "-J")
|
||||||
|
cmd.Env = append(cmd.Env, "LANG=en_GB.utf8")
|
||||||
output, err := cmd.Output()
|
output, err := cmd.Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to run lscpu command: %w", err)
|
return fmt.Errorf("failed to run lscpu command: %w", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user