This file contains 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
@SET osu_exe=\"%~dp0osu!.exe\" | |
@SET open_command=%osu_exe% \"%%1\" | |
@SET default_icon=%osu_exe%,1 | |
REG add "HKCR\osu" /ve /t REG_SZ /d "osu! url handler" /f | |
REG add "HKCR\osu" /v "URL Protocol" /t REG_SZ /d "" /f | |
REG add "HKCR\osu\DefaultIcon" /ve /t REG_SZ /d "%default_icon%" /f | |
REG add "HKCR\osu\shell\open\command" /ve /t REG_SZ /d "%open_command%" /f | |
REG add "HKCR\osu!" /ve /t REG_SZ /d "osu! beatmap" /f | |
REG add "HKCR\osu!\DefaultIcon" /ve /t REG_SZ /d "%default_icon%" /f |