Skip to content

Commit

Permalink
Quality fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek24 committed Feb 1, 2024
1 parent c1477d7 commit 71d45a5
Show file tree
Hide file tree
Showing 18 changed files with 55 additions and 25 deletions.
20 changes: 14 additions & 6 deletions Stella.Configuration/3-1. Configuration .NET 8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,36 @@
<BaseOutputPath>..\Build\</BaseOutputPath>
<NeutralLanguage>en</NeutralLanguage>
<Authors>Sefinek</Authors>
<Description>Configuration window of Genshin Stella Mod.</Description>
<Description>Configuration window for Genshin Stella Mod.</Description>
<Copyright>Copyright 2024 © by Sefinek. All Rights Reserved.</Copyright>
<Company>Sefinek Inc.</Company>
<Version>1.0.0.0</Version>
<Title>Configuration window of Genshin Stella Mod.</Title>
<PackageId>Stella Configuration Window</PackageId>
<PackageProjectUrl>https://genshin.sefinek.net</PackageProjectUrl>
<PackageIcon>cat.ico</PackageIcon>
<RepositoryType>git</RepositoryType>
<Product>ConfigurationWindow</Product>
<Product>Configuration window of Genshin Stella Mod</Product>
<RepositoryUrl>https://github.com/sefinek24/Genshin-Impact-ReShade</RepositoryUrl>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<AssemblyName>ConfigurationWindow</AssemblyName>
<AssemblyName>Configuration Window</AssemblyName>
<StartupObject>ConfigurationNC.Program</StartupObject>
<ApplicationIcon>Resources\cat-52x52.ico</ApplicationIcon>
<ApplicationIcon>Resources\cat-black_52x52.ico</ApplicationIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<Content Include="Resources\cat-52x52.ico" />
<Content Include="Resources\cat-black_52x52.ico" />
</ItemGroup>

<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
Expand All @@ -59,6 +63,10 @@
</ItemGroup>

<ItemGroup>
<None Update="Resources\cat-original-black.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Update="Resources\cat.ico">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
Expand Down
2 changes: 1 addition & 1 deletion Stella.Configuration/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ private static void Main()

try
{
Application.Run(new Window { Icon = Resources.catIcon });
Application.Run(new Window { Icon = Resources.cat_white_52x52 });
}
catch (Exception ex)
{
Expand Down
4 changes: 2 additions & 2 deletions Stella.Configuration/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Stella.Configuration/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
<data name="bg" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\bg.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="catIcon" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cat-52x52.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
<data name="cat_white_52x52" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cat-white_52x52.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="RequiredFile_WasNotFound" xml:space="preserve">
<value>Required file '{0}' was not found.
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
15 changes: 14 additions & 1 deletion Stella.Info48793142/6. Information 48793142.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
<Version>1.0.1.0</Version>
<Title>Stella Mod Information 48793142</Title>
<Authors>Sefinek</Authors>
<PackageId>InformationWindow48793142</PackageId>
<PackageId>Information Window 48793142</PackageId>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -49,6 +51,17 @@
<Content Include="Resources\angry-paimon.ico" />
</ItemGroup>

<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="NAudio" Version="2.2.1" />
</ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions Stella.Prepare/Forms/GamePath.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Stella.Prepare/Forms/GamePath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@

namespace PrepareStella.Forms
{
public partial class GamePath : Form
public sealed partial class GamePath : Form
{
private readonly string _inputString;

public GamePath(string inputString)
{
InitializeComponent();

DoubleBuffered = true;
_inputString += inputString;
}

Expand Down
2 changes: 1 addition & 1 deletion Stella.Prepare/Forms/Help.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Stella.Prepare/Forms/Help.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@

namespace PrepareStella.Forms
{
public partial class Help : Form
public sealed partial class Help : Form
{
public Help()
{
InitializeComponent();

DoubleBuffered = true;
}
}
}
2 changes: 1 addition & 1 deletion Stella.Prepare/Forms/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Stella.Prepare/Forms/Resources.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@

namespace PrepareStella.Forms
{
public partial class Resources : Form
public sealed partial class Resources : Form
{
public Resources()
{
InitializeComponent();

DoubleBuffered = true;
}

private void SelectShadersPath_Load(object sender, EventArgs e)
Expand Down
5 changes: 3 additions & 2 deletions Stella.SefinAntiCheat/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ internal static class Program
[STAThread]
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

try
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainWindow { Icon = Resources.icon });
}
catch (Exception ex)
Expand Down
8 changes: 5 additions & 3 deletions Stella.SefinAntiCheat/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
using System.Resources;
using System.Reflection;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sefin Anti Cheat")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("In fact, this application does nothing. Perhaps I'll attend to it someday.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("Sefinek Inc.")]
[assembly: AssemblyProduct("Sefin Anti Cheat")]
[assembly: AssemblyCopyright("Copyright 2024 © by Sefinek. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyTrademark("© Sefinek Inc.")]
[assembly: AssemblyCulture("")]

// Setting ComVisible to false makes the types in this assembly not visible
Expand All @@ -33,3 +34,4 @@
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en")]

0 comments on commit 71d45a5

Please sign in to comment.