fix: 🐛 Wireless adb does not support Spaces

This commit is contained in:
viarotel 2024-05-04 23:09:56 +08:00
parent 5d102f320d
commit 1f27597ff3

View File

@ -37,7 +37,7 @@ appStore.onDidChange('common.adbPath', async (value, oldValue) => {
const shell = async (command) => {
const execPath = appStore.get('common.adbPath') || adbPath
return exec(`${execPath} ${command}`, {
return exec(`"${execPath}" ${command}`, {
env: { ...process.env },
shell: true,
})