mirror of
https://github.com/zen-browser/surfer.git
synced 2025-07-08 01:10:03 +02:00
chore: Update package.json version to 1.1.1 and optimize Windows platform flags
This commit is contained in:
parent
0be65d2f63
commit
9819e0e84d
3 changed files with 11 additions and 9 deletions
|
@ -43,25 +43,21 @@ export const init = async (directory: Command | string): Promise<void> => {
|
|||
await configDispatch('git', {
|
||||
args: ['init'],
|
||||
cwd: absoluteInitDirectory,
|
||||
shell: 'unix',
|
||||
})
|
||||
|
||||
await configDispatch('git', {
|
||||
args: ['init'],
|
||||
cwd: absoluteInitDirectory,
|
||||
shell: 'unix',
|
||||
})
|
||||
|
||||
await configDispatch('git', {
|
||||
args: ['checkout', '--orphan', version],
|
||||
cwd: absoluteInitDirectory,
|
||||
shell: 'unix',
|
||||
})
|
||||
|
||||
await configDispatch('git', {
|
||||
args: ['add', '-f', '.'],
|
||||
cwd: absoluteInitDirectory,
|
||||
shell: 'unix',
|
||||
})
|
||||
|
||||
log.info('Committing...')
|
||||
|
@ -69,12 +65,10 @@ export const init = async (directory: Command | string): Promise<void> => {
|
|||
await configDispatch('git', {
|
||||
args: ['commit', '-aqm', `"Firefox ${version}"`],
|
||||
cwd: absoluteInitDirectory,
|
||||
shell: 'unix',
|
||||
})
|
||||
|
||||
await configDispatch('git', {
|
||||
args: ['checkout', '-b', config.name.toLowerCase().replace(/\s/g, '_')],
|
||||
cwd: absoluteInitDirectory,
|
||||
shell: 'unix',
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue