Skip to content

Commit 0bef749

Browse files
committed
comment code
1 parent bbc3f3c commit 0bef749

2 files changed

Lines changed: 4 additions & 12 deletions

File tree

src/UniGetUI/App.xaml.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,15 +404,14 @@ public async Task ShowMainWindowFromRedirectAsync(AppActivationArguments rawArgs
404404
Logger.Warn("REDIRECTOR ACTIVATOR: args.Kind is not Launch but rather " + kind);
405405
}
406406

407-
if (kind == ExtendedActivationKind.Protocol)
407+
/*if (kind == ExtendedActivationKind.Protocol)
408408
{
409-
if (rawArgs.Data is Windows.ApplicationModel.Activation.IProtocolActivatedEventArgs protocolArgs)
409+
if (rawArgs.Data is IProtocolActivatedEventArgs protocolArgs)
410410
{
411411
Logger.Info($"Protocol activation received: {protocolArgs.Uri}");
412412
}
413-
414413
MainWindow.DispatcherQueue.TryEnqueue(MainWindow.Activate);
415-
}
414+
}*/
416415
}
417416

418417
public async void DisposeAndQuit(int outputCode = 0)

src/UniGetUI/Package.appxmanifest

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22

33
<Package
44
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
@@ -42,13 +42,6 @@
4242
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" />
4343
<uap:SplashScreen Image="Assets\SplashScreen.png" />
4444
</uap:VisualElements>
45-
<Extensions>
46-
<uap:Extension Category="windows.protocol">
47-
<uap:Protocol Name="unigetui-auth">
48-
<uap:DisplayName>UniGetUI Auth</uap:DisplayName>
49-
</uap:Protocol>
50-
</uap:Extension>
51-
</Extensions>
5245
</Application>
5346
</Applications>
5447

0 commit comments

Comments
 (0)