diff --git a/screenshots/vnote.png b/screenshots/vnote.png index 0981f7b0..3f436581 100644 Binary files a/screenshots/vnote.png and b/screenshots/vnote.png differ diff --git a/src/resources/icons/128x128/vnote.ico b/src/resources/icons/128x128/vnote.ico deleted file mode 100644 index 7ccc29ec..00000000 Binary files a/src/resources/icons/128x128/vnote.ico and /dev/null differ diff --git a/src/resources/icons/128x128/vnote.png b/src/resources/icons/128x128/vnote.png new file mode 100644 index 00000000..61746639 Binary files /dev/null and b/src/resources/icons/128x128/vnote.png differ diff --git a/src/resources/icons/16x16/vnote.ico b/src/resources/icons/16x16/vnote.ico deleted file mode 100644 index c98c39e5..00000000 Binary files a/src/resources/icons/16x16/vnote.ico and /dev/null differ diff --git a/src/resources/icons/16x16/vnote.png b/src/resources/icons/16x16/vnote.png new file mode 100644 index 00000000..e7d617f8 Binary files /dev/null and b/src/resources/icons/16x16/vnote.png differ diff --git a/src/resources/icons/256x256/vnote.png b/src/resources/icons/256x256/vnote.png new file mode 100644 index 00000000..3f436581 Binary files /dev/null and b/src/resources/icons/256x256/vnote.png differ diff --git a/src/resources/icons/32x32/vnote.ico b/src/resources/icons/32x32/vnote.ico deleted file mode 100644 index ec32ad63..00000000 Binary files a/src/resources/icons/32x32/vnote.ico and /dev/null differ diff --git a/src/resources/icons/32x32/vnote.png b/src/resources/icons/32x32/vnote.png new file mode 100644 index 00000000..c55e3470 Binary files /dev/null and b/src/resources/icons/32x32/vnote.png differ diff --git a/src/resources/icons/48x48/vnote.ico b/src/resources/icons/48x48/vnote.ico deleted file mode 100644 index e89445b6..00000000 Binary files a/src/resources/icons/48x48/vnote.ico and /dev/null differ diff --git a/src/resources/icons/48x48/vnote.png b/src/resources/icons/48x48/vnote.png new file mode 100644 index 00000000..4eeb4dd4 Binary files /dev/null and b/src/resources/icons/48x48/vnote.png differ diff --git a/src/resources/icons/64x64/vnote.ico b/src/resources/icons/64x64/vnote.ico deleted file mode 100644 index 3b15908c..00000000 Binary files a/src/resources/icons/64x64/vnote.ico and /dev/null differ diff --git a/src/resources/icons/64x64/vnote.png b/src/resources/icons/64x64/vnote.png new file mode 100644 index 00000000..b0ec317a Binary files /dev/null and b/src/resources/icons/64x64/vnote.png differ diff --git a/src/resources/icons/vnote.icns b/src/resources/icons/vnote.icns new file mode 100644 index 00000000..9409991b Binary files /dev/null and b/src/resources/icons/vnote.icns differ diff --git a/src/resources/icons/vnote.ico b/src/resources/icons/vnote.ico index 800aa82d..25d273c9 100644 Binary files a/src/resources/icons/vnote.ico and b/src/resources/icons/vnote.ico differ diff --git a/src/resources/icons/vnote.png b/src/resources/icons/vnote.png index 47cf8659..b45e1a8b 100644 Binary files a/src/resources/icons/vnote.png and b/src/resources/icons/vnote.png differ diff --git a/src/resources/icons/vnote.svg b/src/resources/icons/vnote.svg index f956239c..5fcdf0f9 100644 --- a/src/resources/icons/vnote.svg +++ b/src/resources/icons/vnote.svg @@ -4,13 +4,13 @@ vnote Layer 1 - - - - - - - - + + + + + + + + \ No newline at end of file diff --git a/src/src.pro b/src/src.pro index 4134b0c9..8ea40d75 100644 --- a/src/src.pro +++ b/src/src.pro @@ -116,3 +116,40 @@ else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../peg- else:win32:!win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../peg-highlight/release/peg-highlight.lib else:win32:!win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../peg-highlight/debug/peg-highlight.lib else:unix: PRE_TARGETDEPS += $$OUT_PWD/../peg-highlight/libpeg-highlight.a + +## INSTALLS +unix:!macx { + isEmpty(PREFIX): PREFIX = /usr + DATADIR = $${PREFIX}/share + + # install desktop file + desktop.path = $${DATADIR}/applications + desktop.files += vnote.desktop + + # install icons + icon16.path = $${DATADIR}/icons/hicolor/16x16/apps + icon16.files = resources/icons/16x16/vnote.png + + icon32.path = $${DATADIR}/icons/hicolor/32x32/apps + icon32.files = resources/icons/32x32/vnote.png + + icon48.path = $${DATADIR}/icons/hicolor/48x48/apps + icon48.files = resources/icons/48x48/vnote.png + + icon64.path = $${DATADIR}/icons/hicolor/64x64/apps + icon64.files = resources/icons/64x64/vnote.png + + icon128.path = $${DATADIR}/icons/hicolor/128x128/apps + icon128.files = resources/icons/128x128/vnote.png + + icon256.path = $${DATADIR}/icons/hicolor/256x256/apps + icon256.files = resources/icons/256x256/vnote.png + + iconsvg.path = $${DATADIR}/icons/hicolor/scalable/apps + iconsvg.files = resources/icons/vnote.svg + + target.path = $${PREFIX}/bin + + INSTALLS += target desktop icon16 icon32 icon48 icon64 icon128 icon256 iconsvg + message("VNote will be installed in prefix $${PREFIX}") +} diff --git a/src/vnote.desktop b/src/vnote.desktop new file mode 100644 index 00000000..0cbaed18 --- /dev/null +++ b/src/vnote.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=VNote +GenericName=Markdown Note +Comment=Note-taking application for pleasant Markdown +Icon=vnote +Terminal=false +Exec=VNote +MimeType=text/markdown; +Categories=Qt;Utility;TextEditor;Office;