diff --git a/package.json b/package.json index 160fc76..d3d9a2e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zen-browser/surfer", - "version": "1.2.18", + "version": "1.3.0", "description": "Simplifying building firefox forks!", "main": "index.js", "bin": { diff --git a/src/commands/package.ts b/src/commands/package.ts index 036d049..1f1f45f 100644 --- a/src/commands/package.ts +++ b/src/commands/package.ts @@ -18,6 +18,11 @@ import { generateBrowserUpdateFiles } from './updates/browser' const machPath = resolve(ENGINE_DIR, 'mach') +export const ZEN_LOCALES = [ + "en-US", + "es-ES", +]; + export const surferPackage = async () => { const brandingKey = dynamicConfig.get('brand') as string const brandingDetails = config.brands[brandingKey] @@ -47,6 +52,10 @@ export const surferPackage = async () => { 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.debug("Creating the dist directory if it doesn't exist")