forked from CastroFidel/PortWINE
Scripts version 2337
This commit is contained in:
@ -4789,7 +4789,10 @@ portwine_create_shortcut () {
|
||||
}
|
||||
|
||||
pw_auto_create_shortcut () {
|
||||
[[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] && return 0
|
||||
if [[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] \
|
||||
|| echo "${portwine_exe}" | grep "gc_api.exe" &>/dev/null # skip lgc and wgc api
|
||||
then return 0
|
||||
fi
|
||||
|
||||
unset LINKS
|
||||
for link_file in "${PORT_WINE_PATH}"/data/prefixes/*/drive_c/users/*/Desktop/*.lnk
|
||||
|
@ -39,7 +39,7 @@ fi
|
||||
|
||||
if ! check_flatpak ; then
|
||||
update-desktop-database -q "${HOME}/.local/share/applications"
|
||||
xdg-mime default PortProton.desktop "application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program"
|
||||
xdg-mime default PortProton.desktop "application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program;text/win-bat;"
|
||||
fi
|
||||
|
||||
if [[ -f /usr/bin/portproton ]] \
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
#Author: Castro-Fidel (linux-gaming.ru)
|
||||
#SCRIPTS_NEXT_VERSION=2336
|
||||
#SCRIPTS_NEXT_VERSION=2337
|
||||
#SCRIPTS_STABLE_VERSION=2336
|
||||
########################################################################
|
||||
export LANGUAGES_LIST="ru es"
|
||||
|
Reference in New Issue
Block a user