diff --git a/local.yml b/local.yml index 5df537a..a540370 100644 --- a/local.yml +++ b/local.yml @@ -9,3 +9,4 @@ - desktop_auth - google_chrome - cura + - slic3rpe diff --git a/roles/slic3rpe/files/slic3rpe.desktop b/roles/slic3rpe/files/slic3rpe.desktop new file mode 100644 index 0000000..ba19b6c --- /dev/null +++ b/roles/slic3rpe/files/slic3rpe.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=Slic3r Prusa Edition +Comment=3D printing with Prusa +TryExec=Slic3rPE +Exec=Slic3rPE +Terminal=false +Type=Application diff --git a/roles/slic3rpe/tasks/main.yml b/roles/slic3rpe/tasks/main.yml new file mode 100644 index 0000000..a152e41 --- /dev/null +++ b/roles/slic3rpe/tasks/main.yml @@ -0,0 +1,12 @@ +- name: Download Slic3rPE + get_url: + url: https://github.com/prusa3d/Slic3r/releases/download/version_1.41.0/Slic3rPE-1.41.0+linux64-full-201809010758.AppImage + dest: /usr/local/bin/Slic3rPE + checksum: sha256:62aaceb639703dc2675bf53b1d30eb2851d9c2fee0970a2001e8f7e96fa6d6a0 + mode: 0755 + +- name: Desktop entry for Slic3rPE + copy: + src: slic3rpe.desktop + dest: /usr/share/applications/slic3rpe.desktop + mode: 0644