将命令移至main.py中

This commit is contained in:
zhbaor 2024-09-23 19:14:57 +08:00
parent d9f1aae27c
commit 32496af392
4 changed files with 19 additions and 10 deletions

View file

@ -14,11 +14,7 @@ watch(branch, () => {
const steps = computed(() => [
{
title: '下载源码',
command: [
'..\\git\\bin\\git fetch',
`..\\git\\bin\\git switch -f ${branch.value}`,
`..\\git\\bin\\git reset --hard origin/${branch.value}`
],
command: ['fetch', `switch_${branch.value}`, `reset_${branch.value}`],
cwd: 'mower-ng'
},
{