Loading src/memory.sh +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ if [[ "${RAM_SIZE,,}" == "half" ]]; then if (( (RAM_AVAIL / 2) > RAM_SPARE )); then wanted=$(( (RAM_AVAIL / 2) / 1048577 )) RAM_SIZE="${wanted}M" info "Allocated $wanted MB of RAM for the virtual machine." info "Allocated $wanted MB of RAM for $(app)." else RAM_SIZE="max" fi Loading @@ -65,7 +65,7 @@ if [[ "${RAM_SIZE,,}" == "max" ]]; then wanted=$(( wanted / 1048577 )) RAM_SIZE="${wanted}M" info "Allocated $wanted MB of RAM for the virtual machine." info "Allocated $wanted MB of RAM for $(app)." fi Loading src/power.sh +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ _trap() { app() { if [[ "$APP" == "QEMU" ]]; then echo "the VM" && return 0 echo "the virtual machine" && return 0 fi echo "$APP" && return 0 Loading Loading
src/memory.sh +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ if [[ "${RAM_SIZE,,}" == "half" ]]; then if (( (RAM_AVAIL / 2) > RAM_SPARE )); then wanted=$(( (RAM_AVAIL / 2) / 1048577 )) RAM_SIZE="${wanted}M" info "Allocated $wanted MB of RAM for the virtual machine." info "Allocated $wanted MB of RAM for $(app)." else RAM_SIZE="max" fi Loading @@ -65,7 +65,7 @@ if [[ "${RAM_SIZE,,}" == "max" ]]; then wanted=$(( wanted / 1048577 )) RAM_SIZE="${wanted}M" info "Allocated $wanted MB of RAM for the virtual machine." info "Allocated $wanted MB of RAM for $(app)." fi Loading
src/power.sh +1 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ _trap() { app() { if [[ "$APP" == "QEMU" ]]; then echo "the VM" && return 0 echo "the virtual machine" && return 0 fi echo "$APP" && return 0 Loading