YouTube and Roku Inc announced on Wednesday a multi-year pact to end a battle that dragged for months over accusations of anti-competitive conduct and threatened to strip the internet’s biggest video streaming service from tens of millions of TV devices. “Roku and Google have agreed to a multi-year extension for both YouTube and YouTube TV,” the companies said on Twitter. “This agreement represents a positive development for our shared customers, making both YouTube and YouTube TV available for all streamers on the Roku platform.” YouTube owner Alphabet Inc’s Google and streaming platform Roku had publicly feuded since April over technical and financial terms for distributing YouTube’s flagship app and its YouTube TV service. Roku had opposed what it described as unfair terms such as favoring YouTube in search results and updating its hardware. YouTube had described its efforts as consumer-friendly, and said Roku was the one using its market power …