Skip to content

Commit

Permalink
feat: added signing
Browse files Browse the repository at this point in the history
  • Loading branch information
Егор Желудков committed Sep 29, 2024
1 parent 7c40b61 commit d12e85f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Slang.Gpt.Cli/Slang.Gpt.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,13 @@
<PackageReference Include="Project2015To2017" Version="4.2.0" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<SignIdentity>Developer ID Application: Egor Zheludkov (2V5GB47N8M)</SignIdentity> <!-- Укажите ваше имя и идентификатор команды -->
<UseMacOSCodeSign>true</UseMacOSCodeSign>
</PropertyGroup>

<Target Name="SignApp" AfterTargets="Publish">
<Exec Command="codesign --force --deep --sign '$(SignIdentity)' '$(PublishDir)$(AssemblyName)' --timestamp" Condition="'$(UseMacOSCodeSign)' == 'true'" />
</Target>

</Project>

0 comments on commit d12e85f

Please sign in to comment.