mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-07 17:05:33 +02:00
✨ Command to retreive the firefox version
This commit is contained in:
parent
c3667b279d
commit
c1b3ae80f9
2 changed files with 11 additions and 0 deletions
|
@ -17,6 +17,7 @@ import {
|
|||
status,
|
||||
test,
|
||||
} from './commands'
|
||||
import { getFFVersion } from './commands/ff-version'
|
||||
import { applyPatches } from './commands/patches'
|
||||
import { Cmd } from './types'
|
||||
|
||||
|
@ -97,6 +98,11 @@ export const commands: Cmd[] = [
|
|||
description: 'Initialise the Firefox directory.',
|
||||
controller: init,
|
||||
},
|
||||
{
|
||||
cmd: 'ff-version',
|
||||
description: 'Retrieves the version of firefox to build against',
|
||||
controller: getFFVersion,
|
||||
},
|
||||
{
|
||||
cmd: 'license-check',
|
||||
aliases: ['lc'],
|
||||
|
|
5
src/commands/ff-version.ts
Normal file
5
src/commands/ff-version.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { config } from '..'
|
||||
|
||||
export const getFFVersion = (): void => {
|
||||
console.log(config.version.version)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue