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.
TypeScript agent-skillsai-agentsautomationcopilotcopilot-clicopilot-coworkcopilot-studioelectronmicrosoft-scoutscreen-recording
Add macOS relaunch app bundle to source installer (#53)
adilei132e3c61854f
diff --git a/.github/workflows/non-windows.yml b/.github/workflows/non-windows.ymlindex 9119457..99bc7fd 100644--- a/.github/workflows/non-windows.yml+++ b/.github/workflows/non-windows.yml@@ -48,6 +48,16 @@ jobs:SKILL_RECORDER_NO_LAUNCH: "1"run: bash install.sh+ - name: Verify macOS relaunch app bundle+ if: runner.os == 'macOS'+ run: |+ app="$HOME/Applications/Skill Recorder (Source).app"+ stub="$app/Contents/MacOS/skill-recorder-source"+ plist="$app/Contents/Info.plist"+ test -d "$app"+ test -x "$stub"+ plutil -lint "$plist"+- run: npm ci- run: npm run compliance:licenses- name: Verify platform license coveragediff --git a/INSTALL.md b/INSTALL.mdindex d359ce9..b1049bc 100644--- a/INSTALL.md+++ b/INSTALL.md@@ -52,8 +52,9 @@ The source installers:lacks reviewed legal material.7. Build locally, retain repository/dependency licenses, and record hashes forthe installed Electron and Copilot executables.-8. Create a Start Menu shortcut on Windows, a launcher on macOS, and a launcher- plus desktop entry on Ubuntu.+8. Create a Start Menu shortcut on Windows; a launcher plus a `Skill Recorder+ (Source)` app in `~/Applications` (reachable from Spotlight, Launchpad, and the+ Dock) on macOS; and a launcher plus desktop entry on Ubuntu.No administrator access, global Node.js installation, or global Copilot CLIinstallation is required. GitHub Copilot authentication, entitlement, and@@ -128,6 +129,20 @@ Every revision is installed under `versions/<commit>`. The current launcher isupdated only after the selected revision passes dependency, license, integrity,and build checks.+## Relaunching after it closes++After a successful install you can reopen Skill Recorder without re-running the+installer:++- Windows: the **Skill Recorder (Source)** Start Menu shortcut.+- macOS: **Skill Recorder (Source)** in `~/Applications`, searchable from+ Spotlight and Launchpad and pinnable to the Dock.+- Ubuntu: the **Skill Recorder (Source)** desktop entry, or run the launcher+ script directly.++Each entry runs the current launcher, so it always starts the most recently+installed revision.+## Manual developer setupInstall native Node.js 24 from its official publisher. Download the exact commit@@ -236,6 +251,7 @@ Remove-Item "$env:LOCALAPPDATA\SkillRecorder" -Recurse -Force### macOS uninstall```sh+rm -rf "$HOME/Applications/Skill Recorder (Source).app"rm -rf "$HOME/Library/Application Support/SkillRecorder"```diff --git a/README.md b/README.mdindex a45db88..e927ac5 100644--- a/README.md+++ b/README.md@@ -49,6 +49,10 @@ pipe:commit="<40-character-release-commit>"; curl -fsSL "https://raw.githubusercontent.com/adilei/skill-recorder/$commit/install.sh" | SKILL_RECORDER_COMMIT="$commit" SKILL_RECORDER_DETACHED=1 bash```+On macOS the installer also adds a **Skill Recorder (Source)** app to `~/Applications`, so+you can relaunch it later from Spotlight, Launchpad, or the Dock without re-running the+command. On Ubuntu it adds a matching application entry.+**Windows**Use the commit-pinned source installer documented in [`INSTALL.md`](INSTALL.md). Thediff --git a/install.sh b/install.shindex 322404c..7642be2 100755--- a/install.sh+++ b/install.sh@@ -349,6 +349,63 @@ build_source_install() {STAGING_DIR=""}+write_macos_app() {+ local launcher="$1"+ local applications="$HOME/Applications"+ local bundle="$applications/Skill Recorder (Source).app"+ local contents="$bundle/Contents"+ local macos_dir="$contents/MacOS"+ local executable_name="skill-recorder-source"+ local stub="$macos_dir/$executable_name"+ local plist="$contents/Info.plist"+ local stub_temporary plist_temporary++ mkdir -p "$applications"+ rm -rf -- "$bundle"+ mkdir -p "$macos_dir"++ stub_temporary="$macos_dir/.skill-recorder-source.$$"+ {+ printf '%s\n' '#!/bin/bash'+ printf 'exec %q "$@"\n' "$launcher"+ } > "$stub_temporary"+ chmod 755 "$stub_temporary"+ mv -f "$stub_temporary" "$stub"++ plist_temporary="$contents/.Info.plist.$$"+ {+ printf '%s\n' \+ '<?xml version="1.0" encoding="UTF-8"?>' \+ '<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">' \+ '<plist version="1.0">' \+ '<dict>' \+ ' <key>CFBundleName</key>' \+ ' <string>Skill Recorder (Source)</string>' \+ ' <key>CFBundleDisplayName</key>' \+ ' <string>Skill Recorder (Source)</string>' \+ ' <key>CFBundleIdentifier</key>' \+ ' <string>com.skillrecorder.source</string>' \+ ' <key>CFBundleExecutable</key>' \+ " <string>$executable_name</string>" \+ ' <key>CFBundlePackageType</key>' \+ ' <string>APPL</string>' \+ ' <key>CFBundleShortVersionString</key>' \+ ' <string>1.0</string>' \+ ' <key>CFBundleVersion</key>' \+ ' <string>1.0</string>' \+ ' <key>LSMinimumSystemVersion</key>' \+ ' <string>10.15</string>' \+ ' <key>NSHighResolutionCapable</key>' \+ ' <true/>' \+ '</dict>' \+ '</plist>'+ } > "$plist_temporary"+ chmod 644 "$plist_temporary"+ mv -f "$plist_temporary" "$plist"++ APP_BUNDLE="$bundle"+}+write_launcher() {local source_directory="$1"local electron="$2"@@ -385,6 +442,10 @@ write_launcher() {mv -f "$desktop_temporary" "$desktop"DESKTOP_ENTRY="$desktop"fi++ if [ "$PLATFORM" = "darwin" ]; then+ write_macos_app "$launcher"+ fi}install_node_runtime@@ -406,6 +467,9 @@ info "Launcher: $LAUNCHER"if [ -n "${DESKTOP_ENTRY:-}" ]; theninfo "Ubuntu desktop entry: $DESKTOP_ENTRY"fi+if [ -n "${APP_BUNDLE:-}" ]; then+ info "macOS app: $APP_BUNDLE"+fiwarn "This locally generated build is for local execution only. Do not redistribute it."rm -rf -- "$WORK_DIR"