From beb40688ceaa3691e6f34aedba23650f5d0bb691 Mon Sep 17 00:00:00 2001 From: zyj Date: Wed, 11 Mar 2026 10:18:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=90=AF=E5=8A=A8=E6=97=B6=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=20Git=20=E5=AE=89=E8=A3=85=E7=8A=B6=E6=80=81=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=87=AA=E5=8A=A8=E4=B8=8B=E8=BD=BD=E5=AE=89?= =?UTF-8?q?=E8=A3=85\n\n-=20=E5=90=AF=E5=8A=A8=E6=97=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=20Git=20=E6=98=AF=E5=90=A6=E5=B7=B2=E5=AE=89?= =?UTF-8?q?=E8=A3=85\n-=20=E6=9C=AA=E5=AE=89=E8=A3=85=E6=97=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=85=A8=E5=B1=8F=E6=8F=90=E7=A4=BA=E7=95=8C=E9=9D=A2?= =?UTF-8?q?\n-=20=E6=94=AF=E6=8C=81=E7=94=A8=E6=88=B7=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=B7=AF=E5=BE=84\n-=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E4=BB=8E=20GitHub=20=E4=B8=8B=E8=BD=BD=20Git=20for=20Windows?= =?UTF-8?q?=20=E5=B9=B6=E9=9D=99=E9=BB=98=E5=AE=89=E8=A3=85\n-=20=E5=AE=9E?= =?UTF-8?q?=E6=97=B6=E6=98=BE=E7=A4=BA=E4=B8=8B=E8=BD=BD=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E5=92=8C=E5=AE=89=E8=A3=85=E7=8A=B6=E6=80=81\n-=20=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=AE=8C=E6=88=90=E5=90=8E=E8=87=AA=E5=8A=A8=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E5=88=9D=E5=A7=8B=E5=8C=96=20Git=20=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/app/components/GitCheck.vue | 376 ++++++++++++++++++ frontend/app/pages/index.vue | 11 +- .../GitPilot/internal/app/appservice.js | 117 ++++-- .../zhuy1228/GitPilot/internal/app/index.js | 1 + .../zhuy1228/GitPilot/internal/app/models.js | 45 +++ internal/app/gitsetup.go | 241 +++++++++++ internal/app/hidewindow_other.go | 8 + internal/app/hidewindow_windows.go | 14 + 8 files changed, 768 insertions(+), 45 deletions(-) create mode 100644 frontend/app/components/GitCheck.vue create mode 100644 internal/app/gitsetup.go create mode 100644 internal/app/hidewindow_other.go create mode 100644 internal/app/hidewindow_windows.go diff --git a/frontend/app/components/GitCheck.vue b/frontend/app/components/GitCheck.vue new file mode 100644 index 0000000..0724629 --- /dev/null +++ b/frontend/app/components/GitCheck.vue @@ -0,0 +1,376 @@ + + + + + diff --git a/frontend/app/pages/index.vue b/frontend/app/pages/index.vue index 36ad54d..f21244f 100644 --- a/frontend/app/pages/index.vue +++ b/frontend/app/pages/index.vue @@ -2,6 +2,11 @@ import { ref, onBeforeUnmount } from 'vue' const selectedProject = ref(null) +const gitReady = ref(false) + +function onGitReady() { + gitReady.value = true +} function onSelectProject(project) { selectedProject.value = project @@ -43,7 +48,11 @@ onBeforeUnmount(() => {