From 5589404ddfe98efa6cc5b0cfa8f6e0fe3ce517ac Mon Sep 17 00:00:00 2001 From: RyoLee <516127941@qq.com> Date: Mon, 28 Feb 2022 23:28:33 +0800 Subject: [PATCH] add: autoupdate --- Gevjon-Core/App.config | 3 ++ Gevjon-Core/Gevjon.csproj | 4 ++- Gevjon-Core/mainwindow.xaml | 6 ++-- Gevjon-Core/mainwindow.xaml.cs | 55 +++++++++++++++++++++++++++++++++- README.md | 3 +- 5 files changed, 64 insertions(+), 7 deletions(-) diff --git a/Gevjon-Core/App.config b/Gevjon-Core/App.config index 93c5399..141fc08 100644 --- a/Gevjon-Core/App.config +++ b/Gevjon-Core/App.config @@ -1,6 +1,7 @@  + @@ -10,6 +11,8 @@ + + diff --git a/Gevjon-Core/Gevjon.csproj b/Gevjon-Core/Gevjon.csproj index 34d74a0..94a52f7 100644 --- a/Gevjon-Core/Gevjon.csproj +++ b/Gevjon-Core/Gevjon.csproj @@ -195,6 +195,8 @@ - xcopy "$(SolutionDir)DB\data.json" "$(TargetDir)" /S /Y + xcopy "$(SolutionDir)DB\data.json" "$(TargetDir)" /Y +xcopy "$(SolutionDir)README.md" "$(TargetDir)" /Y +xcopy "$(SolutionDir)version.txt" "$(TargetDir)" /Y \ No newline at end of file diff --git a/Gevjon-Core/mainwindow.xaml b/Gevjon-Core/mainwindow.xaml index c7e8e6f..ed1cebd 100644 --- a/Gevjon-Core/mainwindow.xaml +++ b/Gevjon-Core/mainwindow.xaml @@ -52,15 +52,15 @@ - +