forked from CastroFidel/winehelper
fixed nettest icon for GUI and added unpack tests
This commit is contained in:
@@ -5,7 +5,6 @@ export PROG_URL="https://www.kpolyakov.spb.ru/prog/nettest/nettget.htm"
|
||||
export WH_WINE_USE="wine_x_tkg_10-0_amd64"
|
||||
export WINEPREFIX="nettest"
|
||||
export PROG_NAME="NetTest"
|
||||
export PROG_ICON="nettest"
|
||||
export BASE_PFX="none"
|
||||
export WINEARCH="win64"
|
||||
export INSTALL_DLL=""
|
||||
@@ -18,7 +17,13 @@ if [[ -f "$ZIP_FILE" ]] \
|
||||
then
|
||||
prepair_wine
|
||||
PROG_PATH="$DRIVE_C/nettest"
|
||||
unpack "$2" "$PROG_PATH"
|
||||
if [[ $ZIP_FILE =~ "tests" ]] ; then
|
||||
unpack "$2" "$PROG_PATH/tests"
|
||||
print_info "Тесты $(basename "$ZIP_FILE") установлены."
|
||||
exit 0
|
||||
else
|
||||
unpack "$2" "$PROG_PATH"
|
||||
fi
|
||||
|
||||
cp -fr "$PROG_PATH/fonts/"* "$DRIVE_C/windows/Fonts/"
|
||||
|
||||
|
Reference in New Issue
Block a user