Linked playlist folders, local API, installer agreement

- Add existing folders as playlists; they're never moved or deleted by Atmosphere
- Missing linked folders show Locate and Remove, and return when the drive reconnects
- Opt-in local API for other apps: loopback only, hashed token, per-permission access,
  browser and DNS-rebinding requests refused, lockout after repeated bad tokens
- Live now-playing events, library browsing, playback and queue control, links to Get
- API guide in docs/api.md
- Agreeing on the Windows installer's licence page counts as the rights agreement
- Drop the redundant DRM line from the welcome screen
This commit is contained in:
Christian
2026-11-18 21:03:56 -05:00
parent 7329bd673b
commit a5c6c2503b
17 changed files with 1301 additions and 42 deletions
+17 -1
View File
@@ -1,4 +1,16 @@
; atmosphere · hooks.nsh · Uninstaller hooks: offer a backup before removing data, and remove Atmosphere's own data folders only when asked
; atmosphere · hooks.nsh · Installer hooks: record the rights agreement, offer a backup before removing data, and remove Atmosphere's own data only when asked
!define ATMO_TERMS_VERSION 1
!macro NSIS_HOOK_POSTINSTALL
${If} $PassiveMode <> 1
${AndIf} $UpdateMode <> 1
${AndIfNot} ${Silent}
FileOpen $R9 "$INSTDIR\rights-accepted" w
FileWrite $R9 "terms=${ATMO_TERMS_VERSION}"
FileClose $R9
${EndIf}
!macroend
!macro NSIS_HOOK_PREUNINSTALL
${If} $UpdateMode <> 1
@@ -26,6 +38,10 @@
!macroend
!macro NSIS_HOOK_POSTUNINSTALL
${If} $UpdateMode <> 1
Delete "$INSTDIR\rights-accepted"
RMDir "$INSTDIR"
${EndIf}
${If} $UpdateMode <> 1
${AndIf} $DeleteAppDataCheckboxState = 1
SetShellVarContext current