From 330784b46db7a3945f837e41bbbdb2bd534c97b6 Mon Sep 17 00:00:00 2001 From: zenobit Date: Thu, 30 Mar 2023 13:13:23 +0200 Subject: [PATCH] renew_ready fix --- dh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/dh b/dh index e17afbe..50d4aee 100755 --- a/dh +++ b/dh @@ -234,8 +234,6 @@ function run_in_terminal() { } function renew_ready() { - echo $"Do you want quickemu to show outputs in the terminal? (y/n)" - run_in_terminal cd "$VMS_DIR" || exit 1 # for files in "$VMS_DIR"/*; do # if [ ! -e *.conf ]; then @@ -258,19 +256,7 @@ function renew_ready() { icon_file="$DH_ICON_DIR/tux.svg" fi # content of desktop files (ready to run VMs) - if [ "$interminal" == "yes" ]; then - cat < "$DH_CONFIG_DIR"/ready/"$vm_desktop".desktop -[Desktop Entry] -Type=Application -Name=$vm_desktop -Terminal=true -Exec=sh -c 'cd ${VMS_DIR} && ${portable_prefix}quickemu -vm ${vm_conf}' -Icon=$icon_file -Categories=System;Virtualization; - -EOF - else - cat < "$DH_CONFIG_DIR"/ready/"$vm_desktop".desktop + cat < "$DH_CONFIG_DIR"/ready/"$vm_desktop".desktop [Desktop Entry] Type=Application Name=$vm_desktop @@ -279,7 +265,6 @@ Icon=$icon_file Categories=System;Virtualization; EOF - fi done }