- apps/android/: Capacitor project wrapping the mobile web UI
- www/index.html: full DWM remote UI with first-run server IP setup screen
- capacitor.config.json: app ID com.dibby.wemo, allowMixedContent enabled
- .github/workflows/build-android.yml: builds debug APK on Ubuntu via Gradle
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All production deps (sql.js, ws, xml2js, etc.) are pure JS or WASM —
none need native rebuilding for the Electron runtime. Disabling npmRebuild
skips the @electron/rebuild step that was failing to find
app-builder-lib/out/util/rebuild/remote-rebuild.js in CI.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
app-builder runs npm install --production inside the app dir during
packaging. node-windows has a Windows-only postinstall script that
fails on Linux with ENOENT. Moving it to optionalDependencies makes
npm treat install failures as non-fatal on non-Windows platforms.
Also simplify build-linux.yml — removes unnecessary app-builder binary
verification steps that were masking the actual root cause.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sun-based rules (startTime -2=sunrise, -3=sunset) were silently skipped
with 'if (startSecs < 0) continue'. The sun.js calculator existed but
was never called.
- Import calcSunTimes from ./core/sun
- Compute today's sunrise/sunset once at start of _loadSchedule()
- resolveSecs() maps -2/-3 sentinels to actual seconds + offset
- Both Away Mode and Schedule sections now fire at correct sun times
- Rules with no location set continue to be skipped gracefully
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Root README: add Linux x64 + ARM64 download targets, update release
assets table, document background scheduler differences per OS,
add wemo-core shared package description, use repo name dibby-wemo-manager
- apps/desktop README: full rewrite covering Windows installer/portable,
Linux AppImage/.deb/.rpm (x64 + ARM64), all build commands per OS,
data storage paths per OS, requirements table
- packages/wemo-core: new README documenting all exports, constants,
helper functions, day number convention, sun sentinel codes
- about.html: fix version string from "2.0" to "2.0.0"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>