Skip to content

Instantly share code, notes, and snippets.

View sirj0k3r's full-sized avatar

sirj0k3r

View GitHub Profile
@sirj0k3r
sirj0k3r / hideXPPenIcon.sh
Last active January 8, 2026 01:09
Hide XP-Pen App Icon From Dock
#!/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
@sirj0k3r
sirj0k3r / PKHeX in a Wine Bottle.sh
Last active August 29, 2025 11:15
Creating a PKHeX.app using Wine
#!/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)"