diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2274b55f..b0e2c6d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,13 +103,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Remove old data files - run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} rm -rf ${{ env.FED_MASTER_PATH }}/h2-mod/data/* + run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} rm -rf ${{ env.FED_MASTER_PATH }}/h2-mod/cdata/* - name: Upload h2-mod binary run: rsync -avz h2-mod.exe ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/ - name: Upload data files - run: rsync -avz ./data/ ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/data/ + run: rsync -avz ./data/ ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }}:${{ env.FED_MASTER_PATH }}/h2-mod/cdata/ - name: Publish changes run: ssh ${{ secrets.FED_MASTER_SSH_USER }}@${{ secrets.FED_MASTER_SSH_ADDRESS }} ${{ secrets.FED_MASTER_SSH_CHANGE_PUBLISH_COMMAND }} diff --git a/src/client/component/filesystem.cpp b/src/client/component/filesystem.cpp index 1a4fe877..8a8cdf91 100644 --- a/src/client/component/filesystem.cpp +++ b/src/client/component/filesystem.cpp @@ -37,7 +37,7 @@ namespace filesystem filesystem::register_path(L"."); filesystem::register_path(L"h2-mod"); - filesystem::register_path(L"data"); + filesystem::register_path(L"cdata"); localized_strings::clear();