tor-browser

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

branding.nsi (3199B)


      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 Developer Edition 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 "Firefox Developer Edition"
     12 !define BrandShortName        "Firefox Developer Edition"
     13 !define BrandFullName         "Firefox Developer Edition"
     14 !define CompanyName           "mozilla.org"
     15 !define URLInfoAbout          "https://www.mozilla.org"
     16 !define HelpLink              "https://support.mozilla.org"
     17 
     18 !define URLStubDownloadX86 "https://download.mozilla.org/?os=win&lang=${AB_CD}&product=firefox-devedition-latest"
     19 !define URLStubDownloadAMD64 "https://download.mozilla.org/?os=win64&lang=${AB_CD}&product=firefox-devedition-latest"
     20 !define URLStubDownloadAArch64 "https://download.mozilla.org/?os=win64-aarch64&lang=${AB_CD}&product=firefox-devedition-latest"
     21 !define URLManualDownload "https://www.mozilla.org/${AB_CD}/firefox/installer-help/?channel=aurora&installer_lang=${AB_CD}"
     22 !define URLSystemRequirements "https://www.mozilla.org/firefox/system-requirements/"
     23 !define Channel "aurora"
     24 
     25 # The installer's certificate name and issuer expected by the stub installer
     26 !define CertNameDownload   "Mozilla Corporation"
     27 !define CertIssuerDownload "DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1"
     28 
     29 # Dialog units are used so the UI displays correctly with the system's DPI
     30 # settings.
     31 !define PROFILE_CLEANUP_LABEL_TOP "35u"
     32 !define PROFILE_CLEANUP_LABEL_LEFT "0"
     33 !define PROFILE_CLEANUP_LABEL_WIDTH "100%"
     34 !define PROFILE_CLEANUP_LABEL_HEIGHT "80u"
     35 !define PROFILE_CLEANUP_LABEL_ALIGN "center"
     36 !define PROFILE_CLEANUP_CHECKBOX_LEFT "center"
     37 !define PROFILE_CLEANUP_CHECKBOX_WIDTH "100%"
     38 !define PROFILE_CLEANUP_BUTTON_LEFT "center"
     39 !define INSTALL_BLURB_TOP "137u"
     40 !define INSTALL_BLURB_WIDTH "60u"
     41 !define INSTALL_FOOTER_TOP "-48u"
     42 !define INSTALL_FOOTER_WIDTH "250u"
     43 !define INSTALL_INSTALLING_TOP "70u"
     44 !define INSTALL_INSTALLING_LEFT "0"
     45 !define INSTALL_INSTALLING_WIDTH "100%"
     46 !define INSTALL_PROGRESS_BAR_TOP "112u"
     47 !define INSTALL_PROGRESS_BAR_LEFT "20%"
     48 !define INSTALL_PROGRESS_BAR_WIDTH "60%"
     49 !define INSTALL_PROGRESS_BAR_HEIGHT "12u"
     50 
     51 !define PROFILE_CLEANUP_CHECKBOX_TOP_MARGIN "20u"
     52 !define PROFILE_CLEANUP_BUTTON_TOP_MARGIN "20u"
     53 !define PROFILE_CLEANUP_BUTTON_X_PADDING "40u"
     54 !define PROFILE_CLEANUP_BUTTON_Y_PADDING "4u"
     55 
     56 # Font settings that can be customized for each channel
     57 !define INSTALL_HEADER_FONT_SIZE 28
     58 !define INSTALL_HEADER_FONT_WEIGHT 400
     59 !define INSTALL_INSTALLING_FONT_SIZE 28
     60 !define INSTALL_INSTALLING_FONT_WEIGHT 400
     61 
     62 # UI Colors that can be customized for each channel
     63 !define COMMON_TEXT_COLOR 0xFFFFFF
     64 !define COMMON_BACKGROUND_COLOR 0x000000
     65 !define INSTALL_INSTALLING_TEXT_COLOR 0xFFFFFF
     66 
     67 # Enable DeveloperEdition-specific behavior
     68 !define DEV_EDITION