Skip to content

Commit

Permalink
v0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackRam-oss committed Oct 25, 2024
1 parent 3189123 commit baeb56c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-pixi-vn",
"description": "Create a new Pixi’VN project",
"version": "0.2.5",
"version": "0.2.6",
"type": "module",
"license": "GPL-3.0",
"author": "DRincs-Productions",
Expand Down
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,12 @@ async function init() {
break
}

let projectPath = path.resolve(root)

if (ide === undefined) {
return
}
try {
const resolved = await which(ide)
spawn(resolved, [projectPath], { detached: true })
spawn(resolved, [root], { detached: true })
} catch (error) {
console.error(
`Could not open project using ${ide}, since ${ide} was not in your PATH`,
Expand Down

0 comments on commit baeb56c

Please sign in to comment.