mirror of
https://github.com/No-Chicken/Power-Pico.git
synced 2026-04-03 13:02:36 +08:00
update lvgl simulator on ubuntu
This commit is contained in:
16
lv_sim_linux/lvgl/scripts/install_astyle.sh
Executable file
16
lv_sim_linux/lvgl/scripts/install_astyle.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Check if the script is being run as root
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "This script must be run as root or with sudo" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -rf astyle
|
||||
git clone https://github.com/lvgl/astyle.git
|
||||
cd astyle/build/gcc
|
||||
git checkout v3.4.12
|
||||
make -j
|
||||
make install
|
||||
cd ../../..
|
||||
rm -rf astyle
|
||||
Reference in New Issue
Block a user