Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke API to renew developer mode frequently #39

Open
mariotaku opened this issue May 3, 2021 · 4 comments
Open

Invoke API to renew developer mode frequently #39

mariotaku opened this issue May 3, 2021 · 4 comments

Comments

@mariotaku
Copy link
Member

mariotaku/moonlight-tv#63

https://developer.lge.com/secure/ResetDevModeSession.dev?sessionToken=${sessionToken}
@Informatic
Copy link
Member

We could research "preloading" our app on startup somehow? There seemed to be an attribute responsible for that in appinfo.json (similar thing is done for YouTube, which, at least for me, seems to run in the background constantly...)

@mariotaku
Copy link
Member Author

Another way is to do this job on another machine. Because this works anywhere if you hold the token. (I didn't find any official way to do auto-start without root)

@mariotaku
Copy link
Member Author

I could implement on this project instead: https://github.com/webosbrew/DevModeMgr

@Informatic
Copy link
Member

Considering the behaviour of YouTube TV app (looking at luna-send -f -i 'luna://com.webos.applicationManager/running' '{"subscribe":true}' after a reboot), it looks like webos-preload-manager automatically starts up some apps in the background - maybe we could use that to launch homebrew channel for a second to renew the token and then just quit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants