Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
53 lines (39 sloc) 1.8 KB
# Firefox stanle file
# Licensed under the Apache License, Version 2.0
meta title="Firefox"
meta namespace="mozilla"
meta name="firefox"
using wget,python:3.4.1
cmd pip install requests --quiet
cmd mkdir c:\Workspace
workdir c:\Workspace
batch cmd
echo [Install] > install.ini
echo MaintenanceService=false >> install.ini
cmd wget --no-check-certificate --no-verbose
cmd python --url --regex Firefox\sSetup\s\d.*.exe
var url = last
cmd "echo import re >"
cmd "echo print(re.findall('Firefox Setup (.*).exe','%url%')[0]) >>"
cmd python
var tag = last
cmd "wget -O firefox.exe --no-check-certificate --no-verbose ""%url%"""
cmd "firefox.exe /INI=c:\Workspace\install.ini"
if "%programfiles(x86)%" == "" ( cd "%programfiles%" ) else ( cd "%programfiles(x86)%" )
cd "Mozilla Firefox"
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
workdir c:\
cmd rmdir c:\Workspace /s /q
cmd rmdir c:\wget /s /q
cmd rmdir c:\Python34 /s /q
meta tag=tag
startup file ("@PROGRAMFILESX86@\Mozilla Firefox\firefox.exe")