diff --git a/index.js b/index.js index 5fe49ad..675ce49 100644 --- a/index.js +++ b/index.js @@ -77,6 +77,10 @@ module.exports = async (target, options) => { // As a result, all double-quotes are stripped from the `target` and do not get to your desired destination. target = `"${target}"`; childProcessOptions.windowsVerbatimArguments = true; + + if (options.app) { + options.app = `"${options.app}"`; + } } if (options.wait) {