Skip to content

Commit

Permalink
Fix github urls
Browse files Browse the repository at this point in the history
  • Loading branch information
C1rdec committed Dec 5, 2024
1 parent 79fa0f0 commit 30b9e2f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/PoeLurker.Core/Services/CollaborationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class CollaborationService : HttpServiceBase
{
#region Fields

private static readonly string BaseGitUrl = "https://raw.githubusercontent.com/C1rdec/Poe-Lurker/master/assets/Collaboration/";
private static readonly string BaseGitUrl = "https://raw.githubusercontent.com/C1rdec/Poe-Lurker/main/assets/Collaboration/";
private static readonly string InformationFileUrl = $"{BaseGitUrl}Info";
private static readonly string ImageFileUrl = $"{BaseGitUrl}Image";

Expand Down
4 changes: 2 additions & 2 deletions src/PoeLurker.Core/Services/GithubService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Task<List<Gem>> Gems()
}
else
{
_gemsTask = GetText($"https://raw.githubusercontent.com/C1rdec/Poe-Lurker/master/assets/Data/GemInfo.json?{Guid.NewGuid()}").ContinueWith(t =>
_gemsTask = GetText($"https://raw.githubusercontent.com/C1rdec/Poe-Lurker/main/assets/Data/GemInfo.json?{Guid.NewGuid()}").ContinueWith(t =>
{
return JsonSerializer.Deserialize<List<Gem>>(t.Result, Options);
});
Expand All @@ -67,7 +67,7 @@ public Task<List<UniqueItem>> Uniques()
}
else
{
_itemsTask = GetText($"https://raw.githubusercontent.com/C1rdec/Poe-Lurker/master/assets/Data/UniqueInfo.json?{Guid.NewGuid()}").ContinueWith(t =>
_itemsTask = GetText($"https://raw.githubusercontent.com/C1rdec/Poe-Lurker/main/assets/Data/UniqueInfo.json?{Guid.NewGuid()}").ContinueWith(t =>
{
return JsonSerializer.Deserialize<List<UniqueItem>>(t.Result, Options);
});
Expand Down
2 changes: 1 addition & 1 deletion src/PoeLurker.UI/ViewModels/PushoverViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void NewAccount()
/// </summary>
public void Info()
{
Process.Start("https://github.com/C1rdec/Poe-Lurker/blob/master/assets/Pushover.md");
Process.Start("https://github.com/C1rdec/Poe-Lurker/blob/main/assets/Pushover.md");
}

#endregion
Expand Down
2 changes: 1 addition & 1 deletion src/PoeLurker.UI/ViewModels/SettingsViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ public void UserGuide()
/// Cheats the sheet.
/// </summary>
public void CheatSheet()
=> OpenUrl(@"https://github.com/C1rdec/Poe-Lurker/blob/master/assets/CheatSheet.md");
=> OpenUrl(@"https://github.com/C1rdec/Poe-Lurker/blob/main/assets/CheatSheet.md");

/// <summary>
/// Logins to patreon.
Expand Down
2 changes: 1 addition & 1 deletion src/PoeLurker.UI/ViewModels/WelcomeViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void OpenUserGuide()
/// </summary>
public void OpenCheatSheet()
{
Process.Start(@"https://github.com/C1rdec/Poe-Lurker/blob/master/assets/CheatSheet.md");
Process.Start(@"https://github.com/C1rdec/Poe-Lurker/blob/main/assets/CheatSheet.md");
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/PoeLurker.UI/Views/WelcomeView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<TextBlock HorizontalAlignment="Center" FontFamily="pack://application:,,,/Assets/#Fontin">Poe Lurker is currently running in the system tray.</TextBlock>
<Image Height="140"
Margin="0,10,0,0"
Source="https://raw.githubusercontent.com/C1rdec/Poe-Lurker/master/assets/SystemTray.png" />
Source="https://raw.githubusercontent.com/C1rdec/Poe-Lurker/main/assets/SystemTray.png" />
<TextBlock Margin="0,30,0,0"
HorizontalAlignment="Center"
FontFamily="pack://application:,,,/Assets/#Fontin">
Expand Down
2 changes: 1 addition & 1 deletion stylecop.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"settings": {
"documentationRules": {
"companyName": "Wohs Inc.",
"copyrightText": "Copyright © {companyName}"
"copyrightText": "Copyright {companyName}"
},
"layoutRules": {
"newlineAtEndOfFile": "omit"
Expand Down

0 comments on commit 30b9e2f

Please sign in to comment.