Skip to content

Commit

Permalink
Update install script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorexdeveloper committed Oct 27, 2024
1 parent d86c5f8 commit d6a2e54
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install-nethunter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -661,10 +661,10 @@ create_vnc_launcher() {
set_geometry() {
case "\${ORIENTATION_STYLE}" in
"potrait")
geometry="\${WIDTH_VALUE}x\${HEIGHT_VALUE}"
geometry="\${HEIGHT_VALUE}x\${WIDTH_VALUE}"
;;
*)
geometry="\${HEIGHT_VALUE}x\${WIDTH_VALUE}"
geometry="\${WIDTH_VALUE}x\${HEIGHT_VALUE}"
;;
esac
}
Expand Down Expand Up @@ -728,8 +728,8 @@ create_vnc_launcher() {
#############
DEPTH_VALUE=24
WIDTH_VALUE=720
HEIGHT_VALUE=1600
WIDTH_VALUE=1440
HEIGHT_VALUE=720
ORIENTATION_STYLE="landscape"
DISPLAY_VALUE="\$(cut -d: -f2 <<< "\${DISPLAY}")"
Expand Down

0 comments on commit d6a2e54

Please sign in to comment.