Skip to content

Commit 3759a09

Browse files
committed
fix dependency
1 parent dea6601 commit 3759a09

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

LyricsDisplayerPlugin/LyricDisplayerPlugins.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@
1717
using Sync.Plugins;
1818
using Sync.Tools;
1919
using Sync.Tools.ConfigurationAttribute;
20+
using Utils = LyricsFinder.Utils;
2021

2122
namespace LyricDisplayerPlugin
2223
{
2324
[SyncRequirePlugin(typeof(OsuRTDataProviderPlugin))]
24-
[SyncPluginID("90e149dd-4184-4895-87e1-3691daff7890","0.9.5")]
25+
[SyncPluginID("90e149dd-4184-4895-87e1-3691daff7890","0.9.7")]
2526
public class LyricDisplayerPlugins : Plugin,IConfigurable
2627
{
2728
[List]
@@ -379,7 +380,7 @@ private bool TryGetLyricFromCacheFile(string title,string artist,int time,bool i
379380

380381
private Task<Lyrics> GetLyricAsync()
381382
{
382-
if (string.IsNullOrWhiteSpace(current_beatmap.FilenameFull) || !File.Exists(current_beatmap.FilenameFull))
383+
if (current_beatmap==null || string.IsNullOrWhiteSpace(current_beatmap.FilenameFull) || !File.Exists(current_beatmap.FilenameFull))
383384
return null;
384385

385386
//获取基本数据

LyricsDisplayerPlugin/LyricsDisplayerPlugin.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<StartupObject />
4040
</PropertyGroup>
4141
<ItemGroup>
42-
<Reference Include="ATL, Version=2.8.0.0, Culture=neutral, processorArchitecture=MSIL">
43-
<HintPath>..\..\Sync\OfficalPlugins\ExtraWorkspace\My_Sync_Plugin\packages\z440.atl.core.2.8.0\lib\net30\ATL.dll</HintPath>
42+
<Reference Include="ATL, Version=2.12.0.0, Culture=neutral, processorArchitecture=MSIL">
43+
<HintPath>..\..\Sync\OfficalPlugins\ExtraWorkspace\My_Sync_Plugin\packages\z440.atl.core.2.12.0\lib\net30\ATL.dll</HintPath>
4444
</Reference>
4545
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
4646
<SpecificVersion>False</SpecificVersion>

LyricsDisplayerPlugin/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
3333
// 方法是按如下所示使用“*”: :
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.9.5.0")]
36-
[assembly: AssemblyFileVersion("0.9.5.0")]
35+
[assembly: AssemblyVersion("0.9.7.0")]
36+
[assembly: AssemblyFileVersion("0.9.7.0")]

LyricsDisplayerPlugin/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<packages>
33
<package id="Microsoft.Packaging.Tools.Trimming" version="1.1.0-preview1-26619-01" targetFramework="net461" />
44
<package id="System.ValueTuple" version="4.5.0" targetFramework="net461" />
5-
<package id="z440.atl.core" version="2.8.0" targetFramework="net461" />
5+
<package id="z440.atl.core" version="2.12.0" targetFramework="net461" />
66
</packages>

LyricsFinder/LyricsFinder.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<LangVersion>7.1</LangVersion>
6-
<Version>0.9.5</Version>
6+
<Version>0.9.7</Version>
77
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
88
<Authors>OsuSync</Authors>
99
<Company>OsuSync</Company>

0 commit comments

Comments
 (0)