Add .desktop file for notepad++
This commit is contained in:
parent
0eaf4a5d40
commit
47171e65c6
3 changed files with 30 additions and 1 deletions
11
roles/notepad++/files/notepad++.desktop
Normal file
11
roles/notepad++/files/notepad++.desktop
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Notepad++
|
||||||
|
GenericName=Notepad++
|
||||||
|
Comment=A simple IDE
|
||||||
|
Exec=wine "/opt/notepad++/notepad++.exe"
|
||||||
|
Icon=notepad++
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||||
|
Categories=Education;Development;ComputerScience;
|
||||||
|
StartupNotify=true
|
BIN
roles/notepad++/files/notepad++.png
Normal file
BIN
roles/notepad++/files/notepad++.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
|
@ -19,6 +19,24 @@
|
||||||
|
|
||||||
- name: Download and unpack Notepad++
|
- name: Download and unpack Notepad++
|
||||||
unarchive:
|
unarchive:
|
||||||
src: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.5.7/npp.8.5.7.portable.x64.zip
|
src: https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.8.5/npp.8.8.5.portable.x64.zip
|
||||||
dest: /opt/notepad++
|
dest: /opt/notepad++
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
|
||||||
|
- name: Install icon
|
||||||
|
block:
|
||||||
|
- file:
|
||||||
|
path: /usr/local/share/icons
|
||||||
|
state: directory
|
||||||
|
- copy:
|
||||||
|
src: notepad++.png
|
||||||
|
dest: /usr/local/share/icons/notepad++.png
|
||||||
|
|
||||||
|
- name: Create .desktop file
|
||||||
|
block:
|
||||||
|
- file:
|
||||||
|
path: /usr/local/share/applications
|
||||||
|
state: directory
|
||||||
|
- copy:
|
||||||
|
dest: /usr/local/share/applications/notepad++.desktop
|
||||||
|
src: notepad++.desktop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue