Skip to content

Desktop app that records your on-screen work session and uses the GitHub Copilot SDK to reconstruct it as an intent + ordered steps, then builds a reusable Skill or Automation for Microsoft Autopilots like Scout, Microsoft Copilot Cowork, or Copilot Studio.

Add manual portable build workflow for macOS + Windows (#39)

adileidc962e33234d
diff --git a/.github/workflows/portable.yml b/.github/workflows/portable.yml
new file mode 100644
index 0000000..bbb2533
--- /dev/null
+++ b/.github/workflows/portable.yml
@@ -0,0 +1,71 @@
+name: Portable builds
+
+# On-demand, no-install "portable" preview builds.
+# macOS -> arm64 .zip (unzip -> "Skill Recorder.app")
+# Windows -> x64 portable .exe (single self-contained executable)
+#
+# Runs ONLY when started by hand (workflow_dispatch) -- never on push or pull
+# request -- so ordinary merges don't spend ~10-15 min packaging. The always-on
+# Windows / Non-Windows workflows keep typechecking, testing, and (on Windows)
+# building on every push.
+#
+# Unsigned by design: macOS arm64 carries only the automatic *ad-hoc* signature
+# (mac.identity "-" in package.json) so it launches after a one-time Gatekeeper
+# bypass; Windows is not signed (SmartScreen -> "More info" -> "Run anyway").
+# Enabling real signing later is additive: add the signing secrets; this
+# workflow needs no structural change.
+#
+# Forward-compatible extension point (tracked in #20): add a Windows-arm64 leg
+# with a `windows-11-arm` runner + a `dist:portable:win:arm64` script.
+
+on:
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+concurrency:
+ group: portable-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ build:
+ name: Build ${{ matrix.name }}
+ runs-on: ${{ matrix.os }}
+ timeout-minutes: 30
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - os: macos-latest # Apple Silicon (arm64)
+ name: macOS-arm64
+ build_script: dist:portable:mac
+ artifact_path: dist/*.zip
+ - os: windows-latest # x64
+ name: Windows-x64
+ build_script: dist:portable:win
+ artifact_path: dist/*.exe
+
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 24
+ cache: npm
+
+ - run: npm ci
+
+ - name: Package portable app
+ run: npm run ${{ matrix.build_script }}
+ env:
+ # Unsigned preview. macOS arm64 still gets the automatic ad-hoc
+ # signature from mac.identity "-"; this only disables Developer ID
+ # auto-discovery so the runner's empty keychain isn't consulted.
+ CSC_IDENTITY_AUTO_DISCOVERY: "false"
+
+ - name: Upload portable artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: skill-recorder-${{ matrix.name }}
+ path: ${{ matrix.artifact_path }}
+ if-no-files-found: error
diff --git a/package.json b/package.json
index 9f826e1..00a3b46 100644
--- a/package.json
+++ b/package.json
@@ -21,6 +21,8 @@
"dist": "node scripts/assert-generic-dist-platform.mjs && vite build && electron-builder --publish never",
"dist:win:x64": "node scripts/assert-native-windows-arch.mjs x64 && vite build && electron-builder --publish never --win nsis --x64",
"dist:win:arm64": "node scripts/assert-native-windows-arch.mjs arm64 && vite build && electron-builder --publish never --win nsis --arm64",
+ "dist:portable:mac": "vite build && electron-builder --publish never --mac zip",
+ "dist:portable:win": "node scripts/assert-native-windows-arch.mjs x64 && vite build && electron-builder --publish never --win portable --x64",
"start": "electron ."
},
"dependencies": {
@@ -72,6 +74,8 @@
"dmg",
"zip"
],
+ "identity": "-",
+ "hardenedRuntime": false,
"extraResources": [
{
"from": "node_modules/electron/dist/LICENSE",