thorium-mirror/infra/set_exec.sh

126 lines
2.7 KiB
Bash
Raw Normal View History

2022-06-14 01:29:06 -04:00
#!/bin/bash
2024-01-19 04:07:32 -03:00
# Copyright (c) 2024 Alex313031.
2022-06-14 01:29:06 -04:00
YEL='\033[1;33m' # Yellow
2022-08-03 07:15:54 -04:00
CYA='\033[1;96m' # Cyan
2022-06-14 01:29:06 -04:00
RED='\033[1;31m' # Red
GRE='\033[1;32m' # Green
2022-08-03 07:15:54 -04:00
c0='\033[0m' # Reset Text
bold='\033[1m' # Bold Text
underline='\033[4m' # Underline Text
2022-06-14 01:29:06 -04:00
# Error handling
yell() { echo "$0: $*" >&2; }
die() { yell "$*"; exit 111; }
try() { "$@" || die "${RED}Failed $*"; }
printf "\n" &&
2022-06-25 12:56:03 -04:00
printf "${GRE}Script to set chmod +x on all other Thorium scripts.\n" &&
2022-06-25 15:50:46 -04:00
tput sgr0 &&
2022-06-25 12:56:03 -04:00
printf "${BOLD}\n" &&
2022-06-14 01:29:06 -04:00
# Set executable permissions
2023-12-30 09:34:37 -03:00
cd .. &&
2022-06-14 01:29:06 -04:00
2022-07-16 00:15:47 -04:00
sudo chmod -v +x depot_tools/autoninja &&
2024-01-22 18:42:41 -03:00
sudo chmod -v +x depot_tools/win_toolchain/package_from_installed.py &&
2022-06-14 01:29:06 -04:00
sudo chmod -v +x build.sh &&
2024-01-19 04:07:32 -03:00
sudo chmod -v +x g &&
2023-08-14 22:04:03 -04:00
sudo chmod -v +x build_android.sh &&
2022-06-14 01:29:06 -04:00
sudo chmod -v +x build_dmg.sh &&
sudo chmod -v +x build_mac.sh &&
sudo chmod -v +x build_win.sh &&
2023-12-30 09:34:37 -03:00
sudo chmod -v +x check_simd.sh &&
2022-06-14 01:29:06 -04:00
sudo chmod -v +x clean.sh &&
sudo chmod -v +x setup.sh &&
2023-06-23 02:05:48 -04:00
sudo chmod -v +x package.sh &&
2022-06-14 01:29:06 -04:00
sudo chmod -v +x trunk.sh &&
2024-01-18 17:19:40 -03:00
sudo chmod -v +x tot.sh &&
2022-08-23 05:45:30 -04:00
sudo chmod -v +x reset_depot_tools.sh &&
2023-12-30 09:34:37 -03:00
sudo chmod -v +x version.sh &&
2023-01-27 08:17:39 -03:00
2024-04-02 20:50:33 -03:00
sudo chmod -v +x upstream_version.sh &&
2024-03-15 00:50:27 -03:00
2024-01-02 20:54:14 -03:00
sudo chmod -v +x infra/arch-prerequisites.sh &&
sudo chmod -v +x infra/fetch_api_keys.sh &&
sudo chmod -v +x infra/fix_libaom.sh &&
2022-07-09 19:48:35 -04:00
sudo chmod -v +x infra/install_deps.sh &&
2022-06-25 12:38:33 -04:00
2023-06-23 02:05:48 -04:00
sudo chmod -v +x infra/build_dmg_cr.sh &&
2024-01-22 21:20:00 -03:00
sudo chmod -v +x infra/build_ffmpeg.sh &&
2022-06-14 01:29:06 -04:00
sudo chmod -v +x infra/build_polly.sh &&
sudo chmod -v +x infra/DEBUG/build_debug_linux.sh &&
2022-07-26 22:31:39 -04:00
sudo chmod -v +x infra/DEBUG/build_debug_shell_linux.sh &&
sudo chmod -v +x infra/DEBUG/build_debug_shell_win.sh &&
2022-06-14 01:29:06 -04:00
sudo chmod -v +x infra/DEBUG/build_debug_win.sh &&
sudo chmod -v +x infra/DEBUG/Thorium_Debug_Shell.sh &&
sudo chmod -v +x logos/NEW/mac/gen/app/build_icns.sh &&
sudo chmod -v +x logos/NEW/mac/gen/document/build_icns.sh &&
2023-12-30 09:34:37 -03:00
sudo chmod -v +x infra/portable/THORIUM-PORTABLE &&
2022-06-14 01:29:06 -04:00
2023-12-30 09:34:37 -03:00
sudo chmod -v +x infra/portable/THORIUM-SHELL &&
2022-06-14 01:29:06 -04:00
2023-12-30 09:34:37 -03:00
sudo chmod -v +x infra/portable/thorium-portable.desktop &&
2022-06-14 01:29:06 -04:00
2023-12-30 09:34:37 -03:00
sudo chmod -v +x infra/portable/thorium-shell.desktop &&
2022-06-14 01:29:06 -04:00
2023-12-30 09:34:37 -03:00
sudo chmod -v +x infra/portable/make_portable_linux.sh &&
2022-08-02 05:42:42 -04:00
2023-12-30 09:34:37 -03:00
sudo chmod -v +x infra/portable/make_portable_win.sh &&
2022-08-02 05:42:42 -04:00
2022-06-17 18:24:03 -04:00
sudo chmod -v +x infra/APPIMAGE/pkg2appimage &&
sudo chmod -v +x infra/APPIMAGE/make_appimage.sh &&
2022-06-17 18:24:03 -04:00
2024-01-13 21:59:57 -03:00
sudo chmod -v +x infra/APPIMAGE/extract_appimage.sh &&
2022-08-12 12:07:55 -04:00
sudo chmod -v +x pak_src/build.sh &&
2022-08-02 20:16:05 -04:00
2022-09-12 10:49:49 -03:00
sudo chmod -v +x src/build/vs_toolchain.py &&
2024-01-22 18:42:41 -03:00
sudo chmod -v +x src/build/install-build-deps.py &&
sudo chmod -v +x src/build/win/reorder-imports.py &&
2024-01-12 15:35:17 -03:00
sudo chmod -v +x arm/setup_arm.sh &&
2023-12-30 09:34:37 -03:00
# sudo chmod -v +x src/tools/gn/bootstrap/bootstrap.py &&
2022-09-12 10:49:49 -03:00
sudo chmod -v +x src/tools/clang/scripts/build.py &&
2023-12-30 09:34:37 -03:00
# sudo chmod -v +x other/Polly/setup_polly.sh &&
2022-10-15 01:54:41 -03:00
2023-12-30 09:34:37 -03:00
printf "\n" &&
2022-06-14 01:29:06 -04:00
printf "${GRE}${bold}Scripts are ready!\n" &&
2023-12-30 09:34:37 -03:00
printf "\n" &&
2022-06-14 01:29:06 -04:00
tput sgr0