tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

branding.nsi (3031B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # NSIS branding defines for nightly builds.
      6 # The official release build branding.nsi is located in other-license/branding/firefox/
      7 # The unofficial build branding.nsi is located in browser/branding/unofficial/
      8 
      9 # BrandFullNameInternal is used for some registry and file system values
     10 # instead of BrandFullName and typically should not be modified.
     11 !define BrandFullNameInternal "Nightly"
     12 !define BrandFullName         "Firefox Nightly"
     13 !define CompanyName           "mozilla.org"
     14 !define URLInfoAbout          "https://www.mozilla.org"
     15 !define HelpLink              "https://support.mozilla.org"
     16 
     17 !define URLStubDownloadX86 "https://download.mozilla.org/?os=win&lang=${AB_CD}&product=firefox-nightly-latest"
     18 !define URLStubDownloadAMD64 "https://download.mozilla.org/?os=win64&lang=${AB_CD}&product=firefox-nightly-latest"
     19 !define URLStubDownloadAArch64 "https://download.mozilla.org/?os=win64-aarch64&lang=${AB_CD}&product=firefox-nightly-latest"
     20 !define URLManualDownload "https://www.mozilla.org/${AB_CD}/firefox/installer-help/?channel=nightly&installer_lang=${AB_CD}"
     21 !define URLSystemRequirements "https://www.mozilla.org/firefox/system-requirements/"
     22 !define Channel "nightly"
     23 
     24 # The installer's certificate name and issuer expected by the stub installer
     25 !define CertNameDownload   "Mozilla Corporation"
     26 !define CertIssuerDownload "DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1"
     27 
     28 # Dialog units are used so the UI displays correctly with the system's DPI
     29 # settings.
     30 !define PROFILE_CLEANUP_LABEL_TOP "35u"
     31 !define PROFILE_CLEANUP_LABEL_LEFT "0"
     32 !define PROFILE_CLEANUP_LABEL_WIDTH "100%"
     33 !define PROFILE_CLEANUP_LABEL_HEIGHT "80u"
     34 !define PROFILE_CLEANUP_LABEL_ALIGN "center"
     35 !define PROFILE_CLEANUP_CHECKBOX_LEFT "center"
     36 !define PROFILE_CLEANUP_CHECKBOX_WIDTH "100%"
     37 !define PROFILE_CLEANUP_BUTTON_LEFT "center"
     38 !define INSTALL_BLURB_TOP "137u"
     39 !define INSTALL_BLURB_WIDTH "60u"
     40 !define INSTALL_FOOTER_TOP "-48u"
     41 !define INSTALL_FOOTER_WIDTH "250u"
     42 !define INSTALL_INSTALLING_TOP "70u"
     43 !define INSTALL_INSTALLING_LEFT "0"
     44 !define INSTALL_INSTALLING_WIDTH "100%"
     45 !define INSTALL_PROGRESS_BAR_TOP "112u"
     46 !define INSTALL_PROGRESS_BAR_LEFT "20%"
     47 !define INSTALL_PROGRESS_BAR_WIDTH "60%"
     48 !define INSTALL_PROGRESS_BAR_HEIGHT "12u"
     49 
     50 !define PROFILE_CLEANUP_CHECKBOX_TOP_MARGIN "20u"
     51 !define PROFILE_CLEANUP_BUTTON_TOP_MARGIN "20u"
     52 !define PROFILE_CLEANUP_BUTTON_X_PADDING "40u"
     53 !define PROFILE_CLEANUP_BUTTON_Y_PADDING "4u"
     54 
     55 # Font settings that can be customized for each channel
     56 !define INSTALL_HEADER_FONT_SIZE 28
     57 !define INSTALL_HEADER_FONT_WEIGHT 400
     58 !define INSTALL_INSTALLING_FONT_SIZE 28
     59 !define INSTALL_INSTALLING_FONT_WEIGHT 400
     60 
     61 # UI Colors that can be customized for each channel
     62 !define COMMON_TEXT_COLOR 0xFFFFFF
     63 !define COMMON_BACKGROUND_COLOR 0x000000
     64 !define INSTALL_INSTALLING_TEXT_COLOR 0xFFFFFF