Skip to content

Commit b34eda0

Browse files
committed
Change dark theme packaging steps in build script
Seems the behaviour for zip differs between Fedora (host test machine) and Ubuntu (GitHub workflow machine). This should be the actual fix for the previous two commits.
1 parent 8b3859b commit b34eda0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

build.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,11 @@ r4denc -k 0x4002 kernel/wood_r4xx.nds out/ex4ds/wood.dat
7777
cp out/ex4ds/_ds_menu.dat out/ex4ds/_dsmenu.dat
7878

7979
# package optional dark theme
80-
mkdir out/aos_dark_theme
81-
cd aos_dark_theme
82-
zip -Z store -r ../out/aos_dark_theme/theme.res {calendar,icon,icons.bmp,logo.bmp,version}
83-
cp setting.ini ../out/aos_dark_theme/setting.ini
80+
mkdir -p out/aos_dark_theme/theme
81+
cd out/aos_dark_theme/theme
82+
cp -r ../../../aos_dark_theme/* .
83+
mv setting.ini ../setting.ini
84+
zip -Z store -r ../theme.res *
8485
cd ..
85-
86+
rm -rf theme
87+
cd ../..

0 commit comments

Comments
 (0)