Skip to content

Commit

Permalink
Merge pull request #1 from NextWork123/patch-1
Browse files Browse the repository at this point in the history
Comment ariapkg and curlpkg for force the condition into return=false
  • Loading branch information
ptr1337 authored Oct 5, 2022
2 parents bca08bb + 4351027 commit f3c9e6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions scripts/PhotoshopSetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ function main() {

#config wine prefix and install mono and gecko automatic
echo -e "\033[1;93mplease install mono and gecko packages then click on OK button, do not change Windows version from Windows 7\e[0m"
winecfg 2> "$SCR_PATH/wine-error.log"
wineboot --init 2> "$SCR_PATH/wine-error.log"
if [ $? -eq 0 ];then
show_message "prefix configured..."
sleep 5
wineserver --wait
else
error "prefix config failed :("
fi

sleep 5
wineserver --wait
if [ -f "$WINE_PREFIX/user.reg" ];then
#add dark mod
set_dark_mod
Expand Down
4 changes: 2 additions & 2 deletions scripts/sharedFuncs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ function download_component() {
fi
else
show_message "downloading $4 ..."
ariapkg=$(package_installed aria2c "summary")
curlpkg=$(package_installed curl "summary")
#ariapkg=$(package_installed aria2c "summary")
#curlpkg=$(package_installed curl "summary")

if [ "$ariapkg" == "true" ];then
show_message "using aria2c to download $4"
Expand Down

0 comments on commit f3c9e6b

Please sign in to comment.