diff --git a/assets/deepin-ocr.svg b/assets/deepin-ocr.svg new file mode 100644 index 0000000..adc6c3b --- /dev/null +++ b/assets/deepin-ocr.svg @@ -0,0 +1,119 @@ + + + 识图 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/deepin-ocr.desktop b/deepin-ocr.desktop new file mode 100644 index 0000000..ef3dec6 --- /dev/null +++ b/deepin-ocr.desktop @@ -0,0 +1,24 @@ +[Desktop Entry] +Categories=Ocr; +Comment=Deepin ocr +#Exec=/usr/bin/deepin-ocr %F +GenericName=OCR Tool +Icon=deepin-ocr +Name=Deepin Ocr +Type=Application +X-Deepin-ManualID=deepin-ocr +X-Deepin-Vendor=deepin +X-Deepin-TurboType=dtkwidget + +# Translations: +# Do not manually modify! +Comment[zh_CN]=图文识别工具 +Comment[zh_HK]=圖文識別工具 +Comment[zh_TW]=圖文識別工具 +GenericName[zh_CN]=图文识别工具 +GenericName[zh_HK]=圖文識別工具 +GenericName[zh_TW]=圖文識別工具 + +Name[zh_CN]=图文识别工具 +Name[zh_HK]=Deepin 圖文識別工具 +Name[zh_TW]=Deepin 圖文識別工具 \ No newline at end of file diff --git a/deepin-ocr.pro b/deepin-ocr.pro index a4eb28f..c99e4c6 100644 --- a/deepin-ocr.pro +++ b/deepin-ocr.pro @@ -81,7 +81,14 @@ dbus_service.files=./com.deepin.Ocr.service tesslangs.path=/usr/share/deepin-ocr/tesslangs tesslangs.files=./assets/tesslangs/chi_sim.traineddata ./assets/tesslangs/chi_tra.traineddata ./assets/tesslangs/eng.traineddata ./assets/tesslangs/chi_sim_vert.traineddata ./assets/tesslangs/chi_tra_vert.traineddata -INSTALLS += target dbus_service translations tesslangs +desktop.path=/usr/share/applications +desktop.files=./deepin-ocr.desktop + +icon.path=/usr/share/icons/hicolor/scalable/apps +icon.files=./assets/deepin-ocr.svg + + +INSTALLS += target dbus_service translations icon desktop tesslangs CONFIG *= update_translations release_translations