Skip to content

Commit

Permalink
fix: don't install tauri.js if using vue cli plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nklayman committed Jan 27, 2021
1 parent c81ac5e commit 84b0de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function buildProject(
return new Promise<string>(resolve => {
if (core.getInput('preferGlobal') === 'true') {
resolve('tauri')
} else if (hasDependency('tauri', root)) {
} else if (hasDependency('tauri', root) || hasDependency('vue-cli-plugin-tauri', root)) {
if (npmScript) {
resolve(usesYarn(root) ? `yarn ${npmScript}` : `npm run ${npmScript}`)
} else {
Expand Down

0 comments on commit 84b0de2

Please sign in to comment.