Skip to content

Commit

Permalink
Version 3.3-b3
Browse files Browse the repository at this point in the history
Include DuetAPI.xml in DWC package
  • Loading branch information
chrishamm committed Apr 22, 2021
1 parent 59e0de5 commit 1904d82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/common/common.functions
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ build_progs() {
[ -d $COMMON_DIR/duetruntime/ ] && $RSYNC $COMMON_DIR/duetruntime/. $DEST_DIR/duetruntime_$dcsver/
[ -d $PACKAGER_DIR/duetruntime/ ] && $RSYNC $PACKAGER_DIR/duetruntime/. $DEST_DIR/duetruntime_$dcsver/
mv $DEST_DIR/files/* $DEST_DIR/duetruntime_$dcsver/opt/dsf/bin
cp $DEST_DIR/duetruntime_$dcsver/opt/dsf/bin/DuetAPI.xml $DEST_DIR/files/DuetAPI.xml
}

build_plugins() {
Expand Down Expand Up @@ -233,6 +234,7 @@ build_dwc() {
[ -d $PACKAGER_DIR/duetwebcontrol/ ] && $RSYNC $PACKAGER_DIR/duetwebcontrol/. $DEST_DIR/duetwebcontrol_$dwcver/

unzip -q $DEST_DIR/DuetWebControl/dist/DuetWebControl-SBC.zip -d $DEST_DIR/duetwebcontrol_$dwcver/opt/dsf/dwc
cp $DEST_DIR/files/DuetAPI.xml $DEST_DIR/duetwebcontrol_$dwcver/opt/dsf/dwc/DuetAPI.xml
mkdir -p $DEST_DIR/duetwebcontrol_$dwcver/opt/dsf/sd
>/dev/null pushd $DEST_DIR/duetwebcontrol_$dwcver/opt/dsf/sd
ln -s ../dwc www
Expand Down

0 comments on commit 1904d82

Please sign in to comment.