Skip to content

Commit

Permalink
Fixed SC2REPLAY extension. Changed protocol to nibbler.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Apr 6, 2010
1 parent 18610ae commit 51b4ec6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions MapLoader/MapLoader.csproj
Expand Up @@ -106,6 +106,7 @@
<ItemGroup> <ItemGroup>
<Content Include="extensions.xml"> <Content Include="extensions.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</Content> </Content>
<Content Include="nibbits.ico" /> <Content Include="nibbits.ico" />
<None Include="loader.reg" /> <None Include="loader.reg" />
Expand Down
2 changes: 1 addition & 1 deletion MapLoader/Program.cs
Expand Up @@ -25,7 +25,7 @@ static void Main(string[] args)
string link = args[0]; string link = args[0];


//I recommend relocating "nibbits" somewhere, and adding some logic to register the helper. //I recommend relocating "nibbits" somewhere, and adding some logic to register the helper.
link = link.Replace(link.Substring(0, "nibbits".Length), "http"); link = link.Replace(link.Substring(0, "nibbler".Length), "http");


Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Expand Down
2 changes: 1 addition & 1 deletion MapLoader/extensions.xml
@@ -1,6 +1,6 @@
<extensions> <extensions>
<!-- Starcraft 2 Replays --> <!-- Starcraft 2 Replays -->
<extension type="s2replay"> <extension type="sc2replay">
<default>%DOCUMENTS%\Starcraft II Beta\Replays\Multiplayer\Recent</default> <default>%DOCUMENTS%\Starcraft II Beta\Replays\Multiplayer\Recent</default>
<windows7>%DOCUMENTS%\Starcraft II Beta\Replays\Multiplayer\Recent</windows7> <windows7>%DOCUMENTS%\Starcraft II Beta\Replays\Multiplayer\Recent</windows7>
</extension> </extension>
Expand Down

0 comments on commit 51b4ec6

Please sign in to comment.