Skip to content

Commit

Permalink
Merge branch 'main' into Introduce-option-to-control-number-of-walls-…
Browse files Browse the repository at this point in the history
…on-skirt-after-first-layer
  • Loading branch information
igiannakas authored Mar 3, 2025
2 parents 3d20a89 + d9f4e6b commit 32f4c05
Show file tree
Hide file tree
Showing 349 changed files with 14,685 additions and 12,821 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ jobs:
manifest-path: flatpak/io.github.softfever.OrcaSlicer.yml
cache: true
upload-artifact: false
- name: Upload artifacts Flatpak
uses: actions/upload-artifact@v4
with:
name: OrcaSlicer-Linux-flatpak_${{ env.ver }}.flatpak
path: '/__w/OrcaSlicer/OrcaSlicer/OrcaSlicer-Linux-flatpak_${{ env.ver }}.flatpak'
- name: Deploy Flatpak to nightly release
if: ${{github.ref == 'refs/heads/main'}}
uses: WebFreak001/deploy-nightly@v3.2.0
Expand Down
11 changes: 7 additions & 4 deletions BuildLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,13 @@ then
exit 0
fi

DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release)
# treat ubuntu as debian
if [ "${DISTRIBUTION}" == "ubuntu" ] || [ "${DISTRIBUTION}" == "linuxmint" ]
then
DISTRIBUTION=$(awk -F= '/^ID=/ {print $2}' /etc/os-release | tr -d '"')
DISTRIBUTION_LIKE=$(awk -F= '/^ID_LIKE=/ {print $2}' /etc/os-release | tr -d '"')
# Check for direct distribution match to Ubuntu/Debian
if [ "${DISTRIBUTION}" == "ubuntu" ] || [ "${DISTRIBUTION}" == "linuxmint" ]; then
DISTRIBUTION="debian"
# Check if distribution is Debian/Ubuntu-like based on ID_LIKE
elif [[ "${DISTRIBUTION_LIKE}" == *"debian"* ]] || [[ "${DISTRIBUTION_LIKE}" == *"ubuntu"* ]]; then
DISTRIBUTION="debian"
fi
if [ ! -f ./linux.d/${DISTRIBUTION} ]
Expand Down
Loading

0 comments on commit 32f4c05

Please sign in to comment.