Skip to content

Commit

Permalink
fix(core): vue-cli-plugin-tauri usage, closes #288 (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Jul 5, 2022
1 parent 88012a3 commit f7dcc97
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .changes/fix-vue-cli-plugin-tauri.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@tauri-apps/action-core": patch
"action": patch
---

Fixes usage with `vue-cli-plugin-tauri`.
19 changes: 2 additions & 17 deletions packages/action/dist/index.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,9 @@ export async function buildProject(
if (hasDependency('vue-cli-plugin-tauri', root)) {
if (usesYarn(root)) {
buildCommand = 'yarn'
buildArgs = ['tauri:build']
} else {
buildCommand = 'npx'
buildCommand = 'npm'
buildArgs = ['run', 'tauri:build']
}
} else {
Expand Down

0 comments on commit f7dcc97

Please sign in to comment.