Browse Source

fix: Do not store display device (#777)

Kroese 9 months ago
parent
commit
427ba244ce
1 changed files with 0 additions and 10 deletions
  1. 0 10
      src/install.sh

+ 0 - 10
src/install.sh

@@ -156,10 +156,6 @@ finishInstall() {
     fi
     fi
   fi
   fi
 
 
-  if [ -n "${VGA:-}" ] && [[ "${VGA:-}" != "virtio" ]] && [[ "${VGA:-}" != "ramfb" ]]; then
-    echo "$VGA" > "$STORAGE/windows.vga"
-  fi
-
   if [ -n "${DISK_TYPE:-}" ] && [[ "${DISK_TYPE:-}" != "scsi" ]]; then
   if [ -n "${DISK_TYPE:-}" ] && [[ "${DISK_TYPE:-}" != "scsi" ]]; then
     echo "$DISK_TYPE" > "$STORAGE/windows.type"
     echo "$DISK_TYPE" > "$STORAGE/windows.type"
   fi
   fi
@@ -980,12 +976,6 @@ bootWindows() {
 
 
   rm -rf "$TMP"
   rm -rf "$TMP"
 
 
-  if [ -s "$STORAGE/windows.vga" ] && [ -f "$STORAGE/windows.vga" ]; then
-    [ -z "${VGA:-}" ] && VGA=$(<"$STORAGE/windows.vga")
-  else
-    [ -z "${VGA:-}" ] && [[ "${PLATFORM,,}" == "arm64" ]] && VGA="virtio-gpu"
-  fi
-
   if [ -s "$STORAGE/windows.type" ] && [ -f "$STORAGE/windows.type" ]; then
   if [ -s "$STORAGE/windows.type" ] && [ -f "$STORAGE/windows.type" ]; then
     [ -z "${DISK_TYPE:-}" ] && DISK_TYPE=$(<"$STORAGE/windows.type")
     [ -z "${DISK_TYPE:-}" ] && DISK_TYPE=$(<"$STORAGE/windows.type")
   fi
   fi