mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 09:20:01 +02:00
chore: Update package.json version to 1.3.0 and copy language packs
This commit is contained in:
parent
7dbb4b3880
commit
ecc63182dd
2 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@zen-browser/surfer",
|
"name": "@zen-browser/surfer",
|
||||||
"version": "1.2.18",
|
"version": "1.3.0",
|
||||||
"description": "Simplifying building firefox forks!",
|
"description": "Simplifying building firefox forks!",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
@ -18,6 +18,11 @@ import { generateBrowserUpdateFiles } from './updates/browser'
|
||||||
|
|
||||||
const machPath = resolve(ENGINE_DIR, 'mach')
|
const machPath = resolve(ENGINE_DIR, 'mach')
|
||||||
|
|
||||||
|
export const ZEN_LOCALES = [
|
||||||
|
"en-US",
|
||||||
|
"es-ES",
|
||||||
|
];
|
||||||
|
|
||||||
export const surferPackage = async () => {
|
export const surferPackage = async () => {
|
||||||
const brandingKey = dynamicConfig.get('brand') as string
|
const brandingKey = dynamicConfig.get('brand') as string
|
||||||
const brandingDetails = config.brands[brandingKey]
|
const brandingDetails = config.brands[brandingKey]
|
||||||
|
@ -47,6 +52,10 @@ export const surferPackage = async () => {
|
||||||
|
|
||||||
await dispatch(machPath, arguments_, ENGINE_DIR, true)
|
await dispatch(machPath, arguments_, ENGINE_DIR, true)
|
||||||
|
|
||||||
|
log.info("Copying language packs")
|
||||||
|
|
||||||
|
await dispatch(machPath, ['package-multi-locale', '--locales', ...ZEN_LOCALES], ENGINE_DIR, true)
|
||||||
|
|
||||||
log.info('Copying results up')
|
log.info('Copying results up')
|
||||||
|
|
||||||
log.debug("Creating the dist directory if it doesn't exist")
|
log.debug("Creating the dist directory if it doesn't exist")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue