diff --git a/install_files/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2.partaa b/install_files/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2.partaa deleted file mode 100644 index e4dbf2a..0000000 Binary files a/install_files/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2.partaa and /dev/null differ diff --git a/install_files/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2.partab b/install_files/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2.partab deleted file mode 100644 index e14ec0b..0000000 Binary files a/install_files/PrusaSlicer-2.6.0+linux-x64-GTK3-202306191220.tar.bz2.partab and /dev/null differ diff --git a/playbook.yaml b/playbook.yaml index bc6ef69..88cbf44 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -251,23 +251,16 @@ vars: - prusaslicer_version: "2.6.0" - - prusaslicer_dir: "PrusaSlicer-{{ prusaslicer_version }}+linux-x64-GTK3-202306191220" tasks: - - name: Join parts of PrusaSlicer tarball - shell: cat /home/kasm-default-profile/install_files/{{ prusaslicer_dir }}.tar.bz2.parta* > /home/kasm-default-profile/install_files/{{ prusaslicer_dir }}.tar.bz2 - - name: Extract PrusaSlicer for 64-bit Linux to /opt - unarchive: - src: /home/kasm-default-profile/install_files/{{ prusaslicer_dir }}.tar.bz2 - dest: /opt - remote_src: yes - creates: /opt/{{ prusaslicer_dir }}/bin/prusa-slicer - - name: Create symlink for prusa-slicer in /usr/local/bin - shell: ln -srv /opt/{{ prusaslicer_dir }}/bin/prusa-slicer /usr/local/bin/prusa-slicer - - name: Create local application folder for PrusaSlicer - shell: mkdir -p /home/kasm-default-profile/.local/share/applications/ - - name: Configure PrusaSlicer desktop shortcut - shell: echo "[Desktop Entry]\nName=PrusaSlicer\nGenericName=PrusaSlicer\nExec=/usr/local/bin/prusa-slicer\nIcon=/opt/{{ prusaslicer_dir }}/resources/icons/PrusaSlicer.png\nTerminal=false\nType=Application\nStartupNotify=false\nCategories=Application;Development;" > /home/kasm-default-profile/.local/share/applications/prusaslicer.desktop + - name: Install snap + apt: + name: snap + update_cache: yes + - name: Test snap installation + shell: snap install hello-world + - name: Install prusa-slicer {{ prusaslicer_version }} + shell: snap install prusa-slicer --channel={{ prusaslicer_version }}/stable --classic - name: Get prusa-slicer version shell: prusa-slicer --help | grep PrusaSlicer- | awk '{ print $1 '} register: installed_prusaslicer_version