Skip to content

Commit db74af3

Browse files
committed
fix "platform must be: [ios|macos|tvos|android]"
1 parent 61bf64f commit db74af3

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/install-dependencies.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,18 @@ case $LIB_NAME in
172172
fi
173173
;;
174174
dvdnav)
175-
./main.sh install -l 'dvdread' -p $PLAT
175+
if [[ $PLAT == all ]];then
176+
./main.sh install -l 'dvdread' -p ios
177+
./main.sh install -l 'dvdread' -p tvos
178+
./main.sh install -l 'dvdread' -p macos
179+
./main.sh install -l 'dvdread' -p android
180+
elif [[ $PLAT == apple ]];then
181+
./main.sh install -l 'dvdread' -p ios
182+
./main.sh install -l 'dvdread' -p tvos
183+
./main.sh install -l 'dvdread' -p macos
184+
else
185+
./main.sh install -l 'dvdread' -p $PLAT
186+
fi
176187
;;
177188
*)
178189
;;

0 commit comments

Comments
 (0)