From 8bb368fd125759d5037655f7ed68a5ab4a4ee032 Mon Sep 17 00:00:00 2001 From: Avinash Pandey Date: Fri, 22 Sep 2023 14:34:23 +0530 Subject: [PATCH] updated readme and install.sh --- README.md | 5 +++-- install.sh | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 64e3624..8498460 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,9 @@ On the other hand, the Display-Sink side allows you to create wifi-capable exter In the root of the project directory, run `sudo ./install.sh` Steps to run: -1. Run `sudo miracle-wifid --log-level trace --log-date-time` in a terminal. -2. Run `sudo miracle-sinkctl -e run-vlc.sh --log-level trace --log-journal-level trace --log-date-time -- set-friendly-name VingMiracle` in a separate terminal. +1. Disable NetworkManager and ap: `sudo systemctl stop NetworkManager.service ap.service`. +2. Run `sudo miracle-wifid --log-level trace --log-date-time` in a terminal. +3. Run `sudo miracle-sinkctl -e run-vlc.sh --log-level trace --log-journal-level trace --log-date-time -- set-friendly-name VingMiracle` in a separate terminal. Now you should be able to cast your Windows 10/11 devices on Ving NUC. diff --git a/install.sh b/install.sh index 26881e6..16c6c80 100755 --- a/install.sh +++ b/install.sh @@ -1,15 +1,14 @@ #!/bin/bash apt install cmake libglib2.0-dev libudev-dev libsystemd-dev libreadline-dev check libtool -y - apt install gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-tools -y +rm -rf build/ mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make make install - cd .. echo "-- Installing: /root/.miraclecast"