Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions config/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func_title(){
echo " os = ${os}"
echo " osversion = ${osversion}"
echo " osmajversion = ${osmajversion}"
echo " arch = ${arch}"
echo " arch = ${aarch64}"
echo " trueuser = ${trueuser}"
echo " userprimarygroup = ${userprimarygroup}"
echo " userhomedir = ${userhomedir}"
Expand Down Expand Up @@ -511,7 +511,7 @@ func_package_deps(){
&& arg=" DEBIAN_FRONTEND=noninteractive" \
|| arg=""

if [ "${arch}" == "x86_64" ]; then
if [ "${arch}" == "aarch64" ]; then
## Check to see if we already have i386
tmp="$( dpkg --print-foreign-architectures | grep '^i386$' )"

Expand Down Expand Up @@ -577,7 +577,7 @@ func_package_deps(){
exit 1
fi

## Elementary OS x86_64
## Elementary OS aarch64
elif [ "${os}" == '"elementary"' ]; then
echo -e "\n\n [*] ${YELLOW}Installing Wine on Elementary OS (via APT)${RESET}\n"
sudo ${arg} apt-get -y -qq install wine wine1.6 wine1.6-amd64
Expand Down Expand Up @@ -674,7 +674,7 @@ func_package_deps(){

echo -e " [*] ${YELLOW}Initializing Veil's Wine environment...${RESET}\n"
## x64
if [ "${arch}" == "x86_64" ]; then
if [ "${arch}" == "aarch64" ]; then
## First time running wine, need to run a dummy file to create files
[ "${winebootexists}" == "true" ] \
&& sudo -u "${trueuser}" WINEARCH=win32 WINEPREFIX="${winedir}" wineboot -u \
Expand Down Expand Up @@ -836,7 +836,7 @@ func_go_deps(){
sudo mkdir -p /usr/src/go/

if [ ! -f "/var/lib/veil-evasion/go/bin/go" ]; then
if [ "${arch}" == "x86_64" ]; then
if [ "${arch}" == "aarch64" ]; then
echo -e "\n\n [*] ${YELLOW}Installing Go x86_64 (via TAR)${RESET}\n"

file="${dependenciesdir}/go1.7.5.linux-amd64.tar.gz"
Expand Down Expand Up @@ -1002,7 +1002,7 @@ func_title
## Check architecture
if [ "${arch}" != "x86" ] \
&& [ "${arch}" != "i686" ] \
&& [ "${arch}" != "x86_64" ]; then
&& [ "${arch}" != "aarch64" ]; then
echo -e " ${RED}[ERROR] Your architecture ${arch} is not supported!${RESET}\n\n"
exit 1
fi
Expand Down