The embed phase clears SDKROOT, and inside Xcode cc is the toolchain
clang, which finds no SDK without it. ring (TLS for Mornye Link) then
failed on TargetConditionals.h. The desktop build now sets SDKROOT from
xcrun when unset, which also keeps Xcode and command line builds on one
Cargo cache.
mornye.exe and mornye_desktop.dll import VCRUNTIME140.dll,
VCRUNTIME140_1.dll and MSVCP140.dll, but neither the installer nor the
portable zip ships them, so the app does not start on PCs without the
Visual C++ Redistributable. Install them app-local with CMake's
InstallRequiredSystemLibraries, and make check_windows_bundle.ps1
require them so CI catches a regression.
Add architecture-specific CI jobs, native playback dependencies and bundle validation. Native Windows ARM64 compilation and runtime testing are still pending.
macOS builds FFmpeg 9.0.2 from the signed release tarball; Linux and
Windows take BtbN's n9.0 LGPL builds. The configure options and encoder
list are unchanged and all still exist in 9.0.
The repository moved to mornyeapp/Mornye, so the GitHub links in the
app, README, contributing guide, issue templates, changelog config,
AltStore source and Linux and Windows packaging now use it. The remote
config endpoint keeps its old server name.
The macOS file picker checks the user-selected files entitlement even
outside the sandbox and silently returned nothing without it. Linux
reaches the picker through the desktop portal, so the package recommends
xdg-desktop-portal and the settings page reports a picker failure
instead of doing nothing.
Ad hoc signatures change on every build, so macOS asks for the keychain
password again after each rebuild or update. A self-signed certificate keeps
the designated requirement stable; Gatekeeper behavior is unchanged.
An Xcode "Embed FFmpeg" phase copies build/ffmpeg/macos-universal (or
the host architecture) into Contents/Resources/ffmpeg and signs the
tools; MORNYE_REQUIRE_FFMPEG=1 turns a missing stage into an error.
Linux installs them into lib/ffmpeg and Windows into ffmpeg\, warning
when nothing is staged. A macOS integration test converts and probes
with the bundled tools.
Build arm64 and x86_64 from pinned sources and merge them with lipo
(macos-universal). Add the SoX Resampler (the conversion settings offer
soxr) and a host NASM for the x86 assembly, limit encoders to the ones
the app requests, drop avdevice, and record the configure lines in
SOURCE.txt. The license check now also requires libsoxr and, on macOS,
rejects links to non-system libraries.
- scripts/package_macos_dmg.sh: ad hoc signs the release app inside out
(keeping its entitlements), builds a compressed dmg with an Applications
symlink, then mounts it read-only and checks the signature and the
universal slices.
- scripts/package_linux.sh: AppImage (pinned appimagetool 1.9.1 and type2
runtime, checked by SHA-256) and deb (dpkg-shlibdeps Depends with a fixed
fallback) from the Flutter bundle, installed under usr/lib/mornye.
- linux/packaging: desktop entry registering x-scheme-handler/mornye,
AppStream metainfo and 128/256 px icons.
- windows/installer/mornye.iss and scripts/package_windows.ps1: per-user
Inno Setup installer in %LOCALAPPDATA%\Programs\Mornye with Start Menu
and optional desktop shortcuts (AppUserModelID com.zarz.mornye), the
HKCU mornye:// protocol, closing a running app on upgrade and a
/RELAUNCH=1 switch for silent updates, plus a portable zip.
Downloads BtbN LGPL builds for Linux and Windows with checksum checks and
builds FFmpeg, LAME and Opus from pinned sources on macOS. Documents the
bundle locations the app searches and rejects GPL or nonfree builds.
Linux installs libmornye_desktop.so into the bundle's lib/ directory and
Windows installs mornye_desktop.dll next to mornye.exe. Both fail at
configure time with a clear message when the library was not built.
Add scripts/build_rust_backend_windows.ps1 as the Windows counterpart of
`build_rust_backend.sh desktop`, replacing the commented commands.
Add an "Embed Rust Backend" Run Script phase to the Runner target. It
builds libmornye_desktop.dylib with build_rust_backend.sh when the staged
copy is missing or older than the Rust sources, copies it into
Contents/Frameworks and signs it (ad hoc unless an identity is set), so
the app loads the backend without MORNYE_DESKTOP_LIB.
MORNYE_SKIP_RUST_BUILD=1 embeds a prebuilt staged library as is.
Add a desktop mode that builds mornye-desktop for the host: a universal
macOS dylib (arm64 and x86_64, install name @rpath, ad hoc signed) or the
Linux shared library, staged under rust_backend/target/desktop/<os>/.
Document the intended Windows commands and the new crate in the README.
Remove the original SpotiFLAC creator and PC source links from About,
point docs links and podspec homepages at mornye.com, drop stale
SpotiFLAC build artifact cleanup, and rename incidental test data.
Legacy compatibility (backup magic, lyrics provider id, extension
suffix, signed session protocol) is kept so old data still loads.
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.
Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
Rust is the only backend and routes the app on Android and iOS. Rewrite
the migration-era crate, script and comment wording that implied Go still
runs, and note in each crate doc that Go mentions describe the retired
backend whose observable behavior remains a compatibility contract.
Drop the gomod renovate rule, the stray em dash in crowdin.yml and the migration wording in check_rust_backend.sh. Rename the SMB fixture servers so test_*.py discovery no longer implies unit tests, and describe supported_locales.dart as hand-maintained since its generator never existed.
Remove the presence setting, platform bridge, SDK archive, and SDK preparation from local and CI builds. Reject leftover Discord native libraries in release APK audits.
Vendor the pinned Rustix package with an Android-only weak libc lookup so missing statx returns ENOSYS and uses the existing stat64 fallback. Add an isolated Android smoke test with a hidden symbol and a seccomp filter that kills raw statx probes.
Verified 177 workspace tests, host Clippy, and ARM64 Android sandbox smoke test. ARM32 cross-target Clippy passes with the existing needless_return warning in binary.rs exempted; physical Android 10 ARM32 validation remains required.
Replace the Go backend with the Rust workspace and route Android/iOS through
UniFFI bindings. Include the migrated extension runtime, network, providers,
media metadata, downloads and library operations, with version 5.0.0+147.
Remove Go sources, adapters, native build selection and CI dependencies.
Build Rust unconditionally and lock the iOS Rust pod using a relative path.
Retain legacy source and migration evidence in a local ignored archive.
Validation: Android Kotlin compile and 53 native tests; Swift Rust-branch
equivalence and syntax; CocoaPods install; workflow, shell, Ruby, plist and
diff checks. Reuse the preceding 100 Rust tests, fmt/Clippy and five-ABI
build checkpoint; no new APK or iOS application build for this cleanup.
Known follow-up: URL/URLSearchParams globals are missing from the Rust JS
runtime. A controlled extension replay confirms a URL-resolution regression;
this commit does not fix that runtime gap.