mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-06-17 12:08:54 +00:00
Move player payload extraction and decoding logic from individual modules (AnimeON, Mikai, NMoonAnime) into a new LME.Shared library. This reduces code duplication and centralizes the parsing logic for better maintainability. The new PlayerJsDecoder class handles various player script formats including atob-encoded payloads, JSON.parse helpers, and different file payload structures. All consuming modules now reference the shared project and use the common decoder. Also fix typo in NMoonAnime Controller (Firts -> First).
16 lines
424 B
XML
16 lines
424 B
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<OutputType>library</OutputType>
|
|
<IsPackable>true</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Shared">
|
|
<HintPath>..\..\Shared.dll</HintPath>
|
|
</Reference>
|
|
<ProjectReference Include="..\LME.Shared\LME.Shared.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project> |