Skip to content

Commit

Permalink
Faster execution for scripts from System Tools
Browse files Browse the repository at this point in the history
25% faster to apply Overlays selector.
When MainUI goes back the default speed is restored.
  • Loading branch information
cizia64 committed Jun 9, 2024
1 parent be4ad7d commit 473cbe0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Emus/_SystemTools/launch.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/sh
echo $0 $*

echo performance >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1416000 >/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

# Launch tool script file
echo "******************************************************************-*-*- $1"
echo "*** Launching $1 ***"
"$1"

# we don't memorize System Tools scripts in recent list
Expand Down

0 comments on commit 473cbe0

Please sign in to comment.