Back to Home
日本語 English
Hachiko Update Guide

Hachiko Update Guide

Hachiko checks a public latest.json file to determine whether a newer version is available. The update dialog is designed to tell the user that a new version exists and open the official website.

Related document: Local API Guide (currently available in Japanese)

Hachiko uses a Windows Service, so it currently ships as a Win32 installer rather than a Store app. The update flow points users to the official website and installer download path.

Goal

What this is for

  • Tell the user that a newer version is available
  • Guide the user to the official website
  • Keep update notice separate from the actual update process

Non Goal

What this does not do

  • Perform automatic in-app updates
  • Integrate with purchases or add-ons
  • Stop the Service when the notice appears

Manifest

The public file is latest.json

Hachiko reads a public update manifest JSON file. The current public URL is https://hachiko.ritoa.jp/latest.json.

{
  "latest_version": "0.1.2",
  "published_at": "2026-06-18T00:00:00Z",
  "message": "Hachiko 0.1.2 is now available.",
  "release_notes_url": "update-guide.html",
  "store_product_url": "",
  "store_product_id": ""
}

Fields

Manifest fields

Field Required Description
latest_version Yes The newest version number.
published_at Yes The publish timestamp.
message Yes A short message shown in the update dialog.
release_notes_url Yes The normal destination. Relative paths and absolute URLs are both supported.
store_product_url No A reserved fallback field for possible future use.
store_product_id No A reserved fallback field for possible future use.

Behavior

Resolution order

  1. Open store_product_url if present
  2. Use store_product_id as a fallback helper link if present
  3. Otherwise open release_notes_url

In the current Hachiko setup, step 3 is normally used and points users to https://hachiko.ritoa.jp/.

Dialog

User-facing message

The update dialog is treated as a website entry point rather than the updater itself.

A new version is available. Open the official page?

Settings

App-side settings

  • update.enabled
  • update.manifest_url
  • update.check_on_start

The current default manifest URL is https://hachiko.ritoa.jp/latest.json.