From cf7f1dafc614722e40f46401399521c3ab67ce3f Mon Sep 17 00:00:00 2001 From: ParticleG Date: Sat, 4 Jan 2025 12:26:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20CI=20=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=B8=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=9A=84=20Web=20=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/build/web/dev/index.html | 112 --------------------------- .github/build/web/release/index.html | 112 --------------------------- .github/workflows/main.yml | 12 ++- 3 files changed, 9 insertions(+), 227 deletions(-) delete mode 100644 .github/build/web/dev/index.html delete mode 100644 .github/build/web/release/index.html diff --git a/.github/build/web/dev/index.html b/.github/build/web/dev/index.html deleted file mode 100644 index bf2cf5777..000000000 --- a/.github/build/web/dev/index.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - Techmino Development - - - - - - -
-
-

Techmino

- - -
-
- - - - - - - diff --git a/.github/build/web/release/index.html b/.github/build/web/release/index.html deleted file mode 100644 index d7f4f0b12..000000000 --- a/.github/build/web/release/index.html +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - Techmino - - - - - - -
-
-

Techmino

- - -
-
- - - - - - - diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4d540e86..89af07d5d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -338,11 +338,17 @@ jobs: run: | mv ${{ env.BUILD_ASSETS_FOLDER }}/web/${{ env.BUILD_TYPE }}/* ${{ env.OUTPUT_FOLDER }} - name: Initialize Love.js Api Player + env: + LOVEJS_API_PLAYER_BASE_URL: https://raw.githubusercontent.com/MrcSnm/Love.js-Api-Player/refs/heads/master run: | pushd ${{ env.OUTPUT_FOLDER }} - wget https://raw.githubusercontent.com/MrcSnm/Love.js-Api-Player/refs/heads/master/consolewrapper.js - wget https://raw.githubusercontent.com/MrcSnm/Love.js-Api-Player/refs/heads/master/globalizeFS.js - wget https://raw.githubusercontent.com/MrcSnm/Love.js-Api-Player/refs/heads/master/webdb.js + sed -i 's|| \n |' index.html + sed -i 's|| \n |' index.html + sed -i 's|| \n |' index.html + sed -i 's|32, 37, 38, 39, 40|37, 38, 39, 40|' index.html + wget ${{ env.LOVEJS_API_PLAYER_BASE_URL }}/consolewrapper.js + wget ${{ env.LOVEJS_API_PLAYER_BASE_URL }}/globalizeFS.js + wget ${{ env.LOVEJS_API_PLAYER_BASE_URL }}/webdb.js node globalizeFS.js rm globalizeFS.js popd