mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3824 (Version in .desktop files is used wrongly)
This commit is contained in:
parent
160f0f72b7
commit
51c08484ef
@ -6,7 +6,7 @@ __copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
|
|||||||
import sys, os, shutil, cPickle, textwrap, stat
|
import sys, os, shutil, cPickle, textwrap, stat
|
||||||
from subprocess import check_call
|
from subprocess import check_call
|
||||||
|
|
||||||
from calibre import __version__, __appname__, prints
|
from calibre import __appname__, prints
|
||||||
|
|
||||||
|
|
||||||
entry_points = {
|
entry_points = {
|
||||||
@ -491,36 +491,36 @@ complete -o filenames -F _'''%(opts,exts) + name + ' ' + name +"\n\n"
|
|||||||
|
|
||||||
VIEWER = '''\
|
VIEWER = '''\
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=%s
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=LRF Viewer
|
Name=LRF Viewer
|
||||||
GenericName=Viewer for LRF files
|
GenericName=Viewer for LRF files
|
||||||
Comment=Viewer for LRF files (SONY ebook format files)
|
Comment=Viewer for LRF files (SONY ebook format files)
|
||||||
TryExec=lrfviewer
|
TryExec=lrfviewer
|
||||||
Exec=lrfviewer %%F
|
Exec=lrfviewer %F
|
||||||
Icon=calibre-viewer
|
Icon=calibre-viewer
|
||||||
MimeType=application/x-sony-bbeb;
|
MimeType=application/x-sony-bbeb;
|
||||||
Categories=Graphics;Viewer;
|
Categories=Graphics;Viewer;
|
||||||
'''%(__version__,)
|
'''
|
||||||
|
|
||||||
EVIEWER = '''\
|
EVIEWER = '''\
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=%s
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=E-book Viewer
|
Name=E-book Viewer
|
||||||
GenericName=Viewer for E-books
|
GenericName=Viewer for E-books
|
||||||
Comment=Viewer for E-books
|
Comment=Viewer for E-books
|
||||||
TryExec=ebook-viewer
|
TryExec=ebook-viewer
|
||||||
Exec=ebook-viewer %%F
|
Exec=ebook-viewer %F
|
||||||
Icon=calibre-viewer
|
Icon=calibre-viewer
|
||||||
MimeType=application/epub+zip;
|
MimeType=application/epub+zip;
|
||||||
Categories=Graphics;Viewer;
|
Categories=Graphics;Viewer;
|
||||||
'''%(__version__,)
|
'''
|
||||||
|
|
||||||
|
|
||||||
GUI = '''\
|
GUI = '''\
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=%s
|
Version=1.0
|
||||||
Type=Application
|
Type=Application
|
||||||
Name=calibre
|
Name=calibre
|
||||||
GenericName=E-book library management
|
GenericName=E-book library management
|
||||||
@ -529,7 +529,7 @@ TryExec=calibre
|
|||||||
Exec=calibre
|
Exec=calibre
|
||||||
Icon=calibre-gui
|
Icon=calibre-gui
|
||||||
Categories=Office;
|
Categories=Office;
|
||||||
'''%(__version__,)
|
'''
|
||||||
|
|
||||||
MIME = '''\
|
MIME = '''\
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user