From 0ca346c398c4715f4c18711d35af1ef655011b99 Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 4 Jan 2021 20:35:42 +0330 Subject: [PATCH] change aria2 to wget --- README.md | 3 +-- scripts/PhotoshopSetup.sh | 2 +- scripts/sharedFuncs.sh | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0cb7730..c63446c 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,12 @@ and sets some necessary components up for the best performance 2-make sure the following packages are already installed on your Linux distro * `wine` * `winetricks` -* `aria2c` * `md5sum` if they are not already installed you can install them using your package manager for example in arch Linux ```bash -sudo pacman -S wine aria2 winetricks +sudo pacman -S wine winetricks ``` 3- make sure you have enough storage in your `/home` partition about `5 GiB` > 1 GiB will be free after installation diff --git a/scripts/PhotoshopSetup.sh b/scripts/PhotoshopSetup.sh index 261f0c3..1209fc3 100755 --- a/scripts/PhotoshopSetup.sh +++ b/scripts/PhotoshopSetup.sh @@ -11,7 +11,7 @@ function main() { is64 #make sure aria2c and wine package is already installed - package_installed aria2c + # package_installed aria2c package_installed wine package_installed md5sum package_installed winetricks diff --git a/scripts/sharedFuncs.sh b/scripts/sharedFuncs.sh index 9bd9782..bc5286f 100755 --- a/scripts/sharedFuncs.sh +++ b/scripts/sharedFuncs.sh @@ -132,6 +132,7 @@ function install_photoshopSE() { local filename="photoshopCC-V19.1.6-2018x64.tgz" local filemd5="b63f6ed690343ee12b6195424f94c33f" local filelink="https://victor.poshtiban.io/p/gictor/photoshopCC/photoshopCC-V19.1.6-2018x64.tgz" + # local filelink="http://127.0.0.1:8080/photoshopCC-V19.1.6-2018x64.tgz" local filepath="$CACHE_PATH/$filename" download_component $filepath $filemd5 $filelink $filename @@ -217,7 +218,8 @@ function download_component() { fi else show_message "downloading $4 ..." - aria2c -c -x 8 -d $CACHE_PATH -o $4 $3 + # aria2c -c -x 8 -d $CACHE_PATH -o $4 $3 + wget $3 -P $CACHE_PATH if [ $? -eq 0 ];then notify-send "$4 download completed" -i "download" fi