diff --git a/README.md b/README.md index aaa1299..30ea75d 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ This is not an ORM in a fake mustache. It is for cases where you want: That keeps the polymorphic boundary tight without making callers write boilerplate by candlelight. -## Inspector +## Hugin Inspector CultCache files may use the `.cc` extension. The bytes are still the canonical `cultcache.store.v1` MessagePack snapshot; the extension is the human handle, not @@ -50,15 +50,15 @@ Build the Vite inspector bundle: npm run build:inspector ``` -Build a desktop package: +Build the desktop package: ```sh npm run dist:inspector ``` -The inspector is read-only. Drop a `.cc`, `.msgpack`, or `.mpack` file onto the -window to inspect the snapshot header, schema catalog, records, and decoded -MessagePack payload previews without registering application schemas. +Hugin is read-only. Drop a `.cc`, `.msgpack`, or `.mpack` file onto the window to +inspect the snapshot header, schema catalog, records, and decoded MessagePack +payload previews without registering application schemas. ## Example diff --git a/electron-builder.json b/electron-builder.json index b7ae5a6..df9ecb3 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -1,8 +1,9 @@ { "appId": "com.gamecult.cultcache.inspector", - "productName": "CultCache Inspector", - "executableName": "CultCacheInspector", + "productName": "Hugin", + "executableName": "Hugin", "asar": false, + "icon": "inspector/public/hugin.ico", "extraMetadata": { "main": "electron/main.cjs" }, @@ -16,7 +17,7 @@ "win": { "signAndEditExecutable": false, "target": ["portable"], - "artifactName": "CultCache-Inspector-${version}.${ext}" + "artifactName": "Hugin-${version}.${ext}" }, "mac": { "target": ["dir"] diff --git a/electron/main.cjs b/electron/main.cjs index 612a8ce..e321a15 100644 --- a/electron/main.cjs +++ b/electron/main.cjs @@ -9,8 +9,9 @@ function createWindow() { height: 780, minWidth: 820, minHeight: 560, - title: "CultCache Inspector", - backgroundColor: "#f4f2ea", + title: "Hugin", + icon: path.join(__dirname, "..", "dist-inspector", "hugin-64.png"), + backgroundColor: "#05090d", autoHideMenuBar: true, webPreferences: { contextIsolation: true, diff --git a/inspector/index.html b/inspector/index.html index ee139b5..f13d971 100644 --- a/inspector/index.html +++ b/inspector/index.html @@ -3,7 +3,7 @@ - CultCache Inspector + Hugin
diff --git a/inspector/public/hugin-256.png b/inspector/public/hugin-256.png new file mode 100644 index 0000000..4ff5743 Binary files /dev/null and b/inspector/public/hugin-256.png differ diff --git a/inspector/public/hugin-64.png b/inspector/public/hugin-64.png new file mode 100644 index 0000000..9437fb0 Binary files /dev/null and b/inspector/public/hugin-64.png differ diff --git a/inspector/public/hugin.ico b/inspector/public/hugin.ico new file mode 100644 index 0000000..95bd886 Binary files /dev/null and b/inspector/public/hugin.ico differ diff --git a/inspector/public/hugin.png b/inspector/public/hugin.png new file mode 100644 index 0000000..bb817ad Binary files /dev/null and b/inspector/public/hugin.png differ diff --git a/inspector/src/main.ts b/inspector/src/main.ts index 0f8e9a2..1e805c5 100644 --- a/inspector/src/main.ts +++ b/inspector/src/main.ts @@ -46,8 +46,11 @@ function render(): void {