This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Change the value of LSUIElement to true (1) | |
| # LSUIElement specifies whether or not an application is an agent, essentially hiding its icon from the dock. | |
| defaults write /Applications/XP-PenPenTabletPro/PenTablet.app/Contents/Info.plist LSUIElement 1 | |
| # Resign the application. Failing to do so will prevent the application to launch after the changes. | |
| sudo codesign -f -s - /Applications/XP-PenPenTabletPro/PenTablet.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| DIR=$(dirname $0 | realpath) | |
| # Check for .NET | |
| if command -v dotnet >/dev/null 2>&1; then | |
| echo "Skipping .NET installation" | |
| else | |
| echo ".NET is not installed. Installing..." | |
| /bin/bash -c "$(curl -fsSL https://dot.net/v1/dotnet-install.sh)" |