Skip to content

Commit f1f5e79

Browse files
committed
enhance font
1 parent dec1a09 commit f1f5e79

File tree

9 files changed

+10
-22
lines changed

9 files changed

+10
-22
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
fuse \
2626
libfuse2 \
2727
file \
28+
unzip \
2829
unionfs-fuse
2930
3031
- name: checkout current repo code
@@ -40,23 +41,16 @@ jobs:
4041
chmod u+x appimage-myapp-appdir-template/usr/bin/winetricks
4142
wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O appimagetool.AppImage
4243
chmod u+x appimagetool.AppImage
43-
mv ./appimage-myapp-appdir-template/backup/unionfs-fuse*.deb .
44+
wget -c "https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSans.ttc.zip"
45+
unzip SourceHanSans.ttc.zip
46+
mv SourceHanSans.ttc appimage-myapp-appdir-template/opt/myapp/myapp_fonts/sourrcehansans.ttc
4447
./appimage-myapp-appdir-template/.remove-appdir-git.sh
4548
46-
#ar xv unionfs-fuse*amd64.deb
47-
#tar Jxvf data.tar.xz
48-
#mv -f usr/bin/unionfs appimage-myapp-appdir-template/usr/bin/
4949
cp "$(command -v unionfs)" appimage-myapp-appdir-template/usr/bin/
5050
ARCH=x86_64 ./appimagetool.AppImage appimage-myapp-appdir-template
5151
52-
#ar x unionfs-fuse*arm64.deb
53-
#tar Jxvf data.tar.xz
54-
#mv -f usr/bin/unionfs appimage-myapp-appdir-template/usr/bin/
5552
#ARCH=aarch64 ./appimagetool.AppImage appimage-myapp-appdir-template
5653
57-
#ar x unionfs-fuse*i386.deb
58-
#tar Jxvf data.tar.xz
59-
#mv -f usr/bin/unionfs appimage-myapp-appdir-template/usr/bin/
6054
#ARCH=i386 ./appimagetool.AppImage appimage-myapp-appdir-template
6155
6256
grep -m 1 MYAPPRUN_VERSION ${GITHUB_WORKSPACE}/appimage-myapp-appdir-template/opt/myapp/myapp_script/main.sh >> "$GITHUB_ENV"

.github/workflows/test.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
fuse \
2626
libfuse2 \
2727
file \
28+
unzip \
2829
unionfs-fuse
2930
3031
- name: checkout current repo code
@@ -40,22 +41,17 @@ jobs:
4041
chmod u+x appimage-myapp-appdir-template/usr/bin/winetricks
4142
wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O appimagetool.AppImage
4243
chmod u+x appimagetool.AppImage
43-
mv ./appimage-myapp-appdir-template/backup/unionfs-fuse*.deb .
44+
wget -c "https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSans.ttc.zip"
45+
unzip SourceHanSans.ttc.zip
46+
mv SourceHanSans.ttc appimage-myapp-appdir-template/opt/myapp/myapp_fonts/sourrcehansans.ttc
4447
./appimage-myapp-appdir-template/.remove-appdir-git.sh
4548
46-
#ar xv unionfs-fuse*amd64.deb
47-
#tar Jxvf data.tar.xz
48-
#mv -f usr/bin/unionfs appimage-myapp-appdir-template/usr/bin/
4949
cp "$(command -v unionfs)" appimage-myapp-appdir-template/usr/bin/
5050
ARCH=x86_64 ./appimagetool.AppImage appimage-myapp-appdir-template
5151
52-
#ar x unionfs-fuse*arm64.deb
53-
#tar Jxvf data.tar.xz
54-
#mv -f usr/bin/unionfs appimage-myapp-appdir-template/usr/bin/
5552
#ARCH=aarch64 ./appimagetool.AppImage appimage-myapp-appdir-template
5653
57-
#ar x unionfs-fuse*i386.deb
58-
#tar Jxvf data.tar.xz
59-
#mv -f usr/bin/unionfs appimage-myapp-appdir-template/usr/bin/
6054
#ARCH=i386 ./appimagetool.AppImage appimage-myapp-appdir-template
6155
56+
grep -m 1 MYAPPRUN_VERSION ${GITHUB_WORKSPACE}/appimage-myapp-appdir-template/opt/myapp/myapp_script/main.sh >> "$GITHUB_ENV"
57+

.remove-appdir-git.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ fi
2121

2222
echo "remove git related files from AppDir"
2323
find "$HERE" -name ".git*" -exec rm -rfv "{}" \;
24-
rm -rfv "$HERE"/opt/myapp/myapp_script/comment.myapp*.backup
2524
rm -rfv "$HERE"/backup/screenshot.backup
26-
rm -rfv "$HERE"/backup/unionfs-fuse_1.0-1ubuntu2_amd64.deb
2725
rm -rfv "$HERE"/README.zh.md
2826
rm -rfv "$HERE"/README.md
2927
rm -rfv "$HERE"/readme-todo
-47.6 KB
Binary file not shown.
-42.2 KB
Binary file not shown.
-49.9 KB
Binary file not shown.

opt/myapp/myapp_fonts/.gitkeep

Whitespace-only changes.
-18.6 MB
Binary file not shown.
-416 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)