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

@@ -18,7 +18,10 @@
"backgroundColor": "#282A33",
"brandShorterName": "Zen",
"brandShortName": "Zen Browser",
"brandFullName": "Zen Browser"
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.0.0"
}
}
},
"license": {

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()

2182
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -19,5 +19,8 @@
"bugs": {
"url": "https://github.com/zen-browser/core/issues"
},
"homepage": "https://github.com/zen-browser/core#readme"
"homepage": "https://github.com/zen-browser/core#readme",
"dependencies": {
"gluon-build": "^1.0.0-rc.5"
}
}