Skip to content

Commit 509876e

Browse files
committed
fix: update project to target .NET 8 and adjust submodule settings
1 parent 6c42e56 commit 509876e

6 files changed

Lines changed: 7 additions & 5 deletions

File tree

.gitmodules

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
[submodule "JRead"]
33
path = JRead
44
url = https://github.com/jooapa/JRead.git
5+
update = merge
6+
branch = main

Jammer.CLI/Jammer.CLI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<ApplicationIcon>..\icons\trans_icon512x512.ico</ApplicationIcon>
99
<DefineConstants>CLI_UI</DefineConstants>
1010
<TargetName>Jammer.CLI</TargetName>
11-
<TargetFramework>net9.0</TargetFramework>
11+
<TargetFramework>net8.0</TargetFramework>
1212
</PropertyGroup>
1313

1414
<ItemGroup>

Jammer.Core/Jammer.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<ImplicitUsings>enable</ImplicitUsings>
44
<Nullable>enable</Nullable>
5-
<TargetFramework>net9.0</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<OutputType>Library</OutputType>
77
<RootNamespace>Jammer.Core</RootNamespace>
88
<LangVersion>10</LangVersion>

Jammer.Core/src/Download.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private static async Task DownloadJammerFile(string url)
149149

150150
if (System.IO.File.Exists(downloadedPath))
151151
{
152-
string input = Message.Input(Locale.OutsideItems.AlreadyExists + " " + downloadedPath + ". " + Locale.OutsideItems.Overwrite + " (y/n)", "Warning", true);
152+
string input = Message.Input("Warning", Locale.OutsideItems.AlreadyExists + " " + downloadedPath + ". " + Locale.OutsideItems.Overwrite + " (y/n)", true);
153153
if (input != "y" && input != "yes")
154154
{
155155
songPath = downloadedPath;

scripts/dev-dep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
sudo add-apt-repository ppa:dotnet/dotnet8
2-
sudo apt install dotnet9
2+
sudo apt install dotnet8
33
sudo apt install libfuse2

0 commit comments

Comments
 (0)