🔥 Remove html ui mode

You should use a gecko template like ajvincent/motherhen instead
This commit is contained in:
trickypr 2022-07-14 11:45:05 +10:00
parent a9eb87ab65
commit ff7157bd1f
10 changed files with 13 additions and 93 deletions

View file

@ -115,16 +115,16 @@ export async function setupProject(): Promise<void> {
choices: [
{
title: 'None',
description:
'No files for the ui will be created, we will let you find that out on your own',
value: 'none',
},
{
title: 'User Chrome (custom browser css, simplest)',
title: 'UserChrome',
value: 'uc',
},
{
title: 'Custom html',
value: 'html',
},
// TODO: We also need to add extension based theming like the version
// used in Pulse Browser
],
},
])
@ -142,13 +142,7 @@ export async function setupProject(): Promise<void> {
await copyRequired()
if (ui === 'html') {
await copyOptional([
'customui',
'toolkit-mozbuild.patch',
'confvars-sh.patch',
])
} else if (ui === 'uc') {
if (ui === 'uc') {
await copyOptional(['browser/themes'])
}