Skip to content

Commit

Permalink
fix arm build/ and rename build_appimage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Apr 24, 2024
1 parent a4a4c76 commit 38d43d9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion infra/APPIMAGE/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### Instructions
This directory contains files to generate an .AppImage of Thorium.

You __must__ place the .deb file (generated from running `package.sh`) in this directory, and then run `./build_appimage.sh`
You __must__ place the .deb file (generated from running `package.sh`) in this directory, and then run `./make_appimage.sh`

When it is done, you will have an appimage in *out*, I.E. it should be something like `//thorium/infra/APPIMAGE/out/Thorium_Browser-104.0.5107.0.glibc2.17-x86_64.AppImage`

Expand Down
4 changes: 2 additions & 2 deletions infra/APPIMAGE/extract_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ try() { "$@" || die "${RED}Failed $*"; }
displayHelp () {
printf "\n" &&
printf "${bold}${GRE}Script to extract Thorium .AppImage on Linux.${c0}\n" &&
printf "${bold}${YEL}Please run build_appimage.sh in this directory before running.${c0}\n" &&
printf "${bold}${YEL}Please run make_appimage.sh in this directory before running.${c0}\n" &&
printf "\n"
}
case $1 in
--help) displayHelp; exit 0;;
esac

printf "\n" &&
printf "${bold}${RED}NOTE: You must run build_appimage.sh in this directory before running.${c0}\n" &&
printf "${bold}${RED}NOTE: You must run make_appimage.sh in this directory before running.${c0}\n" &&
printf "${YEL}Extracting Thorium*.Appimage...\n" &&
printf "${c0}\n" &&

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion infra/set_exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ sudo chmod -v +x infra/portable/make_portable_win.sh &&

sudo chmod -v +x infra/APPIMAGE/pkg2appimage &&

sudo chmod -v +x infra/APPIMAGE/build_appimage.sh &&
sudo chmod -v +x infra/APPIMAGE/make_appimage.sh &&

sudo chmod -v +x infra/APPIMAGE/extract_appimage.sh &&

Expand Down
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ esac
copyRaspi () {
printf "\n" &&
printf "${YEL}Copying Raspberry Pi build files...${c0}\n" &&
cp -r -v arm/build/* ${CR_SRC_DIR}/build/ &&
cp -r -v arm/media/* ${CR_SRC_DIR}/media/ &&
cp -r -v arm/third_party/* ${CR_SRC_DIR}/third_party/ &&
cp -r -v arm/raspi/* ${CR_SRC_DIR}/ &&
Expand All @@ -130,6 +131,7 @@ esac
copyWOA () {
printf "\n" &&
printf "${YEL}Copying Windows on ARM build files...${c0}\n" &&
cp -r -v arm/build/* ${CR_SRC_DIR}/build/ &&
cp -r -v arm/third_party/* ${CR_SRC_DIR}/third_party/ &&
# Use regular arm.gni from src, pending further testing
# cp -v arm/woa_arm.gni ${CR_SRC_DIR}/build/config/arm.gni &&
Expand Down Expand Up @@ -192,6 +194,7 @@ esac
copyAndroid () {
printf "\n" &&
printf "${YEL}Copying Android (ARM64 and ARM32) build files...${c0}\n" &&
cp -r -v arm/build/* ${CR_SRC_DIR}/build/ &&
cp -r -v arm/media/* ${CR_SRC_DIR}/media/ &&
cp -r -v arm/third_party/* ${CR_SRC_DIR}/third_party/ &&
printf "\n" &&
Expand Down

0 comments on commit 38d43d9

Please sign in to comment.