Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

--no-bundle

Brendan Allan85cd68d227b6
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 51b842034..1db52a754 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -139,6 +139,6 @@ jobs:
working-directory: apps/desktop
run: |
pnpm -w cap-setup
- pnpm tauri build --debug --target ${{ matrix.settings.target }} --nobundle
+ pnpm tauri build --debug --target ${{ matrix.settings.target }} --no-bundle
env:
RUST_TARGET_TRIPLE: ${{ matrix.settings.target }}
diff --git a/scripts/setup.js b/scripts/setup.js
index 3136b6855..0b32e5990 100644
--- a/scripts/setup.js
+++ b/scripts/setup.js
@@ -156,6 +156,18 @@ FFMPEG_DIR = { relative = true, force = true, value = "target/native-deps" }
LIBCLANG_PATH = "${libclangPath.replaceAll("\\", "/")}"`
);
}
+
+ if (!(await fileExists(path.join(__root, ".env")))) {
+ await fs.copyFile(
+ path.join(__root, ".env"),
+ path.join(__root, ".env.example")
+ );
+ }
+
+ await fs.copyFile(
+ path.join(__root, ".env"),
+ path.join(__root, "apps/desktop/.env")
+ );
}
main();