Skip to content

Commit

Permalink
Fix: Installer was setting the wrong driver on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoralves authored Sep 18, 2023
1 parent 9a9bf7f commit a05c5f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion background_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,11 @@ function install_all_libs {
function finalize_install {
echo "[FINALIZING]"
cd "$OPENPLC_DIR/webserver/scripts"
./change_hardware_layer.sh blank_linux
if [ "$1" == "win" ]; then
./change_hardware_layer.sh blank
else
./change_hardware_layer.sh blank_linux
fi
./compile_program.sh blank_program.st
cp "start_openplc.sh" "$OPENPLC_DIR"
cd "$OPENPLC_DIR"
Expand Down

0 comments on commit a05c5f0

Please sign in to comment.