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
|
npm install -g @anthropic-ai/claude-code
|
||||||
ok "Claude Code installiert"
|
ok "Claude Code installiert"
|
||||||
|
|
||||||
# ── 3. PrusaSlicer ──────────────────────────────────────────────────────
|
# ── 3. PrusaSlicer (Flatpak) ──────────────────────────────────────────────
|
||||||
echo -e "\n=== 3/5 PrusaSlicer AppImage ==="
|
echo -e "\n=== 3/5 PrusaSlicer ==="
|
||||||
mkdir -p ~/Applications
|
if ! command -v flatpak &>/dev/null; then
|
||||||
PRUSA_URL="https://github.com/prusa3d/PrusaSlicer/releases/download/version_2.8.1/PrusaSlicer-2.8.1+linux-x64-GTK3-202410181354.AppImage"
|
sudo apt install -y flatpak
|
||||||
if [[ ! -f ~/Applications/PrusaSlicer.AppImage ]]; then
|
|
||||||
wget -q --show-progress -O ~/Applications/PrusaSlicer.AppImage "$PRUSA_URL"
|
|
||||||
chmod +x ~/Applications/PrusaSlicer.AppImage
|
|
||||||
fi
|
fi
|
||||||
mkdir -p ~/.local/share/applications
|
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
cat > ~/.local/share/applications/prusaslicer.desktop <<EOF
|
flatpak install --user -y flathub com.prusa3d.PrusaSlicer
|
||||||
[Desktop Entry]
|
ok "PrusaSlicer installiert (Flatpak)"
|
||||||
Name=PrusaSlicer
|
|
||||||
Exec=$HOME/Applications/PrusaSlicer.AppImage
|
|
||||||
Icon=prusaslicer
|
|
||||||
Type=Application
|
|
||||||
Categories=Graphics;
|
|
||||||
EOF
|
|
||||||
ok "PrusaSlicer installiert"
|
|
||||||
|
|
||||||
# ── 4. Dot-Files ────────────────────────────────────────────────────────
|
# ── 4. Dot-Files ────────────────────────────────────────────────────────
|
||||||
echo -e "\n=== 4/5 Dot-Files ==="
|
echo -e "\n=== 4/5 Dot-Files ==="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue