mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-15 03:57:13 +00:00
cpudefense - limit to 1 cpu
This commit is contained in:
parent
ff43b229da
commit
f0fecee629
1 changed files with 5 additions and 1 deletions
|
|
@ -14,9 +14,13 @@ Binaries: https://github.com/ochadenas/cpudefense/releases/download/v%v/app-rele
|
|||
Builds:
|
||||
- versionName: '1.14'
|
||||
versionCode: 14
|
||||
disable: fails rb
|
||||
commit: v1.14
|
||||
subdir: app
|
||||
sudo:
|
||||
- export CPUS_MAX=1
|
||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||
; done
|
||||
gradle:
|
||||
- yes
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue