mirror of https://github.com/koreader/koreader
parent
0e61eb7a7b
commit
ab712f1a29
@ -1 +1 @@
|
||||
Subproject commit 2ed403b617cdb189d47b8eec9700144ec887a748
|
||||
Subproject commit 3f0084f1d7457941303a29c576268944c47df071
|
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
|
||||
# working directory of koreader
|
||||
KOREADER_DIR="${0%/*}"
|
||||
|
||||
# we're always starting from our working directory
|
||||
cd "${KOREADER_DIR}" || exit
|
||||
|
||||
# export load library path for some old firmware
|
||||
export LD_LIBRARY_PATH=${KOREADER_DIR}/libs:$LD_LIBRARY_PATH
|
||||
|
||||
# export external font directory
|
||||
export EXT_FONT_DIR="${HOME}/.fonts"
|
||||
|
||||
RETURN_VALUE=85
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
# no arguments
|
||||
start_path=~/Documents
|
||||
else
|
||||
start_path="$*"
|
||||
fi
|
||||
|
||||
while [ $RETURN_VALUE -eq 85 ]; do
|
||||
./reader.lua -d "$start_path"
|
||||
RETURN_VALUE=$?
|
||||
done
|
||||
|
||||
exit $RETURN_VALUE
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component>
|
||||
<id>org.koreader.KOReader</id>
|
||||
<launchable type="desktop-id">org.koreader.KOReader.desktop</launchable>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>AGPL</project_license>
|
||||
<name>KOReader</name>
|
||||
<summary>A document viewer for DjVu, PDF, EPUB and more</summary>
|
||||
<description>
|
||||
<p>
|
||||
KOReader is a document viewer for E Ink devices. It supports PDF, DjVu, XPS, CBT, CBZ, FB2, PDB, TXT, HTML, RTF, CHM, EPUB, DOC, MOBI, and ZIP files. It currently runs on Kindle, Kobo, PocketBook, Ubuntu Touch and Android devices.
|
||||
</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>https://cloud.githubusercontent.com/assets/24273478/26781004/9fdb0e8e-49ec-11e7-8de4-92cd08bf80ea.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<url type="homepage">https://koreader.rocks/</url>
|
||||
<url type="bugtracker">https://github.com/koreader/koreader/issues</url>
|
||||
<url type="faq">https://github.com/koreader/koreader/wiki</url>
|
||||
<url type="translate">https://github.com/koreader/koreader#translation</url>
|
||||
<categories>
|
||||
<category>Document viewers</category>
|
||||
</categories>
|
||||
<update_contact></update_contact>
|
||||
</component>
|
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=KOReader
|
||||
Comment=KOReader is a document viewer
|
||||
Exec=reader.lua %u
|
||||
Icon=koreader
|
||||
Terminal=false
|
||||
Type=Application
|
Loading…
Reference in New Issue