forked from blue-build/legacy-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a33df64
commit f475223
Showing
4 changed files
with
61 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |