My manifest has the launchProcess
permissions like so:
"requiredPermissions": {
"launchProcess": {
"schemes": ["https", "slack", "adbxd"],
"extensions": [".pdf", ""]
},
"localFileSystem": "fullAccess"
},
and my function to try to open a folder:
const { shell } = require("uxp")
export default async function install() {
console.log("Installing...")
try {
await shell.openPath("/Users/[MY_USER_NAME]/Downloads")
} catch (error) {
console.warn(error)
}
}
but i always receive the error Extension "" is not accepted for the path /Users/[MY_USER_NAME]/Downloads
. I’ve tried with various file types as well as openExternal and always without fail my logs say its not accepted, any ideas?