Skip to content

Commit

Permalink
v0.78.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
VHSgunzo committed Mar 17, 2024
1 parent cbee49c commit 148f579
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.78.3.5

* HotFix don't shift `lu_rmapp()` args
* Update `lwrap` (installing `LuxWineService.desktop`)

# v0.78.3.4

* Add a submenu for application settings to [lw-tray](https://github.com/VHSgunzo/lw-tray/releases/tag/v0.0.6) `v0.0.6`
Expand All @@ -14,7 +19,7 @@
* Disable check default Wine for some arguments
* Fix run Debug if in EXEs path exist single quotes
* Add editable for `Wine version` field in settings
* Add question for restore from default prefix backup if custom Wine prifix doesn't exist
* Add question for restore from default prefix backup if custom Wine prefix doesn't exist
* Add run `console` EXEs in terminal
* Fix `Wine manager` lists
* Add `GTK theme` selector to settings (from $HOME/.themes)
Expand Down
4 changes: 2 additions & 2 deletions LuxWineService.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ Name[ru_RU]=Cоздать ярлык
[Desktop Action rmapp]
Exec="/usr/bin/lux-wine" -rmapp %f
Icon=/usr/share/lux-wine/icons/lw_default_icon.png
Name=Remove menu app
Name[ru_RU]=Удалить приложение из меню
Name=Remove shortcut
Name[ru_RU]=Удалить ярлык

[Desktop Action tray]
Exec="/usr/bin/lux-wine" -tray noclose
Expand Down
2 changes: 1 addition & 1 deletion lutris-wine
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LW_VERSION="0.78.3.4"
LW_VERSION="0.78.3.5"
6 changes: 3 additions & 3 deletions lux-wine
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

export LW_VERSION="0.78.3.4"
export LW_VERSION="0.78.3.5"
export LW_DEVELOPERS="VHSgunzo"

export RED='\033[1;91m'
Expand Down Expand Up @@ -3714,7 +3714,6 @@ lu_rmapp() {
wait
fi)
}
shift
LWAPPSHRT="$(grep "Categories=Lux Wine Apps" -lr "$MENU_APPS_DIR" 2>/dev/null)"
if [[ -n "$(echo "$LWAPPSHRT"|head -1)" ]]
then
Expand All @@ -3736,6 +3735,7 @@ lu_rmapp() {
fi
grep -qiom1 "^Name=$LU_EXE$" -lr "$MENU_APPS_DIR" 2>/dev/null && \
get_app_exe "$LU_EXE"
echo "LU_EXE=$LU_EXE"
if [[ -n "$(grep -Eiom1 '\.exe$|\.bat$'<<<"$LU_EXE")" ]]
then
(IFS=$'\n'
Expand Down Expand Up @@ -6753,7 +6753,7 @@ if [[ "$EUID" == 0 && "$ALLOW_ROOT" != 1 ]]
-killshell) lu_killshell "$@" ;;
-exit) lu_exit "$@" ;;
-clearpfx) lu_clearpfx "$@" ;;
-rmapp) lu_rmapp "$@" ;;
-rmapp) shift ; lu_rmapp "$@" ;;
-shortcut) lu_shortcut ;;
-help) lu_help ;;
-version) lu_version ;;
Expand Down
2 changes: 1 addition & 1 deletion lwrap/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pkgname='lwrap'
pkgver='0.78.3'
pkgrel='4'
pkgrel='5'
pkgdesc='Lux Wine wrapper for RunImage container'
arch=('x86_64')
url='https://github.com/VHSgunzo/lux-wine'
Expand Down
7 changes: 6 additions & 1 deletion lwrap/lwrap
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ make_install() {
ln_lwrap
install -Dm755 "$lwexecf" "$LWEXEC"
install -Dm644 LuxWine.menu "$HOME/.config/menus/applications-merged/LuxWine.menu"
install -Dm644 LuxWineService.desktop "$HOME/.local/share/kservices5/ServiceMenus/LuxWineService.desktop"
if [ "$KDE_SESSION_VERSION" == 6 ]
then install -Dm644 LuxWineService.desktop "$HOME/.local/share/kio/servicemenus/LuxWineService.desktop"
elif [ "$KDE_SESSION_VERSION" == 5 ]
then install -Dm644 LuxWineService.desktop "$HOME/.local/share/kservices5/ServiceMenus/LuxWineService.desktop"
fi
mkdir -p "$MENU_APPS_DIR"
mkdir -p "$HOME_DESK_DIRS"
cp -rf mime "$HOME/.local/share/mime"
Expand Down Expand Up @@ -316,6 +320,7 @@ uninstall_lw() {
rm -rf "$HOME_DESK_DIRS/LuxWine"*
rm -rf "$HOME/.config/menus/applications-merged/LuxWine.menu"
rm -rf "$HOME/.local/share/kservices5/ServiceMenus/LuxWine"*
rm -rf "$HOME/.local/share/kio/servicemenus/LuxWine"*
rm -rf "$MENU_APPS_DIR/LutrisWine"
rm -rf "$HOME_DESK_DIRS/LutrisWine"*
rm -rf "$HOME/.config/menus/applications-merged/LutrisWine.menu"
Expand Down

0 comments on commit 148f579

Please sign in to comment.