diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 572269a..c188c2a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: run: ./main.bat - name: Upload generated files - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: font-artifact path: | @@ -34,7 +34,7 @@ jobs: runs-on: windows-latest if: startsWith(github.ref, 'refs/tags/') != true steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: font-artifact @@ -56,13 +56,58 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: font-artifact - name: Release Action - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | *.zip body_path: CHANGELOG.md + + publish: + runs-on: windows-2019 + needs: build + if: startsWith(github.ref, 'refs/tags/') + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - uses: actions/download-artifact@v4 + with: + name: font-artifact + + - name: Unzip mod + run: | + mkdir output + 7z.exe x *.zip -ooutput + shell: cmd + + - name: Get steamcmd + run: | + dir + curl https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip --output steamcmd.zip + 7z.exe e steamcmd.zip -osteamcmd + dir + shell: cmd + + - name: Checkout steamcmd config + uses: actions/checkout@v4 + with: + repository: Cccc-owo/steamcmd + token: ${{ secrets.STEAMCMD_TOKEN }} + path: steamcmd/config + + - name: Upload Steam workshop + run: | + cd steamcmd + dir + steamcmd.exe -dev -textmode -ignoredxsupportcfg +login %STEAM_LOGIN_NAME% +workshop_build_item ..\resources\GongWenKaiTi.vdf +workshop_build_item ..\resources\GuDianMingChaoTi.vdf +workshop_build_item ..\resources\KangXiZiDianTi.vdf +workshop_build_item ..\resources\LiShu.vdf +workshop_build_item ..\resources\Source-Han-Serif.vdf +quit + env: + STEAM_LOGIN_NAME: ${{ secrets.STEAM_LOGIN_NAME }} + STEAM_LOGIN_PASSWORD: ${{ secrets.STEAM_LOGIN_PASSWORD }} + shell: cmd + continue-on-error: true \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f92164..21227bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ |Mod name|备注| |----|----| |Chinese Language Mod|52汉化| -|Chinese Language Mod for 1.36|52汉化补充包| +|Chinese Language Mod for 1.37|52汉化补充包| |延长时间线汉化 - Extended Timeline Chinese|| |Bimillennium_Universalis_9.0|(左版)风云世纪两千年| |战争前夜汉化|| @@ -24,18 +24,23 @@ |MnT3.0 简中汉化子MOD「筑紫圆体」|| |帝国风云3.11 帝国的成长 基础汉化版|| |1.36 Celestial empire on which the sun never sets|东亚·天朝日不落| +|1.37 Celestial empire on which the sun never sets|东亚·天朝日不落| |伏尔泰的噩梦Ⅱ汉化整合|| |Third Odyssey: Back to the Motherland CN|第三奥德赛汉化| |萬方景明|| |天行有常demo|| -## v2.2 20240430 +## v2.3 20240525 -- 补充更多字符 -- 为字体图加入适当的透明度 +- 适配 v1.37
历史更新日志 - 更新字体 +## v2.2 20240430 + +- 补充更多字符 +- 为字体图加入适当的透明度 +
diff --git a/mod_descriptor/font-GongWenKaiTi.mod b/mod_descriptor/font-GongWenKaiTi.mod index 0621000..97ed0dd 100644 --- a/mod_descriptor/font-GongWenKaiTi.mod +++ b/mod_descriptor/font-GongWenKaiTi.mod @@ -1,11 +1,11 @@ -version="2.2" +version="2.3" tags={ "Map" } name="中文地图字体-方正公文楷体" dependencies={ "Chinese Language Mod" - "Chinese Language Mod for 1.36" + "Chinese Language Mod for 1.37" "延长时间线汉化 - Extended Timeline Chinese" "Bimillennium_Universalis_9.0" "战争前夜汉化" @@ -14,6 +14,7 @@ dependencies={ "MnT3.0 简中汉化子MOD「筑紫圆体」" "帝国风云3.11 帝国的成长 基础汉化版" "1.36 Celestial empire on which the sun never sets" + "1.37 Celestial empire on which the sun never sets" "伏尔泰的噩梦Ⅱ汉化整合" "Third Odyssey: Back to the Motherland CN" "萬方景明" diff --git a/mod_descriptor/font-GuDianMingChaoTi.mod b/mod_descriptor/font-GuDianMingChaoTi.mod index c6458e3..2e606a5 100644 --- a/mod_descriptor/font-GuDianMingChaoTi.mod +++ b/mod_descriptor/font-GuDianMingChaoTi.mod @@ -1,11 +1,11 @@ -version="2.2" +version="2.3" tags={ "Map" } name="中文地图字体-古典明朝体" dependencies={ "Chinese Language Mod" - "Chinese Language Mod for 1.36" + "Chinese Language Mod for 1.37" "延长时间线汉化 - Extended Timeline Chinese" "Bimillennium_Universalis_9.0" "战争前夜汉化" @@ -14,6 +14,7 @@ dependencies={ "MnT3.0 简中汉化子MOD「筑紫圆体」" "帝国风云3.11 帝国的成长 基础汉化版" "1.36 Celestial empire on which the sun never sets" + "1.37 Celestial empire on which the sun never sets" "伏尔泰的噩梦Ⅱ汉化整合" "Third Odyssey: Back to the Motherland CN" "萬方景明" diff --git a/mod_descriptor/font-KangXiZiDianTi.mod b/mod_descriptor/font-KangXiZiDianTi.mod index 00be638..1ab6c91 100644 --- a/mod_descriptor/font-KangXiZiDianTi.mod +++ b/mod_descriptor/font-KangXiZiDianTi.mod @@ -1,11 +1,11 @@ -version="2.2" +version="2.3" tags={ "Map" } name="中文地图字体-康熙字典体" dependencies={ "Chinese Language Mod" - "Chinese Language Mod for 1.36" + "Chinese Language Mod for 1.37" "延长时间线汉化 - Extended Timeline Chinese" "Bimillennium_Universalis_9.0" "战争前夜汉化" @@ -14,6 +14,7 @@ dependencies={ "MnT3.0 简中汉化子MOD「筑紫圆体」" "帝国风云3.11 帝国的成长 基础汉化版" "1.36 Celestial empire on which the sun never sets" + "1.37 Celestial empire on which the sun never sets" "伏尔泰的噩梦Ⅱ汉化整合" "Third Odyssey: Back to the Motherland CN" "萬方景明" diff --git a/mod_descriptor/font-LiShu.mod b/mod_descriptor/font-LiShu.mod index 94c041e..70aaedc 100644 --- a/mod_descriptor/font-LiShu.mod +++ b/mod_descriptor/font-LiShu.mod @@ -1,11 +1,11 @@ -version="2.2" +version="2.3" tags={ "Map" } name="中文地图字体-隶书" dependencies={ "Chinese Language Mod" - "Chinese Language Mod for 1.36" + "Chinese Language Mod for 1.37" "延长时间线汉化 - Extended Timeline Chinese" "Bimillennium_Universalis_9.0" "战争前夜汉化" @@ -14,6 +14,7 @@ dependencies={ "MnT3.0 简中汉化子MOD「筑紫圆体」" "帝国风云3.11 帝国的成长 基础汉化版" "1.36 Celestial empire on which the sun never sets" + "1.37 Celestial empire on which the sun never sets" "伏尔泰的噩梦Ⅱ汉化整合" "Third Odyssey: Back to the Motherland CN" "萬方景明" diff --git a/mod_descriptor/font-Source-Han-Serif.mod b/mod_descriptor/font-Source-Han-Serif.mod index abc8077..890db7d 100644 --- a/mod_descriptor/font-Source-Han-Serif.mod +++ b/mod_descriptor/font-Source-Han-Serif.mod @@ -1,11 +1,11 @@ -version="2.2" +version="2.3" tags={ "Map" } name="中文地图字体-思源宋体" dependencies={ "Chinese Language Mod" - "Chinese Language Mod for 1.36" + "Chinese Language Mod for 1.37" "延长时间线汉化 - Extended Timeline Chinese" "Bimillennium_Universalis_9.0" "战争前夜汉化" @@ -14,6 +14,7 @@ dependencies={ "MnT3.0 简中汉化子MOD「筑紫圆体」" "帝国风云3.11 帝国的成长 基础汉化版" "1.36 Celestial empire on which the sun never sets" + "1.37 Celestial empire on which the sun never sets" "伏尔泰的噩梦Ⅱ汉化整合" "Third Odyssey: Back to the Motherland CN" "萬方景明" diff --git a/resources/GongWenKaiTi.vdf b/resources/GongWenKaiTi.vdf new file mode 100644 index 0000000..c669248 --- /dev/null +++ b/resources/GongWenKaiTi.vdf @@ -0,0 +1,9 @@ +"workshopitem" +{ + "appid" "236850" + "publishedfileid" "2922818916" + "contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-GongWenKaiTi" + "previewfile" "D:\a\EU4-Font\EU4-Font\output\font-GongWenKaiTi\thumbnail.png" + "visibility" "0" + "changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details." +} \ No newline at end of file diff --git a/resources/GuDianMingChaoTi.vdf b/resources/GuDianMingChaoTi.vdf new file mode 100644 index 0000000..b2e8d5d --- /dev/null +++ b/resources/GuDianMingChaoTi.vdf @@ -0,0 +1,9 @@ +"workshopitem" +{ + "appid" "236850" + "publishedfileid" "2922815739" + "contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-GuDianMingChaoTi" + "previewfile" "D:\a\EU4-Font\EU4-Font\output\font-GuDianMingChaoTi\thumbnail.png" + "visibility" "0" + "changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details." +} \ No newline at end of file diff --git a/resources/KangXiZiDianTi.vdf b/resources/KangXiZiDianTi.vdf new file mode 100644 index 0000000..86b1bb2 --- /dev/null +++ b/resources/KangXiZiDianTi.vdf @@ -0,0 +1,9 @@ +"workshopitem" +{ + "appid" "236850" + "publishedfileid" "2948571848" + "contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-KangXiZiDianTi" + "previewfile" "D:\a\EU4-Font\EU4-Font\output\font-KangXiZiDianTi\thumbnail.png" + "visibility" "0" + "changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details." +} \ No newline at end of file diff --git a/resources/LiShu.vdf b/resources/LiShu.vdf new file mode 100644 index 0000000..9f584d5 --- /dev/null +++ b/resources/LiShu.vdf @@ -0,0 +1,9 @@ +"workshopitem" +{ + "appid" "236850" + "publishedfileid" "3172194779" + "contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-LiShu" + "previewfile" "D:\a\EU4-Font\EU4-Font\output\font-LiShu\thumbnail.png" + "visibility" "0" + "changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details." +} \ No newline at end of file diff --git a/resources/Source-Han-Serif.vdf b/resources/Source-Han-Serif.vdf new file mode 100644 index 0000000..c82f47d --- /dev/null +++ b/resources/Source-Han-Serif.vdf @@ -0,0 +1,9 @@ +"workshopitem" +{ + "appid" "236850" + "publishedfileid" "2963048051" + "contentfolder" "D:\a\EU4-Font\EU4-Font\output\font-Source-Han-Serif" + "previewfile" "D:\a\EU4-Font\EU4-Font\output\font-Source-Han-Serif\thumbnail.png" + "visibility" "0" + "changenote" "New version was released. Check [url=https://github.com/Cccc-owo/EU4-Font]GitHub[/url] for details." +} \ No newline at end of file