Skip to content

Commit

Permalink
Merge pull request #63 from tetrabiodistributed/update-freecad-versio…
Browse files Browse the repository at this point in the history
…n-to-0.21.2

Update FreeCAD version to 0.21.2
  • Loading branch information
capsulecorplab authored Jan 16, 2024
2 parents 10814b5 + 4a91c16 commit 2f31d51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This repo provides an Immutable-Infrastructure-as-Code (IIaC) workspace based on
- [Arduino Pico](https://github.com/earlephilhower/arduino-pico) 3.3.0
- [Arduino ESP32](https://github.com/espressif/arduino-esp32) 2.0.9
- [KiCAD](https://www.kicad.org/) 7.0.10
- [FreeCAD](https://www.freecad.org/) 0.20.2
- [FreeCAD](https://www.freecad.org/) 0.21.2
- [PrusaSlicer](https://github.com/prusa3d/PrusaSlicer) 2.7.1

## How to Use this Repo
Expand Down
11 changes: 5 additions & 6 deletions playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,7 @@


vars:
freecad_version: "0.20.2"
freecad_release_date: "2022-12-27"
freecad_version: "0.21.2"

tasks:
- name: Install kmod with apt
Expand All @@ -640,7 +639,7 @@
- name: Download FreeCAD {{ freecad_version }} source tarball
shell: wget https://github.com/FreeCAD/FreeCAD/archive/refs/tags/{{ freecad_version }}.tar.gz -O /home/kasm-default-profile/install_files/freecad-{{ freecad_version }}.tar.gz
- name: Download FreeCAD {{ freecad_version }} AppImage
shell: wget https://github.com/FreeCAD/FreeCAD/releases/download/{{ freecad_version }}/FreeCAD_{{ freecad_version }}-{{ freecad_release_date }}-conda-Linux-x86_64-py310.AppImage -O /home/kasm-default-profile/install_files/FreeCAD_{{ freecad_version }}-{{ freecad_release_date }}-conda-Linux-x86_64-py310.AppImage
shell: wget https://github.com/FreeCAD/FreeCAD/releases/download/{{ freecad_version }}/FreeCAD-{{ freecad_version }}-Linux-x86_64.AppImage -O /home/kasm-default-profile/install_files/FreeCAD-{{ freecad_version }}-Linux-x86_64.AppImage
- name: Unarchive FreeCAD {{ freecad_version }} source tarball
unarchive:
src: /home/kasm-default-profile/install_files/freecad-{{ freecad_version }}.tar.gz
Expand All @@ -656,14 +655,14 @@
remote_src: yes
- name: Install FreeCAD {{ freecad_version }}
copy:
src: /home/kasm-default-profile/install_files/FreeCAD_{{ freecad_version }}-{{ freecad_release_date }}-conda-Linux-x86_64-py310.AppImage
dest: /opt/FreeCAD/FreeCAD_{{ freecad_version }}-{{ freecad_release_date }}-conda-Linux-x86_64-py310.AppImage
src: /home/kasm-default-profile/install_files/FreeCAD-{{ freecad_version }}-Linux-x86_64.AppImage
dest: /opt/FreeCAD/FreeCAD-{{ freecad_version }}-Linux-x86_64.AppImage
remote_src: yes
owner: root
group: root
mode: '0755'
- name: Create symlink for FreeCAD AppImage in /usr/local/bin
shell: ln -srv /opt/FreeCAD/FreeCAD_{{ freecad_version }}-{{ freecad_release_date }}-conda-Linux-x86_64-py310.AppImage /usr/local/bin/freecad
shell: ln -srv /opt/FreeCAD/FreeCAD-{{ freecad_version }}-Linux-x86_64.AppImage /usr/local/bin/freecad
- name: Configure FreeCAD desktop shortcut
shell: echo "[Desktop Entry]\nName=FreeCAD\nGenericName=FreeCAD\nExec=/usr/local/bin/freecad\nIcon=/opt/FreeCAD/freecad-icon-16.png\nTerminal=false\nType=Application\nStartupNotify=false\nCategories=Application;Development;" > /usr/share/applications/freecad.desktop

Expand Down

0 comments on commit 2f31d51

Please sign in to comment.