Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
v1.2.9
Browse files Browse the repository at this point in the history
- 更新更纱黑体:```v1.0.5``` => ```v1.0.6```
  • Loading branch information
Cccc-owo committed Mar 16, 2024
1 parent f15e20e commit 3ef38c5
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
|/|版本|
|-|-|
|[CJK Font Magisk Module Template](https://github.com/lxgw/advanced-cjk-font-magisk-module-template)|v3.3.220605|
|[Sarasa-Gothic](https://github.com/be5invis/Sarasa-Gothic)|v1.0.5|
|[Sarasa-Gothic](https://github.com/be5invis/Sarasa-Gothic)|v1.0.6|
|[7-zip](https://7-zip.org/)|v23.01|
|[wget](https://eternallybored.org/misc/wget/)|v1.21.4|
8 changes: 6 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@

---

## v1.2.8
## v1.2.9

- 更新更纱黑体:```v1.0.4``` => ```v1.0.5```
- 更新更纱黑体:```v1.0.5``` => ```v1.0.6```

---

<details><summary>历史更新日志</summary>

## v1.2.8

- 更新更纱黑体:```v1.0.4``` => ```v1.0.5```

## v1.2.7

- 更新更纱黑体:```v1.0.3``` => ```v1.0.4```
Expand Down
36 changes: 18 additions & 18 deletions main.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@ECHO OFF
set font_zip=https://github.com/be5invis/Sarasa-Gothic/releases/download/v1.0.5/Sarasa-TTF-Unhinted-1.0.5.7z
set font_zip=https://github.com/be5invis/Sarasa-Gothic/releases/download/v1.0.6b/SarasaGothicSC-TTF-1.0.6.zip
set template_zip=https://github.com/lxgw/advanced-cjk-font-magisk-module-template/releases/download/v3.3.220605/FontTemplateA-Magisk204.zip
::checking
ECHO Time:%date%
Expand All @@ -11,29 +11,29 @@ if exist fonts\ del /F /S /Q fonts\ & rmdir /S /Q fonts\
ECHO.
wget.exe -O "font.7z" %font_zip%
wget.exe -O "Template.zip" %template_zip%
7z.exe x font.7z SarasaUiSC-*.ttf -r -o.\fonts
7z.exe x font.7z SarasaGothicSC-*.ttf -r -o.\fonts
7z.exe x Template.zip -r -o.\output
xcopy fonts\SarasaUiSC-*.ttf output\system\fonts /E /Q /C /Y
xcopy fonts\SarasaGothicSC-*.ttf output\system\fonts /E /Q /C /Y

ren output\system\fonts\SarasaUiSC-ExtraLight.ttf fontchw2.ttf
ren output\system\fonts\SarasaUiSC-Light.ttf fontchw3.ttf
ren output\system\fonts\SarasaUiSC-Regular.ttf fontchw4.ttf
ren output\system\fonts\SarasaGothicSC-ExtraLight.ttf fontchw2.ttf
ren output\system\fonts\SarasaGothicSC-Light.ttf fontchw3.ttf
ren output\system\fonts\SarasaGothicSC-Regular.ttf fontchw4.ttf
copy output\system\fonts\fontchw4.ttf /Y output\system\fonts\fontchw5.ttf
ren output\system\fonts\SarasaUiSC-SemiBold.ttf fontchw6.ttf
ren output\system\fonts\SarasaUiSC-Bold.ttf fontchw7.ttf
ren output\system\fonts\SarasaGothicSC-SemiBold.ttf fontchw6.ttf
ren output\system\fonts\SarasaGothicSC-Bold.ttf fontchw7.ttf

del /F /S /Q output\system\fonts\SarasaUiSC-ExtraLightItalic.ttf
del /F /S /Q output\system\fonts\SarasaUiSC-LightItalic.ttf
del /F /S /Q output\system\fonts\SarasaUiSC-Italic.ttf
del /F /S /Q output\system\fonts\SarasaUiSC-SemiBoldItalic.ttf
del /F /S /Q output\system\fonts\SarasaUiSC-BoldItalic.ttf
del /F /S /Q output\system\fonts\SarasaGothicSC-ExtraLightItalic.ttf
del /F /S /Q output\system\fonts\SarasaGothicSC-LightItalic.ttf
del /F /S /Q output\system\fonts\SarasaGothicSC-Italic.ttf
del /F /S /Q output\system\fonts\SarasaGothicSC-SemiBoldItalic.ttf
del /F /S /Q output\system\fonts\SarasaGothicSC-BoldItalic.ttf

::ren output\system\fonts\SarasaUiSC-ExtraLightItalic.ttf fontei2.ttf
::ren output\system\fonts\SarasaUiSC-LightItalic.ttf fontei3.ttf
::ren output\system\fonts\SarasaUiSC-Italic.ttf fontei4.ttf
::ren output\system\fonts\SarasaGothicSC-ExtraLightItalic.ttf fontei2.ttf
::ren output\system\fonts\SarasaGothicSC-LightItalic.ttf fontei3.ttf
::ren output\system\fonts\SarasaGothicSC-Italic.ttf fontei4.ttf
::copy output\system\fonts\fontei4.ttf /Y output\system\fonts\fontei5.ttf
::ren output\system\fonts\SarasaUiSC-SemiBoldItalic.ttf fontei6.ttf
::ren output\system\fonts\SarasaUiSC-BoldItalic.ttf fontei7.ttf
::ren output\system\fonts\SarasaGothicSC-SemiBoldItalic.ttf fontei6.ttf
::ren output\system\fonts\SarasaGothicSC-BoldItalic.ttf fontei7.ttf

del /F /S /Q output\module.prop
xcopy module.prop output\
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# id 只能填 字母 数字 半角符号
id=sarasa-gothic-font
name=更纱黑体 Magisk 字体模块
version=1.2.8
versionCode=38
version=1.2.9
versionCode=39
author=Cccc_ & lxgw & be5invis
description=一个将系统字体替换为更纱黑体的 Magisk 模块
updateJson=https://github.com/Cccc-owo/Sarasa-Gothic-Magisk-Module/raw/main/update.json
6 changes: 3 additions & 3 deletions update.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "v1.2.8",
"versionCode": 38,
"zipUrl": "https://github.com/Cccc-owo/Sarasa-Gothic-Magisk-Module/releases/download/v1.2.8/Sarasa-Gothic-Font-Magisk-Module.zip",
"version": "v1.2.9",
"versionCode": 39,
"zipUrl": "https://github.com/Cccc-owo/Sarasa-Gothic-Magisk-Module/releases/download/v1.2.9/Sarasa-Gothic-Font-Magisk-Module.zip",
"changelog": "https://github.com/Cccc-owo/Sarasa-Gothic-Magisk-Module/raw/main/changelog.md"
}

0 comments on commit 3ef38c5

Please sign in to comment.