[BACK]Return to make-link-for-desktop.sh CVS log [TXT][DIR] Up to [contributed] / brogue-ce / linux

File: [contributed] / brogue-ce / linux / make-link-for-desktop.sh (download)

Revision 1.1, Thu May 27 20:31:46 2021 UTC (2 years, 11 months ago) by rubenllorente
Branch point for: MAIN

Initial revision

#!/usr/bin/env bash
cd `dirname $0`
sed s?PATH?`pwd`?g > brogue.desktop <<-end
	[Desktop Entry]
	Version=1.0
	Type=Application
	Name=Brogue
	GenericName=Roguelike
	Comment=Brave the Dungeons of Doom!
	Comment[de]=Meistere die Dungeons der Verdammnis!
	Comment[ru]=Бросьте вызов Подземельям Погибели!
	Exec=PATH/brogue
	Path=PATH
	Icon=PATH/bin/assets/icon.png
	Terminal=false
	Categories=Game;
end

chmod +x brogue.desktop

echo "Created brogue.desktop."
echo "If your desktop is in the default location, type:"
echo "mv brogue.desktop ~/Desktop"