Skip to content

Commit

Permalink
打包MAUI Windows、Android,Winform、WPF
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-Core committed May 8, 2023
1 parent c1981f6 commit c6aa3ee
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
4 changes: 4 additions & 0 deletions YourWeather/YourWeather.Winform/YourWeather.Winform.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationIcon>Resources\favicon.ico</ApplicationIcon>
<Version>0.9.6</Version>
<AssemblyName>你的天气</AssemblyName>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions YourWeather/YourWeather.Wpf/YourWeather.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationIcon>Resources\favicon.ico</ApplicationIcon>
<Version>0.9.6</Version>
<AssemblyName>你的天气</AssemblyName>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">

<Identity Name="maui-package-name-placeholder" Publisher="CN=User Name" Version="0.0.0.0" />
<Identity Name="maui-package-name-placeholder" Publisher="CN=Yu-Core" Version="0.9.6.0" />

<mp:PhoneIdentity PhoneProductId="0BB89DB7-95CB-4091-8716-782A7B583CC5" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down
9 changes: 9 additions & 0 deletions YourWeather/YourWeather/YourWeather.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<PackageCertificateThumbprint>51B271D6C4214590636B81D5A484319EA26D0FE8</PackageCertificateThumbprint>
<AppxPackageSigningTimestampServerUrl>http://timestamp.comodoca.com/rfc3161</AppxPackageSigningTimestampServerUrl>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>

<ItemGroup>
Expand Down
Binary file added YourWeather/YourWeather/myapp.keystore
Binary file not shown.

0 comments on commit c6aa3ee

Please sign in to comment.