Skip to content

Commit bec130d

Browse files
committed
updating
1 parent 37c1e10 commit bec130d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

arduinoappimage

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This profile allows everything and only exists to give the
2+
# application a name instead of having the label "unconfined"
3+
4+
abi <abi/4.0>,
5+
include <tunables/global>
6+
7+
profile arduinoappimage /usr/local/bin/arduino-2 flags=(default_allow) {
8+
userns,
9+
10+
# Site-specific additions and overrides. See local/README for details.
11+
include if exists <local/arduinoappimage>
12+
}

setupPackages.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ if (! test -e $CURADESKTOP) then
126126
fi
127127
if (! test -e $ARDUINODESKTOP) then
128128
sudo wget https://downloads.arduino.cc/arduino-ide/arduino-ide_2.3.4_Linux_64bit.AppImage -O /usr/local/bin/arduino-2
129-
sudo chmod +x /usr/local/bin/arduino-2
129+
sudo chmod +x /usr/local/bin/arduino-2
130+
sudo cp $SCRIPT/arduinoappimage /etc/apparmor.d/
131+
sudo systemctl reload apparmor.service
130132
sudo wget https://www.arduino.cc/wiki/370832ed4114dd35d498f2f449b4781e/arduino.svg -O /usr/local/bin/arduino.svg
131133
echo "[Desktop Entry]
132134
Version=1.0

0 commit comments

Comments
 (0)