From 2f82cf11b835dd2e5c189300b6f6fdd0abc5c8c1 Mon Sep 17 00:00:00 2001 From: Trung Nguyen Date: Sat, 14 Dec 2024 22:39:35 +0700 Subject: [PATCH] fix wine64->wine & remote->local installer --- scripts/illustratorSetup.sh | 11 ++--------- scripts/launcher.sh | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/scripts/illustratorSetup.sh b/scripts/illustratorSetup.sh index 3785a33..bf5dc25 100755 --- a/scripts/illustratorSetup.sh +++ b/scripts/illustratorSetup.sh @@ -62,24 +62,17 @@ function main() { } function install_illustratorCC() { - local filename="illustratorCC17.tgz" - local filemd5="d470b541cef1339a66ea33a998801f83" - # local filelink="http://127.0.0.1:4050/illustratorCC17.tgz" - local filelink="https://victor.poshtiban.io/p/gictor/illustratorCC/illustratorCC17.tgz" - local filepath="$CACHE_PATH/$filename" - - download_component $filepath $filemd5 $filelink $filename + local filelink="/home/$USER/Downloads/illustratorCC17.tgz" echo "===============| IllustratorCC17 |===============" >> "$SCR_PATH/wine-error.log" show_message "extract IllustratorCC..." rmdir_if_exist "$SCR_PATH/IllustratorCC17" - tar -xzf "$filepath" -C "$SCR_PATH" || error "sorry something went wrong during illustrator installation" + tar -xzf "$filelink" -C "$SCR_PATH" || error "sorry something went wrong during illustrator installation" show_message "install Illustrator..." show_message "IllustratorCC v17 x64 installed..." - unset filename filemd5 filelink filepath } check_arg $@ diff --git a/scripts/launcher.sh b/scripts/launcher.sh index db7a497..9c17b85 100755 --- a/scripts/launcher.sh +++ b/scripts/launcher.sh @@ -13,6 +13,6 @@ WINE_PREFIX="$SCR_PATH/prefix" export WINEPREFIX="$WINE_PREFIX" -wine64 "$SCR_PATH/IllustratorCC17/IllustratorCC64.exe" +wine "$SCR_PATH/IllustratorCC17/IllustratorCC64.exe"