[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40793: Add some metadata also to the Windows installer



Title: GitLab

Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 8d0aeaff
    by Pier Angelo Vendrame at 2023-02-27T18:57:02+01:00
    Bug 40793: Add some metadata also to the Windows installer
    

2 changed files:

Changes:

  • projects/browser/windows-installer.nsi
    ... ... @@ -45,6 +45,15 @@
    45 45
       !define UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\[% c('var/ProjectName') %]"
    
    46 46
     [% END -%]
    
    47 47
     
    
    48
    +;--------------------------------
    
    49
    +;Metadata
    
    50
    +
    
    51
    +  VIProductVersion "[% pc("firefox", "var/browser_series") %].0.0"
    
    52
    +  VIAddVersionKey "ProductName" "[% c('var/Project_Name') %]"
    
    53
    +  VIAddVersionKey "ProductVersion" "[% c('var/torbrowser_version') %]"
    
    54
    +  VIAddVersionKey "FileDescription" "[% c('var/Project_Name') %][% IF system_install_mode -%] System[% END -%] Installer"
    
    55
    +  VIAddVersionKey "LegalCopyright" "© [% pc("firefox", "var/copyright_year") %] The Tor Project"
    
    56
    +
    
    48 57
     ;--------------------------------
    
    49 58
     ;Interface Configuration
    
    50 59
     
    
    ... ... @@ -164,7 +173,9 @@ Section "[% c('var/Project_Name') %]" SecBrowser
    164 173
       WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "[% c('var/Project_Name') %]"
    
    165 174
       WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
    
    166 175
       WriteRegStr HKLM "${UNINST_KEY}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
    
    176
    +  WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "The Tor Project"
    
    167 177
       WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$\"$INSTDIR\[% c('var/exe_name') %].exe$\""
    
    178
    +  WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "[% c('var/torbrowser_version') %]"
    
    168 179
       WriteRegDWORD HKLM "${UNINST_KEY}" "NoModify" "1"
    
    169 180
       WriteRegDWORD HKLM "${UNINST_KEY}" "NoRepair" "1"
    
    170 181
       ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
    

  • projects/firefox/config
    ... ... @@ -13,7 +13,8 @@ container:
    13 13
     var:
    
    14 14
       firefox_platform_version: 102.8.0
    
    15 15
       firefox_version: '[% c("var/firefox_platform_version") %]esr'
    
    16
    -  browser_branch: '12.5-1'
    
    16
    +  browser_series: '12.5'
    
    17
    +  browser_branch: '[% c("var/browser_series") %]-1'
    
    17 18
       browser_build: 3
    
    18 19
       branding_directory_prefix: 'tb'
    
    19 20
       copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits