Init script compiles the new tab now

This commit is contained in:
Mauro Balades
2024-04-08 23:03:34 +02:00
parent 4e5844c683
commit ffbaa42e6c
4 changed files with 2195 additions and 2 deletions

View File

@@ -4,8 +4,13 @@ import os
def initialize_avatars():
os.system("cd src/browser/base/content/zen-avatars && python3 fetch-all-avatars.py")
def recompile_new_tab():
os.system("(cd ./engine/browser/components/newtab && ../../../mach npm install && ../../../mach npm install meow@9.0.0)")
os.system("cd ./engine && ./mach npm run bundle --prefix=browser/components/newtab")
def main():
initialize_avatars()
recompile_new_tab()
if __name__ == "__main__":
main()