Skip to content
Snippets Groups Projects
  1. Sep 15, 2023
  2. Sep 12, 2023
  3. Sep 05, 2023
  4. Sep 01, 2023
  5. Jul 23, 2023
  6. Jul 03, 2023
  7. May 28, 2023
  8. Apr 18, 2023
    • Oliver Smith's avatar
      mobile-config-autoconfig: fix 2x restart · 758b9c3a
      Oliver Smith authored
      On first start, only restart Firefox once after the files are
      installed.
      
      [2023-04-18 07:07:05] Running mobile-config-autoconfig.js
      [2023-04-18 07:07:05] Couldn't get Firefox version (expected on first start): TypeError: Services.appinfo.lastAppVersion is null
      [2023-04-18 07:07:05] Firefox version: 0 (previous: unknown)
      [2023-04-18 07:07:05] Creating CSS file from fragments: /home/user/.mozilla/firefox/ah7sid6m.default-release/chrome/userChrome.css
      …
      [2023-04-18 07:07:05] Updating previous Firefox version to: 0
      [2023-04-18 07:07:05] Triggering Firefox restart
      [2023-04-18 07:07:05] Done
      [2023-04-18 07:07:11] Running mobile-config-autoconfig.js
      [2023-04-18 07:07:11] Firefox version: 102 (previous: 0)
      [2023-04-18 07:07:11] Reading fragments from file: /etc/mobile-config-firefox/userChrome.files
      [2023-04-18 07:07:11] Fragment with FF version check included: userChrome/popups.before-ff-108.css
      [2023-04-18 07:07:11] File is up-to-date: /home/user/.mozilla/firefox/ah7sid6m.default-release/chrome/userChrome.css
      [2023-04-18 07:07:11] Reading fragments from file: /etc/mobile-config-firefox/userContent.files
      [2023-04-18 07:07:11] File is up-to-date: /home/user/.mozilla/firefox/ah7sid6m.default-release/chrome/userContent.css
      [2023-04-18 07:07:11] Updating previous Firefox version to: 102
      [2023-04-18 07:07:11] Setting default preferences
      [2023-04-18 07:07:11] Done
    • Oliver Smith's avatar
      mobile-config-autoconfig: tweak css_files_update · c9a1f7af
      Oliver Smith authored
      Refactor the condition code, so it's easier to read.
      c9a1f7af
    • Oliver Smith's avatar
      autoconfig: get_firefox_version: add try…catch · aaa603fa
      Oliver Smith authored
      On first run / after:
      $ rm ~/.mozilla
      
      The function fails with:
      TypeError: Services.appinfo.lastAppVersion is null
      
      Expect the failure so the script doesn't crash.
      Revert "autoconfig: get_firefox_version: remove try…catch", but
      with another error message.
      
      Without this patch an error shows up when starting Firefox with the
      config, until the user manually starts it again.
      
      This reverts commit 2405aabd.
      aaa603fa
  9. Apr 14, 2023
  10. Apr 06, 2023
  11. Apr 03, 2023
Loading