Skip to content

Commit

Permalink
2.9.0 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
epicstudios856 committed May 11, 2024
1 parent fd28f57 commit 3b705ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/com/vectras/vm/SetupQemuActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ public void executeShellCommand(String userCommand) {
"-b", "/storage",
"-b", "/data",
"-w", "/root",
"--login" // The shell to execute inside PRoot
"/bin/sh",
"--login"// The shell to execute inside PRoot
};

processBuilder.command(prootCommand);
Expand Down Expand Up @@ -349,8 +350,7 @@ private void setupVectras() {
executeShellCommand("set -e;" +
" echo 'Starting setup...';" +
" apk update;" +
" apk add sudo;" +
" sudo apk add tar libslirp libslirp-dev pulseaudio-dev glib-dev pixman-dev zlib-dev spice-dev" +
" apk add tar libslirp libslirp-dev pulseaudio-dev glib-dev pixman-dev zlib-dev spice-dev" +
" libusbredirparser usbredir-dev libiscsi-dev sdl2 sdl2-dev libepoxy-dev virglrenderer-dev rdma-core" +
" libusb ncurses-libs curl libnfs sdl2 gtk+3.0 fuse libpulse libseccomp jack pipewire liburing;" +
" tar -xzvf " + tarPath + " -C /;" +
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/java/com/vectras/vterm/Terminal.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ public void executeShellCommand(String userCommand, boolean showResultDialog, Ac
"-b", "/storage",
"-b", "/data",
"-w", "/root",
"--login" // The shell to execute inside PRoot
"/bin/sh",
"--login"// The shell to execute inside PRoot
};

processBuilder.command(prootCommand);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ public void executeShellCommand(String userCommand) {
"-b", "/storage",
"-b", "/data",
"-w", "/root",
"--login" // The shell to execute inside PRoot
"/bin/sh",
"--login"// The shell to execute inside PRoot
};

processBuilder.command(prootCommand);
Expand Down

0 comments on commit 3b705ca

Please sign in to comment.