Track ClickOnce publish profiles

This commit is contained in:
2026-10-14 07:11:21 +08:00
parent 14f8706198
commit fbc92d57ba
3 changed files with 96 additions and 0 deletions
+3
View File
@@ -480,3 +480,6 @@ $RECYCLE.BIN/
# Vim temporary swap files
*.swp
# ClickOnce publish profiles are config, not secrets — keep them tracked
!TuneBossPC/Properties/PublishProfiles/*.pubxml
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Dealer ClickOnce profile. Identical to ClickOnceProfile.pubxml except:
• <Dealer>true</Dealer> → defines the DEALER symbol (hides Config + 1D Tables)
• separate InstallUrl → its own update channel (never clobbers the full build)
• separate Publish dirs → dealer output doesn't overwrite the full build's
• distinct product name → separate shortcut / Add-Remove-Programs entry
Publish this profile for the dealer release; publish ClickOnceProfile for the full build. -->
<Project>
<PropertyGroup>
<!-- Turns on the dealer build. -->
<Dealer>true</Dealer>
<ApplicationRevision>3</ApplicationRevision>
<ApplicationVersion>1.0.0.*</ApplicationVersion>
<BootstrapperEnabled>True</BootstrapperEnabled>
<Configuration>Release</Configuration>
<CreateWebPageOnPublish>False</CreateWebPageOnPublish>
<GenerateManifests>true</GenerateManifests>
<Install>True</Install>
<InstallFrom>Web</InstallFrom>
<IsRevisionIncremented>True</IsRevisionIncremented>
<IsWebBootstrapper>True</IsWebBootstrapper>
<MapFileExtensions>True</MapFileExtensions>
<OpenBrowserOnPublish>False</OpenBrowserOnPublish>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net9.0-windows10.0.19041.0\app.publish.dealer\</PublishDir>
<PublishUrl>bin\publish-dealer\</PublishUrl>
<PublishProtocol>ClickOnce</PublishProtocol>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishSingleFile>False</PublishSingleFile>
<SelfContained>False</SelfContained>
<SignatureAlgorithm>(none)</SignatureAlgorithm>
<SignManifests>False</SignManifests>
<SkipPublishVerification>false</SkipPublishVerification>
<TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
<UpdateEnabled>False</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateRequired>False</UpdateRequired>
<WebPageFileName>Publish.html</WebPageFileName>
<!-- Separate update channel — dealers pull from here, independent of the full build. -->
<InstallUrl>https://app.tracboss.com/pcsoftware2/</InstallUrl>
<!-- Distinct friendly name (shortcut / Add-Remove Programs). -->
<ProductName>TuneBoss PC (Dealer)</ProductName>
<PublisherName>FSR Technology</PublisherName>
<History>True|2026-09-29T03:23:50.2255705Z||;True|2026-09-25T11:23:59.2144127+08:00||;True|2026-09-18T17:14:57.5162745+08:00||;</History>
</PropertyGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.9.0.x64">
<Install>true</Install>
<ProductName>.NET Desktop Runtime 9.0.13 (x64)</ProductName>
</BootstrapperPackage>
</ItemGroup>
</Project>
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<ApplicationRevision>18</ApplicationRevision>
<ApplicationVersion>1.0.0.*</ApplicationVersion>
<BootstrapperEnabled>True</BootstrapperEnabled>
<Configuration>Release</Configuration>
<CreateWebPageOnPublish>False</CreateWebPageOnPublish>
<GenerateManifests>true</GenerateManifests>
<Install>True</Install>
<InstallFrom>Web</InstallFrom>
<IsRevisionIncremented>True</IsRevisionIncremented>
<IsWebBootstrapper>True</IsWebBootstrapper>
<MapFileExtensions>True</MapFileExtensions>
<OpenBrowserOnPublish>False</OpenBrowserOnPublish>
<Platform>Any CPU</Platform>
<PublishDir>bin\Release\net9.0-windows10.0.19041.0\app.publish\</PublishDir>
<PublishUrl>bin\publish\</PublishUrl>
<PublishProtocol>ClickOnce</PublishProtocol>
<PublishReadyToRun>False</PublishReadyToRun>
<PublishSingleFile>False</PublishSingleFile>
<SelfContained>False</SelfContained>
<SignatureAlgorithm>(none)</SignatureAlgorithm>
<SignManifests>False</SignManifests>
<SkipPublishVerification>false</SkipPublishVerification>
<TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
<UpdateEnabled>False</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateRequired>False</UpdateRequired>
<WebPageFileName>Publish.html</WebPageFileName>
<InstallUrl>https://app.tracboss.com/pcsoftware/</InstallUrl>
<History>True|2026-09-30T04:11:40.3267188Z||;True|2026-09-29T11:23:31.0586994+08:00||;True|2026-09-02T17:44:24.0999910+08:00||;True|2026-08-21T09:49:53.6754436+08:00||;True|2026-08-17T10:54:22.4563316+08:00||;True|2026-08-13T13:52:37.0281846+08:00||;True|2026-08-12T16:05:14.2705192+08:00||;True|2026-07-31T22:49:14.5869146+08:00||;True|2026-07-31T17:55:20.4616585+08:00||;True|2026-07-31T17:29:14.9984524+08:00||;True|2026-07-29T17:02:38.3012266+08:00||;True|2026-07-29T12:51:45.6990187+08:00||;True|2026-07-27T15:30:28.6055849+08:00||;</History>
</PropertyGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.9.0.x64">
<Install>true</Install>
<ProductName>.NET Desktop Runtime 9.0.13 (x64)</ProductName>
</BootstrapperPackage>
</ItemGroup>
</Project>