./mach package on macOS now produces a valid librewolf .dmg
This commit is contained in:
parent
90f2c3d0ca
commit
816367b235
1 changed files with 8 additions and 3 deletions
11
build.py
11
build.py
|
|
@ -228,6 +228,8 @@ def create_mozconfig(contents):
|
|||
if not options.no_execute:
|
||||
f = open('mozconfig', 'w')
|
||||
f.write(contents)
|
||||
if not options.distro == 'win':
|
||||
f.write("\nac_add_options --with-app-name=librewolf")
|
||||
f.close()
|
||||
|
||||
def execute_lw_do_patches():
|
||||
|
|
@ -349,9 +351,12 @@ def execute_lw_artifacts():
|
|||
ospkg = "rpm"
|
||||
dirname = "{}/dist/firefox".format(get_objdir())
|
||||
elif options.distro == 'osx':
|
||||
exe = ""
|
||||
ospkg = "osx"
|
||||
dirname = "{}/dist/firefox".format(get_objdir())
|
||||
#exe = ""
|
||||
#ospkg = "osx"
|
||||
#dirname = "{}/dist/firefox".format(get_objdir())
|
||||
exec("cp {}/dist/librewolf*.dmg ..".format(get_objdir()))
|
||||
leave_srcdir()
|
||||
return
|
||||
|
||||
exec("rm -rf ../firefox ../librewolf")
|
||||
exec("cp -rv {} ..".format(dirname))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue