mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
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:
@@ -16,4 +16,4 @@ Atmosphere downloads two open-source tools on first run, both from their officia
|
||||
- yt-dlp (Unlicense): https://github.com/yt-dlp/yt-dlp
|
||||
- ffmpeg (GPL builds): https://github.com/yt-dlp/FFmpeg-Builds
|
||||
|
||||
You'll be asked to confirm these points again the first time you open the app.
|
||||
Clicking "I Agree" confirms these points, so Atmosphere won't ask again when you first open it.
|
||||
|
||||
+17
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user