Skip to content

Commit 22a3312

Browse files
committed
Version: 版本发布0.4.1
1 parent 81b0d56 commit 22a3312

5 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install .NET
2929
uses: actions/setup-dotnet@v3
3030
with:
31-
dotnet-version: 8.0.x
31+
dotnet-version: 7.0.x
3232

3333
- name: Setup MSBuild
3434
uses: microsoft/setup-msbuild@v1.3.1

.github/workflows/publish_dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Install .NET
4444
uses: actions/setup-dotnet@v3
4545
with:
46-
dotnet-version: 8.0.x
46+
dotnet-version: 7.0.x
4747

4848
- name: Setup MSBuild
4949
uses: microsoft/setup-msbuild@v1.3.1

.github/workflows/publish_preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install .NET
4141
uses: actions/setup-dotnet@v3
4242
with:
43-
dotnet-version: 8.0.x
43+
dotnet-version: 7.0.x
4444

4545
- name: Setup MSBuild
4646
uses: microsoft/setup-msbuild@v1.3.1

NonsPlayer/AppConfig.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@ static AppConfig()
3737
private static void Initialize()
3838
{
3939
#if DEBUG
40-
AppVersion = "0.4.0";
40+
AppVersion = "0.4.1";
4141
#else
4242
AppVersion = typeof(AppConfig).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
4343
?.InformationalVersion;
4444
#endif
45+
AppVersion = "0.4.1";
4546
}
4647

4748
#region Player Settings
48-
49+
4950
/// <summary>
5051
/// 播放歌单内音乐直接将歌曲添加至播放列表中
5152
/// </summary>
@@ -96,5 +97,4 @@ private static void Initialize()
9697
public static int ApiPort = 8080;
9798

9899
#endregion
99-
100100
}

NonsPlayer/NonsPlayer.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@
1212
<UseWinUI>true</UseWinUI>
1313
<UseRidGraph>true</UseRidGraph>
1414
<EnableMsixTooling>true</EnableMsixTooling>
15+
<WindowsPackageType>None</WindowsPackageType>
1516
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
1617
<DefaultLanguage>zh-cn</DefaultLanguage>
1718
<Product>NonsPlayer</Product>
1819
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
1920
<ApplicationIcon>Assets/WindowIcon.ico</ApplicationIcon>
2021
<Configurations>Debug;Release</Configurations>
22+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
23+
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
24+
<JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>
2125

2226
</PropertyGroup>
2327

0 commit comments

Comments
 (0)