PrusaSlicer: AppImage durch Flatpak ersetzen (kein Linux-AppImage mehr ab 2.9.x)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
fc2374e268
commit
5e4e2eb825
1 changed files with 7 additions and 17 deletions
|
|
@ -38,24 +38,14 @@ export PATH="$HOME/.npm-global/bin:$PATH"
|
|||
npm install -g @anthropic-ai/claude-code
|
||||
ok "Claude Code installiert"
|
||||
|
||||
# ── 3. PrusaSlicer ──────────────────────────────────────────────────────
|
||||
echo -e "\n=== 3/5 PrusaSlicer AppImage ==="
|
||||
mkdir -p ~/Applications
|
||||
PRUSA_URL="https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.8.1/PrusaSlicer-2.8.1+linux-x64-GTK3-202410181354.AppImage"
|
||||
if [[ ! -f ~/Applications/PrusaSlicer.AppImage ]]; then
|
||||
wget -q --show-progress -O ~/Applications/PrusaSlicer.AppImage "$PRUSA_URL"
|
||||
chmod +x ~/Applications/PrusaSlicer.AppImage
|
||||
# ── 3. PrusaSlicer (Flatpak) ──────────────────────────────────────────────
|
||||
echo -e "\n=== 3/5 PrusaSlicer ==="
|
||||
if ! command -v flatpak &>/dev/null; then
|
||||
sudo apt install -y flatpak
|
||||
fi
|
||||
mkdir -p ~/.local/share/applications
|
||||
cat > ~/.local/share/applications/prusaslicer.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Name=PrusaSlicer
|
||||
Exec=$HOME/Applications/PrusaSlicer.AppImage
|
||||
Icon=prusaslicer
|
||||
Type=Application
|
||||
Categories=Graphics;
|
||||
EOF
|
||||
ok "PrusaSlicer installiert"
|
||||
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install --user -y flathub com.prusa3d.PrusaSlicer
|
||||
ok "PrusaSlicer installiert (Flatpak)"
|
||||
|
||||
# ── 4. Dot-Files ────────────────────────────────────────────────────────
|
||||
echo -e "\n=== 4/5 Dot-Files ==="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue