Changeset 942028f in Klonkt for src/views


Ignore:
Timestamp:
06/14/2026 04:01:38 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
2b52bfb
Parents:
9b36f45
Message:

app: remove APK/TWA variant — PWA-only install

Robin: only PWA possible, no APK. Removed:

  • src/assets/apk/soundfabrics.apk + src/assets/.well-known/assetlinks.json
  • /.well-known/assetlinks.json route (server.js) — only needed for TWA
  • data-apk-url on the install button (footer.ejs)
  • the 'Option B — APK' branch + Option A/B framing in install-app.js (now PWA-only)

install-app.js?v bump (without cache buster the old version would keep
being served).

Co-Authored-By: Claude <noreply@…>

Location:
src/views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/views/partials/footer.ejs

    r9b36f45 r942028f  
    2020  </div>
    2121
    22   <%# P64 — Install-app button. JS detects platform & opens modal with steps.
    23       data-apk-url is the direct download for Android users who want the
    24       native APK route instead of the PWA. %>
     22  <%# Install-app button. JS detects platform & opens a modal with PWA-install
     23      steps (iOS share-sheet / Android Chrome / desktop). PWA only — geen APK. %>
    2524  <div class="site-footer-install container">
    26     <button type="button" class="install-app-btn" data-pcms-install-app data-apk-url="/assets/apk/soundfabrics.apk">
     25    <button type="button" class="install-app-btn" data-pcms-install-app>
    2726      <svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true"><path d="M5 20h14v-2H5v2zm7-18L5.33 9h3.84v6h5.66V9h3.84L12 2z" fill="currentColor"/></svg>
    2827      <span>Installeer app</span>
  • src/views/shell.ejs

    r9b36f45 r942028f  
    283283
    284284<!-- Install-app button: detects platform + shows install instructions modal -->
    285 <script src="/assets/js/install-app.js" defer></script>
     285<script src="/assets/js/install-app.js?v=2" defer></script>
    286286
    287287<!-- Service Worker registration -->
Note: See TracChangeset for help on using the changeset viewer.