From 791cbfa3e54e76dd6a72b210d2bad687706956f4 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 12 Feb 2020 23:02:12 +0330 Subject: [PATCH] luncher script added --- luncher.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 luncher.sh diff --git a/luncher.sh b/luncher.sh new file mode 100755 index 0000000..c70f99c --- /dev/null +++ b/luncher.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash +if [ $# -ne 0 ];then + echo "I havn't any parameter just run script without argument" + exit 1 +fi + +notify-send "photoshop started" -i "photoshop" + +SCR_PATH="$HOME/.photoshopCCV19" +CACHE_PATH="$HOME/.cache/photoshopCCV19" + +WINE_PATH="$SCR_PATH/wine-3.4" + +RESOURCES_PATH="$SCR_PATH/resources" +WINE_PREFIX="$SCR_PATH/prefix" + + +export WINEPREFIX="$WINE_PREFIX" +export PATH="$WINE_PATH/bin:$PATH" +export LD_LIBRARY_PATH="$WINE_PATH/lib:$LD_LIBRARY_PATH" +#export WINEDLLOVERRIDES="winemenubuilder.exe=d" +export WINESERVER="$WINE_PATH/bin/wineserver" +export WINELOADER="$WINE_PATH/bin/wine" +export WINEDLLPATH="$WINE_PATH/lib/wine" + +wine /home/victor/.photoshopCCV19/prefix/drive_c/users/victor/PhotoshopSE/Photoshop.exe