Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-15-2018, 02:03 AM   #31
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
You can find full details in the Wiki, but the nickle tour:

The externally visible root of usb storage is internally at:
/mnt/us
Call that: */
When you look at our add-ins, you can see they follow a pattern:
*/extensions/add-in_name/<usually two files>
One of those files documents the add-in, the other defines the menu additions.
This will be the current working directory when a menu entry is selected.
The usual pattern of what follows is:
*/extensions/add-in_name>/bin/<shell-script(s)>

In your READme.sh file, you want the content of the <shell-script(s)>

If not sure how to do that, post in the appropriate thread, somebody will help you.
Shell scripting is about as basic (no pun intended) as programming gets, lots of people here have those skills.

Note: *nix systems use readable text files, not binary files that are popular with other operating systems.
So use the above general layout and read your way through the files associated with what you want to do.
knc1 is offline   Reply With Quote
Old 01-16-2018, 09:34 AM   #32
Gary23
Junior Member
Gary23 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jan 2018
Device: Kindle Touch 3
Quote:
Originally Posted by knc1 View Post
You can find full details in the Wiki, but the nickle tour:

The externally visible root of usb storage is internally at:
/mnt/us
Call that: */
When you look at our add-ins, you can see they follow a pattern:
*/extensions/add-in_name/<usually two files>
One of those files documents the add-in, the other defines the menu additions.
This will be the current working directory when a menu entry is selected.
The usual pattern of what follows is:
*/extensions/add-in_name>/bin/<shell-script(s)>

In your READme.sh file, you want the content of the <shell-script(s)>

If not sure how to do that, post in the appropriate thread, somebody will help you.
Shell scripting is about as basic (no pun intended) as programming gets, lots of people here have those skills.

Note: *nix systems use readable text files, not binary files that are popular with other operating systems.
So use the above general layout and read your way through the files associated with what you want to do.
Got the first part altogether, the only thing I don't know about is nix system or UNIX systems. What I don't understand is that do I need the content of the shell script from the bin folder in the README.sh or do I need to just call it out there? NIX system, i hope the calling is not different from normal CLI in windows.
Gary23 is offline   Reply With Quote
Advert
Old 01-16-2018, 09:49 AM   #33
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
*nix :: Unix, Linux, (and all bsd flavors, including MAC-OSx)

Windows command line inherits from MS-DOS command line.
Bill intentionally made DOS a derivative of a Unix (IRC: SCO Unix) subset.
(Might have been different if I had owned Unix at the time, but ...)

So you will find a lot of similarities of the basics.
knc1 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving from Proper Installation to Portable Installation Dfaure Calibre 1 01-02-2017 12:41 PM
paperwhite 3 can't get KUAL parbour Kindle Developer's Corner 7 12-20-2016 08:40 AM
Help a beginner with KUAL j0el Kindle Developer's Corner 8 11-04-2016 08:43 AM
Moving from Portable Installation to Proper Installation Klif Calibre 2 08-28-2013 09:34 AM
Kual y backdoorlock adegir1952 Amazon Kindle 3 06-14-2013 09:44 AM


All times are GMT -4. The time now is 06:28 AM.


MobileRead.com is a privately owned, operated and funded community.