mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-10 10:15:31 +02:00
🐛 Ask user for binary name as part of the setup process
This commit is contained in:
parent
14912e1f4b
commit
075fa66e9a
2 changed files with 14 additions and 1 deletions
|
@ -82,7 +82,7 @@ export async function setupProject(): Promise<void> {
|
|||
|
||||
const productVersion = await getLatestFF(product)
|
||||
|
||||
const { version, name, appId, vendor, ui } = await prompts([
|
||||
const { version, name, appId, vendor, ui, binaryName } = await prompts([
|
||||
{
|
||||
type: 'text',
|
||||
name: 'version',
|
||||
|
@ -95,6 +95,12 @@ export async function setupProject(): Promise<void> {
|
|||
message: 'Enter a product name',
|
||||
initial: 'Example browser',
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
name: 'binaryName',
|
||||
message: 'Enter the name of the binary',
|
||||
initial: 'example-browser',
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
name: 'vendor',
|
||||
|
@ -134,6 +140,7 @@ export async function setupProject(): Promise<void> {
|
|||
name,
|
||||
vendor,
|
||||
appId,
|
||||
binaryName,
|
||||
version: { product, version },
|
||||
buildOptions: {
|
||||
generateBranding: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue