
SECHIN_SUNNY
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017
03:36 AM
Makefile in roku
Can anyone please tell me on how to deploy a roku .zip file without using the installation plugin . I have seen on many place using the makefile , but how to implement it in my codes.
Thanks
Regards
Sechin Sunny
Regards
Sechin Sunny
7 REPLIES 7
tim_beynart
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017
09:18 AM
Re: Makefile in roku
Here's a bash script to zip and deploy a Scenegraph app
#you need to define username, password, and IP to match your environment
user=myUsername
pass=myPassword
roku_ip=x.x.x.x
#delete previous zips
rm -fv out/*
#generate zip for device
zip -r out/app.zip manifest source images components
#push zip to Roku
uagent='Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)';
curl --user $user:$pass --digest --verbose --max-time 5 --user-agent "$uagent" --form archive=@app.zip --form "mysubmit=Replace" "http://$roku_ip/plugin_install" > /dev/null
exit 0
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017
10:49 AM
Re: Makefile in roku
Another option, for anyone using the Atom text editor, is to use the roku-develop package, which will automatically discover Rokus on the local network, and create/deploy .zip files to any/all of those Rokus.
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017
11:33 AM
Re: Makefile in roku
See also https://stackoverflow.com/a/45405595/226086 - it's in the style of @tim_beynart's but slightly more polished from long use.

SECHIN_SUNNY
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017
11:38 PM
Re: Makefile in roku
sorry for this question , but i don't have much info on bash, can anyone tell me on how to use or deploy bash file to install an aplication.
Thanks
Regards
Sechin Sunny
Regards
Sechin Sunny
tim_beynart
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2017
11:07 AM
Re: Makefile in roku
Save yourself some grief and do what belltown mentioned, use Atom to develop for Roku. The deploy package is actually more reliable than bash/curl.
link: https://atom.io/packages/search?q=roku
link: https://atom.io/packages/search?q=roku

SECHIN_SUNNY
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2017
04:29 AM
Re: Makefile in roku
yes i understood , but i want to gain some knowledge regarding installation through bash , please let me know how to implement the makefile code or app.mk file , pls
Thanks
Regards
Sechin Sunny
Regards
Sechin Sunny
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2017
10:08 AM
Re: Makefile in roku
@Sechin - first, are you using Windows?
We had some discussion but did not produce a simple script https://forums.roku.com/viewtopic.php?f=34&t=97279
Having bash is by far not required to develop with command-line tools for Roku on Windows - but might be the path of least resistance, because borrowing other people's scripts for OSX and Linux
https://msdn.microsoft.com/en-us/comman ... tall_guide
We had some discussion but did not produce a simple script https://forums.roku.com/viewtopic.php?f=34&t=97279
Having bash is by far not required to develop with command-line tools for Roku on Windows - but might be the path of least resistance, because borrowing other people's scripts for OSX and Linux
https://msdn.microsoft.com/en-us/comman ... tall_guide