Skip to content

Commit 15f67fe

Browse files
author
Mehmet Seckin
committed
refactor: remove bundling logic
1 parent d242a6b commit 15f67fe

File tree

2 files changed

+0
-49
lines changed

2 files changed

+0
-49
lines changed

assets/logo.icns

-109 KB
Binary file not shown.

src/Todo.CLI/Todo.CLI.csproj

-49
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<AssemblyName>todo</AssemblyName>
1717
<NoWin32Manifest>true</NoWin32Manifest>
1818
<Nullable>enable</Nullable>
19-
<ApplicationIcon>../../assets/logo.ico</ApplicationIcon>
2019
</PropertyGroup>
2120

2221
<!-- Common release settings -->
@@ -60,7 +59,6 @@
6059
<PackageReference Include="phu.Inquirer.cs" Version="4.1.0" />
6160
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
6261
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
63-
<PackageReference Include="Dotnet.Bundle" Version="0.9.13" />
6462
</ItemGroup>
6563

6664
<ItemGroup>
@@ -70,58 +68,11 @@
7068
<ItemGroup>
7169
<RuntimeHostConfigurationOption Include="System.Globalization.Invariant" Value="true" />
7270
</ItemGroup>
73-
74-
<!-- macOS Bundle Configuration -->
75-
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64' Or '$(RuntimeIdentifier)' == 'osx-arm64'">
76-
<CFBundleName>Todo CLI</CFBundleName>
77-
<CFBundleDisplayName>Todo CLI</CFBundleDisplayName>
78-
<CFBundleIdentifier>com.mehmetseckin.todo-cli</CFBundleIdentifier>
79-
<CFBundleVersion>0.2.0</CFBundleVersion>
80-
<CFBundleShortVersionString>0.2.0</CFBundleShortVersionString>
81-
<CFBundlePackageType>APPL</CFBundlePackageType>
82-
<CFBundleSignature>????</CFBundleSignature>
83-
<CFBundleExecutable>todo</CFBundleExecutable>
84-
<CFBundleIconFile>logo.icns</CFBundleIconFile>
85-
<NSHighResolutionCapable>true</NSHighResolutionCapable>
86-
<CreatePackage>true</CreatePackage>
87-
<EnablePackageSigning>false</EnablePackageSigning>
88-
<EnableCodeSigning>false</EnableCodeSigning>
89-
<EnableHardenedRuntime>false</EnableHardenedRuntime>
90-
<EnableAppSandbox>false</EnableAppSandbox>
91-
<UseAppHost>true</UseAppHost>
92-
</PropertyGroup>
93-
94-
<!-- macOS Bundle Resources -->
95-
<ItemGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64' Or '$(RuntimeIdentifier)' == 'osx-arm64'">
96-
<BundleResource Include="../../assets/logo.icns">
97-
<LogicalName>Resources/logo.icns</LogicalName>
98-
</BundleResource>
99-
</ItemGroup>
10071

10172
<ItemGroup>
10273
<None Update="appsettings.json">
10374
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
10475
</None>
10576
</ItemGroup>
10677

107-
<ItemGroup>
108-
<None Update="../../assets/logo.icns">
109-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
110-
</None>
111-
</ItemGroup>
112-
113-
<!-- macOS Bundle Creation -->
114-
<Target Name="CreateAppBundle" AfterTargets="BundleApp" Condition="'$(RuntimeIdentifier)' == 'osx-x64' Or '$(RuntimeIdentifier)' == 'osx-arm64'">
115-
<PropertyGroup>
116-
<AppBundleName>Todo CLI.app</AppBundleName>
117-
<AppBundleDir>$(PublishDir)/$(AppBundleName)</AppBundleDir>
118-
<AppResourcesDir>$(AppBundleDir)/Contents/Resources</AppResourcesDir>
119-
<AppContentsDir>$(AppBundleDir)/Contents</AppContentsDir>
120-
<AppMacOSDir>$(AppContentsDir)/MacOS</AppMacOSDir>
121-
</PropertyGroup>
122-
<MakeDir Directories="$(AppBundleDir);$(AppContentsDir);$(AppResourcesDir);$(AppMacOSDir)" />
123-
<Copy SourceFiles="../../assets/logo.icns" DestinationFolder="$(AppResourcesDir)" />
124-
<Copy SourceFiles="$(PublishDir)/todo" DestinationFolder="$(AppMacOSDir)" />
125-
</Target>
126-
12778
</Project>

0 commit comments

Comments
 (0)