diff --git a/package.json b/package.json index 8c0a628..9ec27c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ttpg-scripts", - "version": "1.4.3", + "version": "1.4.4", "description": "", "bin": { "ttpg-scripts": "./bin/index.js" diff --git a/src/commands/dev.ts b/src/commands/dev.ts index c9ff327..de945bb 100644 --- a/src/commands/dev.ts +++ b/src/commands/dev.ts @@ -22,7 +22,7 @@ export const runDev = async () => { Logger.log("Copying Thumbnail"); try { if (await pathExists(path.resolve("./Thumbnail.png"))) { - await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve(config.local.ttpg_path, `${config.project.slug}_dev`, "Thumbnail.png")); + await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve("./dev/", `${config.project.slug}_dev`, "Thumbnail.png")); } Logger.success("thumbnail copied"); } catch (e) { diff --git a/src/commands/watch.ts b/src/commands/watch.ts index c787b54..a190cbb 100644 --- a/src/commands/watch.ts +++ b/src/commands/watch.ts @@ -22,7 +22,7 @@ export const runWatch = async () => { Logger.log("Copying Thumbnail"); try { if (await pathExists(path.resolve("./Thumbnail.png"))) { - await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve(config.local.ttpg_path, `${config.project.slug}_dev`, "Thumbnail.png")); + await fs.copyFile(path.resolve("./Thumbnail.png"), path.resolve("./dev/", `${config.project.slug}_dev`, "Thumbnail.png")); } Logger.success("thumbnail copied"); } catch (e) {