mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
Update setup.sh
This commit is contained in:
parent
874f0c0141
commit
4dfbeedcd5
1 changed files with 23 additions and 0 deletions
23
setup.sh
23
setup.sh
|
@ -20,6 +20,7 @@ displayHelp () {
|
|||
printf "\n" &&
|
||||
printf "${bold}${GRE}Script to copy Thorium source files over the Chromium source tree.${c0}\n" &&
|
||||
printf "${bold}${YEL}Use the --mac flag for MacOS builds.${c0}\n" &&
|
||||
printf "${bold}${YEL}Use the --raspi flag for Raspberry Pi builds.${c0}\n" &&
|
||||
printf "\n"
|
||||
}
|
||||
|
||||
|
@ -81,6 +82,19 @@ case $1 in
|
|||
--mac) copyMacOS;
|
||||
esac
|
||||
|
||||
# Raspberry Pi Source Files
|
||||
copyRaspi () {
|
||||
printf "\n" &&
|
||||
printf "${YEL}Copying Raspberry Pi build files...${c0}\n" &&
|
||||
cp -r -v arm/config/* $HOME/chromium/src/build/config/ &&
|
||||
cp -r -v arm/arm.gni $HOME/chromium/src/build/config/ &&
|
||||
printf "\n"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
--raspi) copyRaspi;
|
||||
esac
|
||||
|
||||
printf "${GRE}Done!\n" &&
|
||||
printf "\n" &&
|
||||
|
||||
|
@ -149,6 +163,15 @@ printf "\n" &&
|
|||
|
||||
cat $HOME/thorium/logos/thorium_ascii_art.txt &&
|
||||
|
||||
# Display raspi ascii art
|
||||
displayRaspi () {
|
||||
cat $HOME/thorium/logos/raspi_ascii_art.txt
|
||||
}
|
||||
|
||||
case $1 in
|
||||
--raspi) displayRaspi;
|
||||
esac
|
||||
|
||||
printf "${GRE}Enjoy Thorium!\n" &&
|
||||
printf "\n" &&
|
||||
tput sgr0
|
||||
|
|
Loading…
Reference in a new issue