mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-12-17 03:13:19 +00:00
Compare commits
No commits in common. "ec4de2a11e66acbbd7ac881c49a0c61006428849" and "087a0085b70cc3666ca147e676ce30fc43680c76" have entirely different histories.
ec4de2a11e
...
087a0085b7
10
install.sh
10
install.sh
@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 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.
|
# 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.
|
# 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
|
# In case the user does not use the XDG Base Directory Specification
|
||||||
# https://specifications.freedesktop.org/basedir-spec/latest
|
# https://specifications.freedesktop.org/basedir-spec/latest
|
||||||
XDG_DATA_HOME="$HOME/.local/share"
|
XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
|
||||||
if [ ! -d "$XDG_CACHE_HOME" ]; then
|
|
||||||
XDG_CACHE_HOME="$HOME/.cache"
|
XDG_CACHE_HOME="$HOME/.cache"
|
||||||
fi
|
|
||||||
# LOGGING SYSTEM
|
# LOGGING SYSTEM
|
||||||
# #####################################################################
|
# #####################################################################
|
||||||
#
|
#
|
||||||
@ -94,7 +90,6 @@ ask_user() {
|
|||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Invalid input, try again"
|
echo "Invalid input, try again"
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -428,7 +423,7 @@ install_launcher() {
|
|||||||
echo "#!/usr/bin/env bash"
|
echo "#!/usr/bin/env bash"
|
||||||
echo ""
|
echo ""
|
||||||
echo "export WINEPREFIX=\"$WINEPREFIX\""
|
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_LOG_PATH=\"\$WINEPREFIX/dxvk_cache\""
|
||||||
echo "DXVK_STATE_CACHE_PATH=\"\$WINEPREFIX/dxvk_cache\""
|
echo "DXVK_STATE_CACHE_PATH=\"\$WINEPREFIX/dxvk_cache\""
|
||||||
echo "PHOTOSHOP=\"\$WINEPREFIX/drive_c/Program Files/Adobe Photoshop 2021/photoshop.exe\""
|
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."
|
echo "Invalid option: -$OPTARG Use -h for help."
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user