Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Disable favorite in Sankaku Idol
Browse files Browse the repository at this point in the history
  • Loading branch information
Seng-Jik committed Nov 12, 2021
1 parent 24ddbfa commit 7844e71
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion KoKo/SankakuComplex.fs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ type SankakuComplex (name, urlBase, sourceBase) =
interface ISpider with
member x.Name = name
member x.All = Spider.search "" x
member x.GetPostById id = async { return Spider.search $"id:{id}" x |> Seq.tryHead }
member x.GetPostById id =
if name = "Sankaku Idol"
then async { return None }
else async { return Spider.search $"id:{id}" x |> Seq.tryHead }
member spider.Search tags =
let pages =
Seq.initInfinite (fun pageId ->
Expand Down
2 changes: 1 addition & 1 deletion KoKoViewer/KoKoViewer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<AppxPackageDir>C:\Repos\KoKo\KoKoViewer\bin\AppPackages\</AppxPackageDir>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x86|x64|arm|arm64</AppxBundlePlatforms>
<AppxBundlePlatforms>x86|x64|arm</AppxBundlePlatforms>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
Expand Down
2 changes: 1 addition & 1 deletion KoKoViewer/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<Identity
Name="609b4b8f-a84f-4111-b119-af0006ce93d6"
Publisher="CN=KoKo"
Version="1.0.0.0" />
Version="1.0.2.0" />

<mp:PhoneIdentity PhoneProductId="609b4b8f-a84f-4111-b119-af0006ce93d6" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down

0 comments on commit 7844e71

Please sign in to comment.