From 010783102a3945796f45407453935ec86bdc43fc Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 12 Feb 2025 23:09:20 +0100 Subject: [PATCH] build: fix missing copying of etapi.openapi.yaml into dist folder fixes build via electron-forge --- bin/copy-dist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copy-dist.ts b/bin/copy-dist.ts index 6ffc2cf98..85013e992 100644 --- a/bin/copy-dist.ts +++ b/bin/copy-dist.ts @@ -29,7 +29,7 @@ const copy = async () => { fs.copySync(path.join("build", srcFile), destFile, { recursive: true }); } - const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json"]; + const filesToCopy = ["config-sample.ini", "tsconfig.webpack.json", "./src/etapi/etapi.openapi.yaml"]; for (const file of filesToCopy) { log(`Copying ${file}`); await fs.copy(file, path.join(DEST_DIR, file));