Skip to content

Commit

Permalink
Merge pull request reisxd#488 from Mou-Ikkai/patch-1
Browse files Browse the repository at this point in the history
Added quotes for paths with spaces
  • Loading branch information
reis authored Oct 3, 2022
2 parents a41992c + 1fa16fe commit 946834f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wsEvents/installReVanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ module.exports = async function installReVanced(ws) {
);
try {
await exec(
`adb -s ${deviceId} install ${joinPath(
`adb -s ${deviceId} install "${joinPath(
global.revancedDir,
global.outputName
)}`
)}"`
);

ws.send(
Expand Down Expand Up @@ -92,7 +92,7 @@ module.exports = async function installReVanced(ws) {

if (!microGVersion || microGVersion !== currentMicroGVersion) {
try {
await exec(`adb -s ${deviceId} install ${global.jarNames.microG}`);
await exec(`adb -s ${deviceId} install "${global.jarNames.microG}"`);

ws.send(
JSON.stringify({
Expand Down

0 comments on commit 946834f

Please sign in to comment.