From 7c3ff63c31df9f1d0f08d0238ee73c1d12505fe1 Mon Sep 17 00:00:00 2001 From: Bert van der Weerd Date: Fri, 14 Jan 2022 10:59:27 +0100 Subject: [PATCH] bugfixes --- assets/mozconfig.windows | 3 +-- mk.py | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/assets/mozconfig.windows b/assets/mozconfig.windows index 8e0ccc6..1abe6c7 100644 --- a/assets/mozconfig.windows +++ b/assets/mozconfig.windows @@ -11,9 +11,8 @@ ac_add_options --enable-optimize ac_add_options --enable-release ac_add_options --enable-rust-simd -#ac_add_options --with-app-name=librewolf +ac_add_options --with-app-name=librewolf ac_add_options --with-branding=browser/branding/librewolf -#ac_add_options --with-distribution-id=io.gitlab.librewolf-community ac_add_options --with-unsigned-addon-scopes=app,system diff --git a/mk.py b/mk.py index 6eec0ed..0c4a95d 100755 --- a/mk.py +++ b/mk.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -import os,sys,subprocess +import os,sys,subprocess,os.path # native()/bash()/exec() utility functions def native(cmd,do_print=True): @@ -27,7 +27,7 @@ def bash(cmd,do_print=True): def exec(cmd,do_print=True): _native = False - if not os.path.isFile('c:/mozilla-build/msys/bin/bash.exe'): + if not os.path.isfile('c:/mozilla-build/msys/bin/bash.exe'): _native = True if _native: return native(cmd,do_print)