feat: Update product name format to include version in Wix configuration
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions
This commit is contained in:
parent
8e07e7e855
commit
5cb3bf9f76
3 changed files with 2 additions and 15 deletions
|
|
@ -1,14 +0,0 @@
|
|||
import asyncio
|
||||
from pathlib import Path
|
||||
from webdrop_bridge.core.updater import UpdateManager
|
||||
|
||||
async def main():
|
||||
manager = UpdateManager(current_version='0.8.3', config_dir=Path('.tmp-update-check'))
|
||||
release = await manager.check_for_updates()
|
||||
print('release:', None if not release else (release.tag_name, release.version, len(release.assets)))
|
||||
if release:
|
||||
installer, checksum = await manager._resolve_release_assets(release)
|
||||
print('installer:', None if not installer else installer.get('name'))
|
||||
print('checksum:', None if not checksum else checksum.get('name'))
|
||||
|
||||
asyncio.run(main())
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
||||
xmlns:ui="http://schemas.microsoft.com/wix/2010/ui"
|
||||
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
||||
<Product Id="*" Name="{product_name}" Language="1033" Version="{version}"
|
||||
<Product Id="*" Name="{product_name_with_version}" Language="1033" Version="{version}"
|
||||
Manufacturer="{manufacturer}"
|
||||
UpgradeCode="{upgrade_code}">
|
||||
|
||||
|
|
|
|||
|
|
@ -455,6 +455,7 @@ class WindowsBuilder:
|
|||
wix_template = self.wix_template.read_text(encoding="utf-8")
|
||||
wix_content = wix_template.format(
|
||||
product_name=self.brand.display_name,
|
||||
product_name_with_version=f"{self.brand.display_name} v{self.version}",
|
||||
version=self.version,
|
||||
manufacturer=self.brand.manufacturer,
|
||||
upgrade_code=self.brand.msi_upgrade_code,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue