Replace slic3rpe with PrusaSlicer
This commit is contained in:
parent
de6f2afa69
commit
313c72e3b1
|
@ -1,8 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Slic3r Prusa Edition
|
||||
Name=PrusaSlicer
|
||||
Comment=3D printing with Prusa
|
||||
TryExec=Slic3rPE
|
||||
Exec=Slic3rPE
|
||||
TryExec=PrusaSlicer
|
||||
Exec=PrusaSlicer
|
||||
Terminal=false
|
||||
Type=Application
|
20
roles/prusaslicer/tasks/main.yml
Normal file
20
roles/prusaslicer/tasks/main.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
- name: Download PrusaSlicer
|
||||
get_url:
|
||||
url: https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.1.1/PrusaSlicer-2.1.1+linux64-201912101511.AppImage
|
||||
dest: /usr/local/bin/PrusaSlicer
|
||||
checksum: sha256:af374ce2f403c7ff1cc035fce218fc858fff359ae4572a033e068ae36a2145e9
|
||||
mode: 0755
|
||||
|
||||
- name: Desktop entry for PrusaSlicer
|
||||
copy:
|
||||
src: PrusaSlicer.desktop
|
||||
dest: /usr/share/applications/PrusaSlicer.desktop
|
||||
mode: 0644
|
||||
|
||||
- name: Remove old Prusa files
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- /usr/local/bin/slic3rpe
|
||||
- /usr/share/applications/slic3rpe.desktop
|
|
@ -1,12 +0,0 @@
|
|||
- 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
|
Loading…
Reference in New Issue
Block a user