Skip to content

Commit

Permalink
OrcaSlicer Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alextrical committed Dec 7, 2023
1 parent c16c391 commit 5603f74
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/scripts/orcaslicer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ chmod +x /tmp/OrcaSlicer/OrcaSlicer.AppImage

#Extract and move to Usr folder
(cd /tmp/OrcaSlicer && /tmp/OrcaSlicer/OrcaSlicer.AppImage --appimage-extract)
yes | cp -rf /tmp/OrcaSlicer/squashfs-root/usr/share/* /usr/share
yes | cp -rf /tmp/OrcaSlicer/squashfs-root/bin/* /usr/bin
yes | cp -rf /tmp/OrcaSlicer/squashfs-root/resources/* /usr/resources
# yes | cp -rf /tmp/OrcaSlicer/squashfs-root/usr/share/* /usr/share
# yes | cp -rf /tmp/OrcaSlicer/squashfs-root/bin/* /usr/bin
# yes | cp -rf /tmp/OrcaSlicer/squashfs-root/resources/* /usr/resources

#Setup Desktop file
mv /tmp/OrcaSlicer/squashfs-root/OrcaSlicer.desktop /usr/share/applications/OrcaSlicer.desktop
sed -i 's@AppRun@/usr/bin/orca-slicer@g' /usr/share/applications/OrcaSlicer.desktop
sed -i 's@Utility;@Graphics;3DGraphics;Engineering;@g' /usr/share/applications/OrcaSlicer.desktop
echo "Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA" >> /usr/share/applications/OrcaSlicer.desktop
# #Setup Desktop file
# mv /tmp/OrcaSlicer/squashfs-root/OrcaSlicer.desktop /usr/share/applications/OrcaSlicer.desktop
# sed -i 's@AppRun@/usr/bin/orca-slicer@g' /usr/share/applications/OrcaSlicer.desktop
# sed -i 's@Utility;@Graphics;3DGraphics;Engineering;@g' /usr/share/applications/OrcaSlicer.desktop
# echo "Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA" >> /usr/share/applications/OrcaSlicer.desktop

0 comments on commit 5603f74

Please sign in to comment.