From 62a3e10218d71197f2b975afe9d584a9a3b512c7 Mon Sep 17 00:00:00 2001 From: amass Date: Thu, 21 Nov 2024 00:09:54 +0800 Subject: [PATCH] deploy res. --- .gitea/workflows/deploy.yaml | 2 +- WebApplication/Dialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 8d98317..833c7b7 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -44,7 +44,7 @@ jobs: password: ${{ secrets.SERVER_ROOT_PASSWORD }} overwrite: true strip_components: 6 - source: /opt/Libraries/wt-4.11.1/share/Wt/resources/** + source: /opt/Libraries/wt-4.11.1/share/Wt/resources/* target: /root/Server/resources - name: Copy app wt resources to server uses: appleboy/scp-action@v0.1.7 diff --git a/WebApplication/Dialog.cpp b/WebApplication/Dialog.cpp index 5017c85..32d7bca 100644 --- a/WebApplication/Dialog.cpp +++ b/WebApplication/Dialog.cpp @@ -41,7 +41,7 @@ void Dialog::messageBox1() { } void Dialog::messageBox2() { - m_messageBox = std::make_unique("Question", "Are you getting comfortable ?", Wt::Icon::Question, + m_messageBox = std::make_unique("Question", "Are you getting comfortable?", Wt::Icon::Question, Wt::StandardButton::Yes | Wt::StandardButton::No | Wt::StandardButton::Cancel);