mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d1a773f2ee
commit
c69780c97e
@ -341,7 +341,6 @@ class PostInstall:
|
|||||||
p = QImage(I('lt.png')).scaledToHeight(128,
|
p = QImage(I('lt.png')).scaledToHeight(128,
|
||||||
Qt.SmoothTransformation)
|
Qt.SmoothTransformation)
|
||||||
p.save('calibre-gui.png')
|
p.save('calibre-gui.png')
|
||||||
QFile(I('l.png')).copy('calibre-gui.png')
|
|
||||||
check_call('xdg-icon-resource install --noupdate --size 128 calibre-gui.png calibre-gui', shell=True)
|
check_call('xdg-icon-resource install --noupdate --size 128 calibre-gui.png calibre-gui', shell=True)
|
||||||
self.icon_resources.append(('apps', 'calibre-gui', '128'))
|
self.icon_resources.append(('apps', 'calibre-gui', '128'))
|
||||||
render_svg(QFile(I('viewer.svg')), 'calibre-viewer.png')
|
render_svg(QFile(I('viewer.svg')), 'calibre-viewer.png')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user