Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

fix(desktop): package the app as Mimik, not the workspace's scoped name

Luis Ortiz69d54a10533b
diff --git a/AGENTS.md b/AGENTS.md
index bef160a..ad219f8 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -312,7 +312,12 @@ word.
app in `apps/desktop/dist`. The root script calls it with `run`, because `pnpm --filter … pack` is
pnpm's own command: it wrote a tarball of the package and never built the app. `electron-builder.yml`
targets dmg/zip, nsis and AppImage/deb, and `executableName` must stay set or the binary inherits the
-scoped package name.
+scoped package name. `extraMetadata` renames the packaged app to `mimik`, display name `Mimik`, for the
+same reason: under `@mimik/desktop` the installer put it in `Programs\@mimikdesktop`, and at runtime
+it took the dev copy's name and so its settings and guides. Windows installs through the NSIS wizard,
+not one click: who to install for, the folder, and a Run Mimik box at the end, with
+`resources/installerSidebar.bmp`, the mascot on navy, beside the Welcome and Finish pages. The file is
+`Mimik-<version>.exe`.
The app icon is the extension's, `public/icon.svg`, so the two products share one mark.
`resources/icon.png` is it at 1024 px, which electron-builder turns into the macOS and Linux icons,
diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.yml
index 2dcd249..0ae1962 100644
--- a/apps/desktop/electron-builder.yml
+++ b/apps/desktop/electron-builder.yml
@@ -1,6 +1,9 @@
appId: io.westpoint.mimik
productName: Mimik
executableName: mimik
+extraMetadata:
+ name: mimik
+ productName: Mimik
npmRebuild: false
directories:
output: dist