mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-09-10 13:15:07 +00:00
Compare commits
3 Commits
087a0085b7
...
ec4de2a11e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ec4de2a11e | ||
![]() |
f57e314db7 | ||
![]() |
ac70db79c7 |
10
install.sh
10
install.sh
@ -1,5 +1,7 @@
|
|||||||
#!/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.
|
||||||
@ -9,8 +11,10 @@
|
|||||||
# 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"
|
||||||
XDG_CACHE_HOME="$HOME/.cache"
|
|
||||||
|
|
||||||
|
if [ ! -d "$XDG_CACHE_HOME" ]; then
|
||||||
|
XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
fi
|
||||||
# LOGGING SYSTEM
|
# LOGGING SYSTEM
|
||||||
# #####################################################################
|
# #####################################################################
|
||||||
#
|
#
|
||||||
@ -90,6 +94,7 @@ ask_user() {
|
|||||||
|
|
||||||
*)
|
*)
|
||||||
echo "Invalid input, try again"
|
echo "Invalid input, try again"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -423,7 +428,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\""
|
||||||
@ -477,6 +482,7 @@ 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