Compare commits

..

No commits in common. "ec4de2a11e66acbbd7ac881c49a0c61006428849" and "087a0085b70cc3666ca147e676ce30fc43680c76" have entirely different histories.

View File

@ -1,7 +1,5 @@
#!/usr/bin/env bash
# vim: set tabstop=2 shiftwidth=2 expandtab:
# This work and script was adapted by the work of user LinSoftWin. If it wasn't for him - it wouldn't have happened.
# This script downloads a PIRATE version of Photoshop, because it is not possible to run the actual version from Adobe Creative Cloud.
# Use it at your own risk. The license applies only to the files in this repository.
@ -11,10 +9,8 @@
# In case the user does not use the XDG Base Directory Specification
# https://specifications.freedesktop.org/basedir-spec/latest
XDG_DATA_HOME="$HOME/.local/share"
if [ ! -d "$XDG_CACHE_HOME" ]; then
XDG_CACHE_HOME="$HOME/.cache"
fi
# LOGGING SYSTEM
# #####################################################################
#
@ -94,7 +90,6 @@ ask_user() {
*)
echo "Invalid input, try again"
;;
esac
done
}
@ -428,7 +423,7 @@ install_launcher() {
echo "#!/usr/bin/env bash"
echo ""
echo "export WINEPREFIX=\"$WINEPREFIX\""
echo "LOG_FILE=\"$XDG_CACHE_HOME/photoshop.log\""
echo "LOG_FILE=\"\$XDG_CACHE_HOME/photoshop.log\""
echo "DXVK_LOG_PATH=\"\$WINEPREFIX/dxvk_cache\""
echo "DXVK_STATE_CACHE_PATH=\"\$WINEPREFIX/dxvk_cache\""
echo "PHOTOSHOP=\"\$WINEPREFIX/drive_c/Program Files/Adobe Photoshop 2021/photoshop.exe\""
@ -482,7 +477,6 @@ while getopts "a:i:h" flag; do
\?)
echo "Invalid option: -$OPTARG Use -h for help."
exit 1
;;
esac
done