Skip to content

Commit

Permalink
fix snap
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 19, 2024
1 parent 8aafd99 commit 21a52e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion buildsnap.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker run --rm -it --privileged -v $PWD:/data -w /data diddledani/snapcraft:core20
docker run --rm -it --privileged -v $PWD:/data -w /data diddledani/snapcraft:core22
6 changes: 1 addition & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: oneware
base: core20
base: core22

confinement: classic

Expand All @@ -24,9 +24,6 @@ parts:
override-build: |
export TZ=Europe/Berlin
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update; sudo apt-get install -y apt-transport-https && sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0
cd studio/OneWare.Studio.Desktop
dotnet publish -f net8.0 -r linux-x64 -c Release -o $SNAPCRAFT_PART_INSTALL
Expand All @@ -48,4 +45,3 @@ parts:
- libx11-6
- libice6
- libsm6
- liblttng-ust0

0 comments on commit 21a52e0

Please sign in to comment.