mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Add files via upload
This commit is contained in:
parent
036810f8b3
commit
f27b672980
1 changed files with 67 additions and 0 deletions
67
set_exec.sh
Normal file
67
set_exec.sh
Normal file
|
@ -0,0 +1,67 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2022 Alex313031.
|
||||
|
||||
YEL='\033[1;33m' # Yellow
|
||||
RED='\033[1;31m' # Red
|
||||
GRE='\033[1;32m' # Green
|
||||
c0=$'\033[0m' # Reset Text
|
||||
bold=$'\033[1m' # Bold Text
|
||||
underline=$'\033[4m' # Underline Text
|
||||
|
||||
# Error handling
|
||||
yell() { echo "$0: $*" >&2; }
|
||||
die() { yell "$*"; exit 111; }
|
||||
try() { "$@" || die "${RED}Failed $*"; }
|
||||
|
||||
printf "\n" &&
|
||||
printf "${YEL}Script to set chmod +x on all other Thorium scripts.\n" &&
|
||||
printf "${GRE}\n" &&
|
||||
|
||||
# Set executable permissions
|
||||
export NINJA_SUMMARIZE_BUILD=1 &&
|
||||
|
||||
sudo chmod -v +x build.sh &&
|
||||
|
||||
sudo chmod -v +x build_dmg.sh &&
|
||||
|
||||
sudo chmod -v +x build_mac.sh &&
|
||||
|
||||
sudo chmod -v +x build_win.sh &&
|
||||
|
||||
sudo chmod -v +x check_avx.sh &&
|
||||
|
||||
sudo chmod -v +x clean.sh &&
|
||||
|
||||
sudo chmod -v +x setup.sh &&
|
||||
|
||||
sudo chmod -v +x setup_mac.sh &&
|
||||
|
||||
sudo chmod -v +x thordeb.sh &&
|
||||
|
||||
sudo chmod -v +x trunk.sh &&
|
||||
|
||||
sudo chmod -v +x infra/build_polly.sh &&
|
||||
|
||||
sudo chmod -v +x infra/DEBUG/build_debug_linux.sh &&
|
||||
|
||||
sudo chmod -v +x infra/DEBUG/build_debug_shell.sh &&
|
||||
|
||||
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 &&
|
||||
|
||||
sudo chmod -v +x portable/thorium-browser &&
|
||||
|
||||
sudo chmod -v +x portable/thorium-shell &&
|
||||
|
||||
sudo chmod -v +x portable/thorium-browser.desktop &&
|
||||
|
||||
sudo chmod -v +x portable/thorium-shell.desktop &&
|
||||
|
||||
printf "${GRE}${bold}Scripts are ready!\n" &&
|
||||
tput sgr0
|
Loading…
Reference in a new issue