Skip to content

Commit

Permalink
Remove updater
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Jan 1, 2025
1 parent 241950d commit 0cb2f89
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion Tools/GbxExplorerOld/Client/GbxExplorerOld.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NativeSharpLzo" Version="0.3.3" />
<PackageReference Include="Toolbelt.Blazor.PWA.Updater" Version="3.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions Tools/GbxExplorerOld/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Globalization;
using Blazored.LocalStorage;
using Microsoft.AspNetCore.Components.Authorization;
using Toolbelt.Blazor.Extensions.DependencyInjection;

CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;

Expand All @@ -20,7 +19,6 @@

builder.Services.AddAuthorizationCore();
builder.Services.AddBlazoredLocalStorage();
builder.Services.AddPWAUpdater();

builder.Services.AddScoped<AuthenticationStateProvider, DiscordAuthenticationStateProvider>();

Expand Down
6 changes: 1 addition & 5 deletions Tools/GbxExplorerOld/Client/Shared/MainLayout.razor
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
@using Toolbelt.Blazor.PWA.Updater;

@inherits LayoutComponentBase

<PWAUpdater Align="PWAUpdater.Aligns.Buttom" />
@inherits LayoutComponentBase

@Body
1 change: 0 additions & 1 deletion Tools/GbxExplorerOld/Client/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
});
</script>
<script>navigator.serviceWorker.register('service-worker.js');</script>
<script src="_content/Toolbelt.Blazor.PWA.Updater.Service/script.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/js/all.min.js"></script>

Expand Down

0 comments on commit 0cb2f89

Please sign in to comment.