Commit graph

18 commits

Author SHA1 Message Date
shenleban tongying 9716acb2ee feat: add dict:// handler to linux
* Remove any thing before first occurance of ://
* so that user may add custom handler by just changing the .desktop file
2023-04-27 23:00:24 +08:00
shenleban tongying 59969277d1
refactor: move macOS info.plist to /redist/ 2023-04-17 20:55:32 -04:00
shenlebantongying 5a284d5c66
Implement "goldendict://nice" url scheme handler for windows and linux (#227)
* windows: add url scheme goldendict://

* linux: add url scheme goldendict:// handler
2022-11-28 09:24:49 +08:00
proletarius101 9fb467abf3 Add a concrete Comment into the desktop entry 2021-02-27 20:04:28 +08:00
proletarius101 38d7193f49 Rename id in metadata and desktop entry to org.goldendict.GoldenDict
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-id-generic

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming
2021-02-27 20:04:28 +08:00
Vitaly Zaitsev 6ca112b797
Use a better workaround for Wayland crashes.
GoldenDict use lots of X11 functions and it currently cannot work natively on Wayland. This workaround will force GoldenDict to use  XWayland.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-03-27 11:08:52 +01:00
Vitaly Zaitsev a1c7c5b376
Added a desktop action as a workaround to crashes on Wayland.
Also removed deprecated Encoding directive from desktop file.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-03-15 10:20:40 +01:00
Boyuan Yang d843b37fbd
appdata.xml: Pass appstream-util validation
This commit adds missing components in goldendict.appdata.xml and makes it pass the relaxed appstream validation: `appstream-util validate-relax goldendict.appdata.xml`.
2020-02-12 16:55:00 -05:00
Abs62 ebc301a7bf Merge branch 'master' of https://github.com/probonopd/goldendict into Temp 2019-08-05 17:50:34 +03:00
Vitaly Zaitsev 7ef50ba50f
Added AppData manifest file for modern package managers.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2019-03-16 13:47:15 +01:00
probonopd feeee36f78
AppImage 2019-01-03 22:44:00 +00:00
Igor Kushnir 39dcea5952 Remove executable bit from goldendict.png
Executable icon could be a security risk. Closes #823.

This commit eliminates one of the 2 non-critical "make install" errors
described in #1001. Fixing the other error requires removing executable
bit from goldendict.desktop, which may cause issues to some users.
2018-08-27 11:14:09 +03:00
Abs62 69360b7ba2 Fix some more "incorrect sRGB profile" warnings in log 2017-05-31 22:39:07 +03:00
Virgil 4e36b44894 better icon path 2014-05-14 22:50:19 +08:00
Virgil afc0062d02 fix icon path 2014-05-13 21:46:52 +08:00
Tvangeste bf495a4eb7 Remove 'Applications' category from desktop file (patch by Dmitry E. Oboukhov) 2013-07-18 20:24:36 +02:00
Tvangeste e79efbd454 Linux: Use better and bigger (256x256) icon for GoldenDict.desktop file
The end result on Ubunutu looks MUCH, MUCH better compared to the
ugly 24x24 icon we had previously.
2013-07-11 22:30:47 +02:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00