fix(generator): fix packet encoding / ws host option

This commit is contained in:
Tianling Shen 2023-02-23 16:55:46 +08:00 committed by Tianling Shen
parent 4bd0f98b8a
commit abb89992bd
No known key found for this signature in database
GPG key ID: 6850B6345C862176
4 changed files with 11 additions and 4 deletions

View file

@ -29,7 +29,10 @@ cp -fpR "$PKG_DIR/htdocs"/* "$TEMP_PKG_DIR/www/"
cp -fpR "$PKG_DIR/root"/* "$TEMP_PKG_DIR/"
echo -e "/etc/config/homeproxy" > "$TEMP_PKG_DIR/CONTROL/conffiles"
echo -e "/etc/homeproxy/certs/" > "$TEMP_PKG_DIR/lib/upgrade/keep.d/$PKG_NAME"
cat > "$TEMP_PKG_DIR/lib/upgrade/keep.d/$PKG_NAME" <<-EOF
/etc/homeproxy/certs/
/etc/homeproxy/resources/
EOF
cat > "$TEMP_PKG_DIR/CONTROL/control" <<-EOF
Package: $PKG_NAME