From baeb56cfa4766ebc62cd51799daf46cd39c4e718 Mon Sep 17 00:00:00 2001 From: Black Ram <67595890+BlackRam-oss@users.noreply.github.com> Date: Fri, 25 Oct 2024 23:26:40 +0200 Subject: [PATCH] v0.2.6 --- package.json | 2 +- src/index.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 68a8ee0..efdf1bb 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/index.ts b/src/index.ts index e4f7d0c..654d077 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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`,