mirror of
https://github.com/winapps-org/winapps.git
synced 2025-08-12 05:25:15 +02:00
Moved ~/.winapps to ~/.config (backwards compatible)
This commit is contained in:
10
bin/winapps
10
bin/winapps
@@ -36,12 +36,16 @@ if [ -z "$(which xfreerdp)" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ ! -f "${HOME}/.winapps" ]; then
|
||||
echo "You need to create a ~/.winapps configuration. Exiting..."
|
||||
if [ ! -f "${HOME}/.config/winapps/winapps.conf" ] && [ ! -f "${HOME}/.winapps" ]; then
|
||||
echo "You need to create a ~/.config/winapps/winapps.conf configuration. Exiting..."
|
||||
exit
|
||||
fi
|
||||
|
||||
. "${HOME}/.winapps"
|
||||
if [ -f "${HOME}/.config/winapps/winapps.conf" ]; then
|
||||
. "${HOME}/.config/winapps/winapps.conf"
|
||||
else
|
||||
. "${HOME}/.winapps"
|
||||
fi
|
||||
|
||||
if [ -z "${RDP_IP}" ]; then
|
||||
if [ -z "$(groups |grep libvirt)" ]; then
|
||||
|
Reference in New Issue
Block a user