ShellExecute() call reenters Qt event loop, so each time we schedule a delayed action (like destroying FileLoader) and after that we call ShellExecute (in psOpenFile) we destroy it inside this call and can't use it after. So now we perform ShellExecute calls only delayed (using task queue).
43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Package
|
|
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
|
|
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
|
|
xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2"
|
|
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
|
|
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
|
IgnorableNamespaces="uap uap2 uap3 rescap">
|
|
<Identity Name="TelegramDesktop"
|
|
ProcessorArchitecture="x64"
|
|
Publisher="CN=Telegram Messenger LLP, O=Telegram Messenger LLP, L=London, C=GB"
|
|
Version="1.0.17.0" />
|
|
<Properties>
|
|
<DisplayName>Telegram Desktop</DisplayName>
|
|
<PublisherDisplayName>Telegram Messenger LLP</PublisherDisplayName>
|
|
<Description>Telegram Desktop official messenger</Description>
|
|
<Logo>Assets\logo\logo.png</Logo>
|
|
</Properties>
|
|
<Resources>
|
|
<Resource Language="en-us" />
|
|
</Resources>
|
|
<Dependencies>
|
|
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14316.0" MaxVersionTested="10.0.14316.0" />
|
|
</Dependencies>
|
|
<Capabilities>
|
|
<rescap:Capability Name="runFullTrust"/>
|
|
</Capabilities>
|
|
<Applications>
|
|
<Application Id="Telegram.TelegramDesktop.Store" Executable="Telegram.exe" EntryPoint="Windows.FullTrustApplication">
|
|
<uap:VisualElements
|
|
BackgroundColor="transparent"
|
|
DisplayName="Telegram Desktop"
|
|
Square150x150Logo="Assets\logo150\logo150.png"
|
|
Square44x44Logo="Assets\logo44\logo44.png"
|
|
Description="Telegram Desktop official messenger" />
|
|
<Extensions>
|
|
<uap3:Extension Category="windows.protocol">
|
|
<uap3:Protocol Name="tg" Parameters="-- "%1"" />
|
|
</uap3:Extension>
|
|
</Extensions>
|
|
</Application>
|
|
</Applications>
|
|
</Package>
|