Skip to content

Commit

Permalink
Sheetcam and Lightburn
Browse files Browse the repository at this point in the history
  • Loading branch information
alextrical committed Dec 5, 2023
1 parent a33df64 commit f475223
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 11 deletions.
4 changes: 2 additions & 2 deletions config/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ modules:
- stlthumb.sh
- flathub.sh
- inkscape.sh
# this sets defaults for user profiles and logins
- setdefaults.sh
- lightburn.sh
- sheetcam.sh
# this sets up the proper policy & signing files for signed images to work
- signing.sh

18 changes: 9 additions & 9 deletions config/scripts/inkstitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# builds actually ran successfully without any errors!
set -oue pipefail

#Get latest release
# mkdir -p /usr/share/inkscape
curl -s https://api.github.com/repos/inkstitch/inkstitch/releases/latest \
| grep "browser_download_url.*-linux.tar.xz" \
| cut -d : -f 2,3 \
| tr -d \" \
| xargs wget -qO - \
| xz -d \
| tar -xf - -C /usr/share/inkscape/
# #Get latest release
# # mkdir -p /usr/share/inkscape
# curl -s https://api.github.com/repos/inkstitch/inkstitch/releases/latest \
# | grep "browser_download_url.*-linux.tar.xz" \
# | cut -d : -f 2,3 \
# | tr -d \" \
# | xargs wget -qO - \
# | xz -d \
# | tar -xf - -C /usr/share/inkscape/

# # get up to date inkex version (March 18 2023)
# pip install "inkex @ git+https://gitlab.com/inkscape/extensions.git@29205f3cc6c39283e190a36d72d01ef428f668e5"
Expand Down
26 changes: 26 additions & 0 deletions config/scripts/lightburn.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/usr/bin/env bash

# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
# builds actually ran successfully without any errors!
set -oue pipefail

# Your code goes here.
#Lightburn
curl -s https://api.github.com/repos/LightBurnSoftware/deployment/releases/latest \
| grep "browser_download_url.*7z" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -nc -O /tmp/LightBurn-Linux64.7z --show-progress -qi -
#extract 7z somewhere here
7z x -t7z /tmp/LightBurn-Linux64.7z -o/usr/share/
cat > /usr/share/applications/lightburn.desktop << EOF
[Desktop Entry]
Type=Application
Name=LightBurn
Comment=Better Software For Laser Cutters
Exec=/usr/share/LightBurn/LightBurn
Icon=/usr/share/LightBurn/LightBurn.png
Categories=Graphics;
EOF
chmod +x /usr/share/applications/lightburn.desktop
24 changes: 24 additions & 0 deletions config/scripts/sheetcam.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env bash

# Tell this script to exit if there are any errors.
# You should have this in every custom script, to ensure that your completed
# builds actually ran successfully without any errors!
set -oue pipefail

# Your code goes here.
#SheetCAM
wget https://www.sheetcam.com/Downloads/akp3fldwqh/SheetCam_setupV7.1.35-64.bin --show-progress -nc -q -P /tmp
unzip /tmp/SheetCam_setupV7.1.35-64.bin "data/*" -d /usr/share/SheetCam
cat > /usr/share/applications/SheetCAM.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=SheetCam TNG
GenericName=CAM software
Comment=SheetCam TNG V7.1.35
Categories=Graphics
Exec="/usr/share/SheetCam/data/run-sheetcam"
Icon=/usr/share/SheetCam/data/resources/sheetcamlogo.png
EOF
chmod +x /usr/share/applications/SheetCAM.desktop

0 comments on commit f475223

Please sign in to comment.