1
0
Fork 0
forked from len0rd/rockbox

Add support for Windows shortcuts (*.lnk files)

Supports only relative links across the same volume.

Change-Id: I4f61bb9d5f2385d5b15d2b9d9a3f814a7ac85b54
This commit is contained in:
Sebastian Leonhardt 2017-09-15 23:43:41 +02:00
parent a9a891b47b
commit 5c701b0280
6 changed files with 368 additions and 0 deletions

View file

@ -165,6 +165,7 @@ option from the \setting{Context Menu} (see \reference{ref:Contextmenu}).}
{\textbf{Viewer Plugin}& \textbf{Associated filetype(s)} & \textbf{Context Menu only}}%
{}{}
Shortcuts & \fname{.link} & \\
MS Windows shortcuts & \fname{.lnk} & \\
Chip-8 Emulator & \fname{.ch8} & \\
Frotz & \fname{.z1} to \fname{.z8} & \\
Image Viewer & \fname{.bmp, .jpg, .jpeg, .png\opt{lcd_color}{, .ppm}} & \\
@ -200,6 +201,8 @@ option from the \setting{Context Menu} (see \reference{ref:Contextmenu}).}
{\input{plugins/shortcuts.tex}}
{\input{plugins/winshortcuts.tex}}
\opt{lcd_bitmap}{\input{plugins/chip8emulator.tex}}
\opt{lcd_bitmap}{\input{plugins/frotz.tex}}

View file

@ -8,6 +8,10 @@ line containing the name of the file or the directory you want to quickly
jump to. All names should be full absolute names, i.e. they should start
with a \fname{/}. Directory names should also end with a \fname{/}.
\note{This plugin cannot read Microsoft Windows shortcuts (\fname{.lnk}
files). These are handled by a separate plugin; see
\reference{ref:Winshortcutsplugin}.}
\subsubsection{How to create \fname{.link} files}
You can use your favourite text editor to create a \fname{.link} file on the

View file

@ -0,0 +1,15 @@
\subsection{Windows Shortcuts}
\label{ref:Winshortcutsplugin}
This plugin follows Microsoft Windows Explorer shortcuts (\fname{.lnk} files).
In Rockbox, these types of shortcuts will show up as \fname{.lnk} files. To
follow a shortcut, just ``play'' a \fname{.lnk} file from the file browser.
The plugin will navigate the file browser to the linked file (which
will be highlighted) or directory (which will be opened). Linked files will
not be automatically opened; you must do this manually.
Only relative links across the same volume are supported.
\note{You may like to use native Rockbox shortcuts instead. These can be
created from within Rockbox itself and have advanced capabilities.
See \reference{ref:Shortcutsplugin}.}