shebang added & add main function
This commit is contained in:
parent
8cd935f469
commit
477e076e8e
30
winecfg.sh
30
winecfg.sh
|
@ -1,14 +1,18 @@
|
|||
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"
|
||||
#!/usr/bin/env bash
|
||||
function main(){
|
||||
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"
|
||||
winecfg
|
||||
}
|
||||
|
||||
winecfg
|
||||
main
|
||||
|
|
Loading…
Reference in New Issue