mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-03 18:33:33 +02:00
Fix #3824 (Version in .desktop files is used wrongly)
This commit is contained in:
parent
160f0f72b7
commit
51c08484ef
1 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
import sys, os, shutil, cPickle, textwrap, stat
|
||||
from subprocess import check_call
|
||||
|
||||
from calibre import __version__, __appname__, prints
|
||||
from calibre import __appname__, prints
|
||||
|
||||
|
||||
entry_points = {
|
||||
|
|
@ -491,36 +491,36 @@ def opts_and_exts(name, op, exts):
|
|||
|
||||
VIEWER = '''\
|
||||
[Desktop Entry]
|
||||
Version=%s
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=LRF Viewer
|
||||
GenericName=Viewer for LRF files
|
||||
Comment=Viewer for LRF files (SONY ebook format files)
|
||||
TryExec=lrfviewer
|
||||
Exec=lrfviewer %%F
|
||||
Exec=lrfviewer %F
|
||||
Icon=calibre-viewer
|
||||
MimeType=application/x-sony-bbeb;
|
||||
Categories=Graphics;Viewer;
|
||||
'''%(__version__,)
|
||||
'''
|
||||
|
||||
EVIEWER = '''\
|
||||
[Desktop Entry]
|
||||
Version=%s
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=E-book Viewer
|
||||
GenericName=Viewer for E-books
|
||||
Comment=Viewer for E-books
|
||||
TryExec=ebook-viewer
|
||||
Exec=ebook-viewer %%F
|
||||
Exec=ebook-viewer %F
|
||||
Icon=calibre-viewer
|
||||
MimeType=application/epub+zip;
|
||||
Categories=Graphics;Viewer;
|
||||
'''%(__version__,)
|
||||
'''
|
||||
|
||||
|
||||
GUI = '''\
|
||||
[Desktop Entry]
|
||||
Version=%s
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=calibre
|
||||
GenericName=E-book library management
|
||||
|
|
@ -529,7 +529,7 @@ def opts_and_exts(name, op, exts):
|
|||
Exec=calibre
|
||||
Icon=calibre-gui
|
||||
Categories=Office;
|
||||
'''%(__version__,)
|
||||
'''
|
||||
|
||||
MIME = '''\
|
||||
<?xml version="1.0"?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue