From ad9c1295e41180f1fa866464f2a0f20631bccd10 Mon Sep 17 00:00:00 2001 From: Black Ram <67595890+BlackRam-oss@users.noreply.github.com> Date: Fri, 1 Nov 2024 19:23:44 +0100 Subject: [PATCH] v0.2.11 --- package.json | 2 +- src/index.ts | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index abb9e58..bff20c2 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.10", + "version": "0.2.11", "type": "module", "license": "GPL-3.0", "author": "DRincs-Productions", diff --git a/src/index.ts b/src/index.ts index f523d31..9370a19 100644 --- a/src/index.ts +++ b/src/index.ts @@ -327,8 +327,11 @@ async function init() { return } try { - const resolved = await which(ide) - spawn(resolved, [root], { detached: true }) + // const resolved = await which(ide) + // spawn(resolved, [root], { detached: true }) + await which(ide) + console.log(`\nOpening in ${ide}...`) + spawn.sync(ide, [root], { stdio: 'inherit' }) } catch (error) { console.error( `Could not open project using ${ide}, since ${ide} was not in your PATH`,