|
16 | 16 | <AssemblyName>todo</AssemblyName>
|
17 | 17 | <NoWin32Manifest>true</NoWin32Manifest>
|
18 | 18 | <Nullable>enable</Nullable>
|
19 |
| - <ApplicationIcon>../../assets/logo.ico</ApplicationIcon> |
20 | 19 | </PropertyGroup>
|
21 | 20 |
|
22 | 21 | <!-- Common release settings -->
|
|
60 | 59 | <PackageReference Include="phu.Inquirer.cs" Version="4.1.0" />
|
61 | 60 | <PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
|
62 | 61 | <PackageReference Include="System.Security.Cryptography.ProtectedData" Version="8.0.0" />
|
63 |
| - <PackageReference Include="Dotnet.Bundle" Version="0.9.13" /> |
64 | 62 | </ItemGroup>
|
65 | 63 |
|
66 | 64 | <ItemGroup>
|
|
70 | 68 | <ItemGroup>
|
71 | 69 | <RuntimeHostConfigurationOption Include="System.Globalization.Invariant" Value="true" />
|
72 | 70 | </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> |
100 | 71 |
|
101 | 72 | <ItemGroup>
|
102 | 73 | <None Update="appsettings.json">
|
103 | 74 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
104 | 75 | </None>
|
105 | 76 | </ItemGroup>
|
106 | 77 |
|
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 |
| - |
127 | 78 | </Project>
|
0 commit comments