Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
38 lines (32 sloc) 1.58 KB
# Firefox Nightly file
# Licensed under the Apache License, Version 2.0
meta title="Firefox Nightly"
meta namespace="mozilla"
meta name="firefox-nightly"
using python:3.4.1,wget,7-zip
workdir c:\
batch cmd
mkdir c:\Workspace & cd c:\Workspace
wget --no-check-certificate --no-verbose
python --url --regex firefox.* > download_url.txt
set /p DOWNLOAD_URL=<download_url.txt
wget -O --no-check-certificate --no-verbose "%DOWNLOAD_URL%"
7z x -y >nul
mkdir c:\FirefoxNightly
robocopy firefox c:\FirefoxNightly *.* /e /move >nul
cd c:\FirefoxNightly
wget --no-check-certificate --no-verbose -O mozilla.cfg
cd browser
wget --no-check-certificate --no-verbose -O override.ini
mkdir defaults\preferences & cd defaults\preferences
wget --no-check-certificate --no-verbose -O local-settings.js
rmdir c:\Workspace /s /q
rmdir c:\wget /s /q
meta tag=dateiso
meta website="%DOWNLOAD_URL%"
meta version="%DATE%"
startup file ("c:\FirefoxNightly\firefox.exe")