Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
test(mac): pin the first mac.publish entry
EtienneLescotf9a306f7f0ab
diff --git a/scripts/after-pack.test.mjs b/scripts/after-pack.test.mjsindex 898de266c..8562e4907 100644--- a/scripts/after-pack.test.mjs+++ b/scripts/after-pack.test.mjs@@ -58,9 +58,14 @@ describe("afterPack app-update.yml", () => {expect(fs.readFileSync(ctx.file, "utf8")).toMatch(/^provider: github\n/);});- it("prefers mac.publish over the global list", async () => {+ it("prefers the first mac.publish entry over the global list", async () => {const ctx = context("darwin");- ctx.packager.platformSpecificBuildOptions = { publish: { provider: "generic", url: "x" } };+ ctx.packager.platformSpecificBuildOptions = {+ publish: [+ { provider: "generic", url: "x" },+ { provider: "github", owner: "o", repo: "r" },+ ],+ };await afterPack(ctx);expect(fs.readFileSync(ctx.file, "utf8")).toMatch(/^provider: generic\nurl: x\n/);});