VHSgunzo commited on
Commit
96f6f18
·
1 Parent(s): 1b9f0ab

v0.78.3.4

Browse files
Files changed (5) hide show
  1. CHANGELOG.md +5 -0
  2. lutris-wine +1 -1
  3. lux-wine +9 -8
  4. lwrap/PKGBUILD +1 -1
  5. main.zip +2 -2
CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  # v0.78.3.3
2
 
3
  * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
 
1
+ # v0.78.3.4
2
+
3
+ * Add a submenu for application settings to [lw-tray](https://github.com/VHSgunzo/lw-tray/releases/tag/v0.0.6) `v0.0.6`
4
+ * HotFix `-appcfg` EXEs backslash args
5
+
6
  # v0.78.3.3
7
 
8
  * Update [lwrun](https://huggingface.co/lux-wine/lwrun/tree/main/releases/v0.39.1) packages
lutris-wine CHANGED
@@ -1 +1 @@
1
- LW_VERSION="0.78.3.3"
 
1
+ LW_VERSION="0.78.3.4"
lux-wine CHANGED
@@ -1,6 +1,6 @@
1
  #!/usr/bin/env bash
2
 
3
- export LW_VERSION="0.78.3.3"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
@@ -2970,11 +2970,12 @@ lu_config() {
2970
  1> /tmp/winesett$LWCFGKEY &
2971
 
2972
  local SETT_EXE_ARGS=()
 
2973
  for arg in "${EXE_ARGS[@]}"
2974
  do
2975
  [[ "$arg" == *' '* ]] && \
2976
- SETT_EXE_ARGS+=("\"$(sed 's|\\|\\\\\\\\\\\\|g'<<<"$arg")\"")||\
2977
- SETT_EXE_ARGS+=("$(sed 's|\\|\\\\\\\\\\\\|g'<<<"$arg")")
2978
  done
2979
  yad --plug=$LWCFGKEY --tabnum=2 --form --separator="\n" --quoted-output --bool-fmt=1 --columns=2 "${YADSCROLL[@]}" \
2980
  --field="EXE arguments::CBE" "$(echo "${SETT_EXE_ARGS[@]}"|eval $AWKFIX)" \
@@ -3225,7 +3226,7 @@ lu_config() {
3225
 
3226
  pfxrestore) btntls_run -pfxrestore ;;
3227
 
3228
- appcfg) lu_appcfg || btntls_run ;;
3229
  esac
3230
  fi
3231
  }
@@ -6000,7 +6001,7 @@ exe_args_add() {
6000
  }
6001
 
6002
  exeargs_parse() {
6003
- sed_arg_quotes() { sed "s|^\"||;s|\"$||;s|^'||;s|'$||" ; }
6004
  local char
6005
  local result=''
6006
  local inside=''
@@ -6025,14 +6026,14 @@ exeargs_parse() {
6025
  elif [[ "$char" == ' ' ]]
6026
  then
6027
  char=''
6028
- exe_args_add "$(sed_arg_quotes<<<"$result")"
6029
  result=''
6030
  fi
6031
  fi
6032
  result+="$char"
6033
  done
6034
  [ -n "$result" ] && \
6035
- exe_args_add "$(sed_arg_quotes<<<"$result")"
6036
  }
6037
 
6038
  check_exe_args() {
@@ -6148,7 +6149,7 @@ lu_appcfg() {
6148
  fi
6149
  openconfig() {
6150
  shift ; [ "$1" ] && exe_args_add "$@"
6151
- cleanrun "$LW_SOURCE" -config "$LU_EXE" "${EXE_ARGS[@]}"
6152
  }
6153
  rm_allappscfg() {
6154
  if print_question "Applications Settings" \
 
1
  #!/usr/bin/env bash
2
 
3
+ export LW_VERSION="0.78.3.4"
4
  export LW_DEVELOPERS="VHSgunzo"
5
 
6
  export RED='\033[1;91m'
 
2970
  1> /tmp/winesett$LWCFGKEY &
2971
 
2972
  local SETT_EXE_ARGS=()
2973
+ sedbackslash() { sed 's|\\|\\\\\\\\\\\\|g'<<<"$arg" ; }
2974
  for arg in "${EXE_ARGS[@]}"
2975
  do
2976
  [[ "$arg" == *' '* ]] && \
2977
+ SETT_EXE_ARGS+=("\"$(sedbackslash)\"")||\
2978
+ SETT_EXE_ARGS+=("$(sedbackslash)")
2979
  done
2980
  yad --plug=$LWCFGKEY --tabnum=2 --form --separator="\n" --quoted-output --bool-fmt=1 --columns=2 "${YADSCROLL[@]}" \
2981
  --field="EXE arguments::CBE" "$(echo "${SETT_EXE_ARGS[@]}"|eval $AWKFIX)" \
 
3226
 
3227
  pfxrestore) btntls_run -pfxrestore ;;
3228
 
3229
+ appcfg) LU_EXE= lu_appcfg ;;
3230
  esac
3231
  fi
3232
  }
 
6001
  }
6002
 
6003
  exeargs_parse() {
6004
+ sedarg() { sed "s|^\"||;s|\"$||;s|^'||;s|'$||"|sed 's|\\\\|\\|g' ; }
6005
  local char
6006
  local result=''
6007
  local inside=''
 
6026
  elif [[ "$char" == ' ' ]]
6027
  then
6028
  char=''
6029
+ exe_args_add "$(sedarg<<<"$result")"
6030
  result=''
6031
  fi
6032
  fi
6033
  result+="$char"
6034
  done
6035
  [ -n "$result" ] && \
6036
+ exe_args_add "$(sedarg<<<"$result")"
6037
  }
6038
 
6039
  check_exe_args() {
 
6149
  fi
6150
  openconfig() {
6151
  shift ; [ "$1" ] && exe_args_add "$@"
6152
+ cleanrun env LWPPID="$LWPPID" "$LW_SOURCE" -config "$LU_EXE" "${EXE_ARGS[@]}"
6153
  }
6154
  rm_allappscfg() {
6155
  if print_question "Applications Settings" \
lwrap/PKGBUILD CHANGED
@@ -2,7 +2,7 @@
2
 
3
  pkgname='lwrap'
4
  pkgver='0.78.3'
5
- pkgrel='3'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
 
2
 
3
  pkgname='lwrap'
4
  pkgver='0.78.3'
5
+ pkgrel='4'
6
  pkgdesc='Lux Wine wrapper for RunImage container'
7
  arch=('x86_64')
8
  url='https://github.com/VHSgunzo/lux-wine'
main.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7ee39af5b46df9dab0b3a8d0686f903d19454fefde7385fdf1db11b7a7e65df
3
- size 586536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ef55a400b1943a7a0d1eabbf158615075f12b1e7441a26a6d3a19a5f9ef59f2
3
+ size 586603