Skip to content

Commit

Permalink
📝 v1.5 - 允许选择存储路径
Browse files Browse the repository at this point in the history
  • Loading branch information
lalakii committed Jan 24, 2025
1 parent b716400 commit e062bbe
Show file tree
Hide file tree
Showing 18 changed files with 375 additions and 325 deletions.
47 changes: 17 additions & 30 deletions AndroidKeyGen.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<LangVersion>preview</LangVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{57EAA6B0-5C69-4AE0-8C88-89126AC0BC78}</ProjectGuid>
<OutputType>WinExe</OutputType>
Expand All @@ -15,65 +15,52 @@
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Default|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<DefineConstants>
</DefineConstants>
<ErrorReport>none</ErrorReport>
<WarningLevel>4</WarningLevel>
<WarningLevel>5</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<NoWarn>S108;SA1200;SA1600;SA1633;SA1602;S2486;S1075;SA0001;SA1101;</NoWarn>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>icon.ico</ApplicationIcon>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
<ApplicationIcon>Properties\icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>Properties\BouncyCastle.Cryptography.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Drawing" />
<Reference Include="System.IO.Compression" />
<Reference Include="System.Windows.Forms" />
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<Compile Include="AndroidKeyGenForm.cs" />
<Compile Include="LaUIForm.cs" />
<Compile Include="Program.cs" />
<Compile Include="src\AndroidKeyGenForm.cs" />
<Compile Include="src\CertUtils.cs" />
<Compile Include="src\LaUIForm.cs" />
<Compile Include="src\Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include=".editorconfig" />
<None Include="app.manifest" />
<None Include="Properties\app.manifest" />
<EmbeddedResource Include="Properties\res.gz" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Android_symbol_green_RGB.png" />
<Content Include="Properties\icon.ico" />
<None Include="Properties\BouncyCastle.Cryptography.dll" />
<PackageReference Include="StyleCop.Analyzers">
<Version>1.2.0-beta.556</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
<Content Include="Properties\BouncyCastle.Cryptography.dll" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>cd "$(TargetDir)" &amp;&amp; del BouncyCastle.Cryptography.dll

lalaki_sign "$(TargetPath)"</PostBuildEvent>
<PostBuildEvent>lalaki_sign "$(TargetPath)"</PostBuildEvent>
</PropertyGroup>
</Project>
6 changes: 3 additions & 3 deletions AndroidKeyGen.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndroidKeyGen", "AndroidKey
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Default|Any CPU = Default|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{57EAA6B0-5C69-4AE0-8C88-89126AC0BC78}.Default|Any CPU.ActiveCfg = Default|Any CPU
{57EAA6B0-5C69-4AE0-8C88-89126AC0BC78}.Default|Any CPU.Build.0 = Default|Any CPU
{57EAA6B0-5C69-4AE0-8C88-89126AC0BC78}.Release|Any CPU.ActiveCfg = Release|Any CPU
{57EAA6B0-5C69-4AE0-8C88-89126AC0BC78}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
147 changes: 0 additions & 147 deletions AndroidKeyGenForm.cs

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 lalaki

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit e062bbe

Please sign in to comment.