|
|
@ -20,7 +20,10 @@ if isfile(makepath(programfiles32,'wapt','private','symetric.txt')) and isfile(m |
|
|
|
def install(): |
|
|
|
def install(): |
|
|
|
filecopyto('autoconf.js',makepath(programfiles,'Mozilla Firefox','defaults','pref')) |
|
|
|
filecopyto('autoconf.js',makepath(programfiles,'Mozilla Firefox','defaults','pref')) |
|
|
|
filecopyto('override.ini',makepath(programfiles,'Mozilla Firefox')) |
|
|
|
filecopyto('override.ini',makepath(programfiles,'Mozilla Firefox')) |
|
|
|
jinja2 = Environment(loader=FileSystemLoader(os.path.dirname(os.path.abspath(__file__))),trim_blocks=True) |
|
|
|
jinja2 = Environment( |
|
|
|
|
|
|
|
loader=FileSystemLoader(os.path.dirname(os.path.abspath(__file__))), |
|
|
|
|
|
|
|
trim_blocks=True |
|
|
|
|
|
|
|
) |
|
|
|
open(makepath(programfiles,'Mozilla Firefox','firefox.cfg'),'w').write( |
|
|
|
open(makepath(programfiles,'Mozilla Firefox','firefox.cfg'),'w').write( |
|
|
|
jinja2.get_template('firefox.cfg.j2').render( |
|
|
|
jinja2.get_template('firefox.cfg.j2').render( |
|
|
|
firefox_config_url = variables['firefox_config_url'], |
|
|
|
firefox_config_url = variables['firefox_config_url'], |
|
|
|