Skip to content

Releases: nabinkhair42/nepali-calendar

v0.1.3 — auto-update, UI overhaul, changelog

Choose a tag to compare

@nabinkhair42 nabinkhair42 released this 15 May 15:15

Highlights: in-app auto-updater, duplicate-install cleanup, decoupled today/selected indicators, unified flat-button idiom, new /changelog page.

New

  • Auto-update from the web. The app polls /api/app/update on launch + every 6 hours; when a newer version is published, a banner appears in the popover for one-click install — download → SHA-256 verify → mount → in-place swap → relaunch.
  • Duplicate-installation cleanup. Settings → Installation detects other copies of the app on disk (via LSCopyApplicationURLsForBundleIdentifier) and lets you move them to Trash. The running install is always protected.
  • "Automatically check for updates" toggle in Settings → General (default on).

UI

  • Today is now a red semibold numeral — no more red ring around the cell, no competition with the selected pill.
  • Selected day uses a neutral soft pill instead of saturated blue.
  • Month nav, Settings, Back, and Quit buttons share one flat toolbar-button idiom: borderless at rest, soft hover, no permanently-pressed look.
  • Selected-day panel: solid amber Holiday badge with white text for readable contrast; redundant Observance chips removed (the colored dot carries the cue).
  • Reopening the popover snaps to today's month — no more landing on a month you scrolled away from earlier.

Web

  • New /changelog page driven by src/lib/changelog.ts.
  • Landing page trimmed to Hero + Previews + Footer.
  • Navbar Changelog link with C keyboard shortcut.

Verification

```
sha256: 9e1803436bc4f86c5d1f5d09ce205fd281b2fceeac3e80e8e811d63d1ef6e40c
```

Verify after download:

```bash
shasum -a 256 NepaliCalendar.dmg
```

Requirements

macOS 14 or later.

v0.1.1 — midnight tick + installer fix

Choose a tag to compare

@nabinkhair42 nabinkhair42 released this 10 May 05:35

Patch release. Two bugs squashed.

Fixes

  • BS date now advances at midnight without restarting the app. The midnight tick was firing on time, but the BS conversion stripped the date to UTC startOfDay before doing the days-from-epoch arithmetic. At Nepal time (UTC+5:45), local midnight is still the previous day in UTC — so the converter returned yesterday's BS until UTC also rolled over. BSConverter.toBS now takes an optional in: TimeZone parameter; the menu-bar app passes .current, so the local calendar day is what gets resolved.

  • Installer no longer trips on macOS bash 3.2. The one-line installer (curl -fsSL .../install.sh | bash) was failing with APPLICATIONS_DIR?: unbound variable because macOS still ships bash 3.2.57 (2007), which mis-tokenizes $VAR followed by a multi-byte UTF-8 character under set -u. The script's progress messages used (U+2026); replaced with ASCII ... everywhere. Script is now ASCII-only end-to-end.

Install

curl -fsSL https://calendar.nabinkhair.com.np/install.sh | bash

Or download the .dmg below.

Upgrade from v0.1.0

The installer overwrites the existing app in /Applications. Just re-run it.

v0.1.0 — first release

Choose a tag to compare

@nabinkhair42 nabinkhair42 released this 09 May 21:19

First release of Nepali Calendar — a native macOS menu bar app for the Bikram Sambat calendar.

What's in here

  • Lives in your menu bar. One click to open, click anywhere else to dismiss.
  • Festivals, public holidays, and observances for the current BS year (±1)
  • Devanagari and English display (⌘L to toggle)
  • Open at login toggle in Settings
  • Keyboard shortcuts: ⌘← / ⌘→ for prev/next month, ⌘T for today, ⌘L language, ⌘, settings, ⌘Q quit

Install

```sh
curl -fsSL https://calendar.nabinkhair.com.np/install.sh | bash
```

The script downloads the .dmg, copies the app into /Applications, and clears the Gatekeeper quarantine so first launch is friction-free.

If you grab the .dmg manually, right-click the app the first time and choose Open, then Open again at the prompt. The build is ad-hoc signed; this step disappears once Developer ID signing lands.

Requirements

  • macOS 14 Sonoma or later
  • Apple silicon or Intel
  • ~1.4 MB download