diff --git a/config/recipe.yml b/config/recipe.yml index c85c9cedcf..ecc227d2c9 100644 --- a/config/recipe.yml +++ b/config/recipe.yml @@ -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 diff --git a/config/scripts/inkstitch.sh b/config/scripts/inkstitch.sh index 8d0c0c9534..b760e8e642 100755 --- a/config/scripts/inkstitch.sh +++ b/config/scripts/inkstitch.sh @@ -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" diff --git a/config/scripts/lightburn.sh b/config/scripts/lightburn.sh new file mode 100644 index 0000000000..372945a5a4 --- /dev/null +++ b/config/scripts/lightburn.sh @@ -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 \ No newline at end of file diff --git a/config/scripts/sheetcam.sh b/config/scripts/sheetcam.sh new file mode 100644 index 0000000000..5a68c84215 --- /dev/null +++ b/config/scripts/sheetcam.sh @@ -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 \ No newline at end of file