Skip to content

Commit 408d91a

Browse files
authored
Merge pull request #3778 from cmitu/samba-discovery
samba: add a Web Service Discovery service
2 parents 7fe4b8c + 2effe96 commit 408d91a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scriptmodules/supplementary/samba.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ function install_shares_samba() {
5050
add_share_samba "bios" "$home/RetroPie/BIOS"
5151
add_share_samba "configs" "$configdir"
5252
add_share_samba "splashscreens" "$datadir/splashscreens"
53+
54+
# Add `wsdd` so that RetroPie is easily discovered by Windows clients
55+
# Only available on Debian 12/Ubuntu 22.04 and later
56+
if apt-cache -qq madison wsdd; then
57+
aptInstall wsdd
58+
fi
5359
restart_samba
5460
}
5561

0 commit comments

Comments
 (0)