No send url
This commit is contained in:
parent
787a898957
commit
aa361519cc
|
@ -154,7 +154,7 @@ writeShellApplication
|
||||||
options s "$OPTS") || ret=$?
|
options s "$OPTS") || ret=$?
|
||||||
|
|
||||||
if (( ret != 0 )); then
|
if (( ret != 0 )); then
|
||||||
send_steam_url "system/devicemountresult" "''${DEVBASE}/''${MOUNT_ERROR}"
|
# send_steam_url "system/devicemountresult" "''${DEVBASE}/''${MOUNT_ERROR}"
|
||||||
echo "Error mounting ''${DEVICE} (status = $ret)"
|
echo "Error mounting ''${DEVICE} (status = $ret)"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -192,12 +192,12 @@ writeShellApplication
|
||||||
echo "**** Mounted ''${DEVICE} at ''${mount_point} ****"
|
echo "**** Mounted ''${DEVICE} at ''${mount_point} ****"
|
||||||
|
|
||||||
if [ -f "''${mount_point}/libraryfolder.vdf" ]; then
|
if [ -f "''${mount_point}/libraryfolder.vdf" ]; then
|
||||||
send_steam_url "addlibraryfolder" "''${mount_point}"
|
# send_steam_url "addlibraryfolder" "''${mount_point}"
|
||||||
else
|
else
|
||||||
#TODO check permissions are 1000 when creating new SteamLibrary
|
#TODO check permissions are 1000 when creating new SteamLibrary
|
||||||
mkdir -p "''${mount_point}/SteamLibrary"
|
mkdir -p "''${mount_point}/SteamLibrary"
|
||||||
chown lillian:users "''${mount_point}/SteamLibrary"
|
chown lillian:users "''${mount_point}/SteamLibrary"
|
||||||
send_steam_url "addlibraryfolder" "''${mount_point}/SteamLibrary"
|
# send_steam_url "addlibraryfolder" "''${mount_point}/SteamLibrary"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@ writeShellApplication
|
||||||
# This is a truly gnarly way to ensure steam is ready for commands.
|
# This is a truly gnarly way to ensure steam is ready for commands.
|
||||||
# TODO literally anything else
|
# TODO literally anything else
|
||||||
sleep 6
|
sleep 6
|
||||||
send_steam_url "addlibraryfolder" "''${mount_point}"
|
# send_steam_url "addlibraryfolder" "''${mount_point}"
|
||||||
}
|
}
|
||||||
|
|
||||||
case "''${ACTION}" in
|
case "''${ACTION}" in
|
||||||
|
|
Loading…
Reference in a new issue