- Open Filer
- In the terminal, run:
mkdir -p Xterm.app - In Filer, verify that
Xterm.appis displayed as and behaves like a normal folder - In the terminal, run:
echo '#\!/bin/sh' > Xterm.app/Xterm && echo 'xterm' >> Xterm.app/Xterm - In Filer, reload and verify that
Xterm.appis still displayed as and still behaves like a normal folder - In the terminal, run:
chmod +x Xterm.app/Xterm - In Filer, reload and verify that
Xtermis displayed with a different icon and without the.appextension - In Filer, verify that
Xtermin fact opens the Xterm application when double-clicked
- Download https://raw.githubusercontent.com/transmission/transmission-releases/master/Transmission-3.00.dmg
- Open the dmg to mount it
- Open Filer
- In Filer, go to the mountpoint of the disk image and verify that Transmission is displayed with the Transmission icon and without the
.appextension - In Filer, verify that
Transmissionin fact opens the Transmission application when double-clicked
su
wget -c "https://raw.githubusercontent.com/transmission/transmission-releases/master/Transmission-3.00.dmg"
pkg install dmg2img fusefs-hfsfuse
dmg2img -v /home/user/Downloads/Transmission-3.00.dmg
mdconfig -a -t vnode -f /home/user/Downloads/Transmission-3.00.img
file -s /dev/md0p1
/usr/local/bin/hfsfuse --force -o noatime /dev/md0p1 /mnt
- In the terminal, run the commands above
- Open Filer
- In Filer, go to
/mntand verify that Transmission is displayed with the Transmission icon and without the.appextension - In Filer, verify that
Transmissiondoes not try to launch the application when double-clicked, but instead the bundle folder is opened (since we are not running on macOS)
- Open Filer
- In the terminal, run:
mkdir -p Xterm.AppDir - In Filer, verify that
Xterm.appis displayed as and behaves like a normal folder - In the terminal, run:
echo '#\!/bin/sh' > Xterm.AppDir/AppRun && echo 'xterm' >> Xterm.AppDir/AppRun - In Filer, reload and verify that
Xterm.AppDiris still displayed as and still behaves like a normal folder - In the terminal, run:
chmod +x Xterm.AppDir/AppRun - In Filer, reload and verify that
Xtermis displayed with a different icon and without the.AppDirextension - In Filer, verify that
Xtermin fact opens the Xterm application when double-clicked