ueffel / keypirinha-windowsapps Goto Github PK
View Code? Open in Web Editor NEWLists Universal Windows Apps (formerly Metro Apps) and direct links to several windows 10 settings pages in Keypirinha for launching
License: MIT License
Lists Universal Windows Apps (formerly Metro Apps) and direct links to several windows 10 settings pages in Keypirinha for launching
License: MIT License
When trying to install this Keypirinha package in my machine, I found that, when my profile.ps1 file was big enough, this call
https://github.com/ueffel/Keypirinha-WindowsApps/blob/master/windowsapps.py#L125
would not yield the results that the script was expecting. In my case I make sure a bunch of stuff is installed.
This can be easily fixed by calling powershell.exe
with the --No-Profile
parameter
I uninstalled an application (which may have been sideloaded, I forget) but the catalog always includes it, even after rebuilding the catalog.
Using the plugin entry, I unsurprisingly get the following output:
ERROR: Error from WindowsApps.WindowsApps.on_execute: <class 'FileNotFoundError'>: file not found: "shell:AppsFolder\53621FSApps.FluentTerminal_87x1pks76srcp!App" (initial path: "shell:AppsFolder\53621FSApps.FluentTerminal_87x1pks76srcp!App")
Traceback (most recent call last):
If I run the following powershell, I get no results, so the app doesn't seem to appears anywhere in any manifest, so I can't work out how it is being discovered by the plugin:
Get-AppxPackage | Select InstallLocation | ForEach-Object { Join-Path $_.InstallLocation AppxManifest.xml } | ForEach { Get-Content $_ } | Out-String -Stream | Select-String 'Fluent'
When parsing the results of the powershell call,
https://github.com/ueffel/Keypirinha-WindowsApps/blob/master/windowsapps.py#L137-L141
this bit can fail if any of the resulting packages contains a newline in any of the details. In my case it was in the dependency metadata section.
When I try to launch Windows Terminal, I am unable to run it as an administrator.
I installed whatsapp desktop, but for whatever reason it does not show up.
I tried refresh catalog, but it didn't work.
Tried updating both Keypirinha and the package but the issue persists
Following steps from earlier issue the manifest file is:
<?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:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest">
<Identity Name="DBeaverCorp.DBeaverCE" Version="21.2.0.0" Publisher="CN=F74B5FC8-3957-4A05-812E-9F2BFEBAEC05" ProcessorArchitecture="x64" />
<!-- Publisher="CN=Appx Test Root Agency Ex"-->
<!-- Publisher="CN=F74B5FC8-3957-4A05-812E-9F2BFEBAEC05"-->
<!-- Publisher="CN=DBeaver Corp, O=DBeaver Corp, L=New York, S=New York, C=US, SERIALNUMBER=7035202, OID.2.5.4.15=Private Organization, OID.1.3.6.1.4.1.311.60.2.1.1=New York, OID.1.3.6.1.4.1.311.60.2.1.2=Delaware, OID.1.3.6.1.4.1.311.60.2.1.3=US" -->
<Properties>
<DisplayName>DBeaver CE</DisplayName>
<PublisherDisplayName>DBeaver Corp</PublisherDisplayName>
<Description>DBeaver Community Edition - Free Universal Database Manager</Description>
<Logo>images\dbeaver-44x44.png</Logo>
</Properties>
<Resources>
<Resource Language="en-us" />
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.0.0" MaxVersionTested="10.0.15063.0" />
</Dependencies>
<Capabilities>
<rescap:Capability Name="runFullTrust" />
</Capabilities>
<Applications>
<Application Id="DBeaver" Executable="dbeaver.exe" EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements DisplayName="DBeaver CE" Description="DBeaver Community Edition - Free Universal Database Manager" Square150x150Logo="images\dbeaver-150x150.png" Square44x44Logo="images\dbeaver-44x44.png" BackgroundColor="#dedede" />
<Extensions>
<uap:Extension Category="windows.fileTypeAssociation" EntryPoint="Windows.FullTrustApplication" Executable="dbeaver.exe">
<uap:FileTypeAssociation Name=".sql">
<uap:EditFlags AlwaysUnsafe="false" OpenIsSafe="false" />
<uap:SupportedFileTypes>
<uap:FileType>.sql</uap:FileType>
</uap:SupportedFileTypes>
</uap:FileTypeAssociation>
</uap:Extension>
</Extensions>
</Application>
</Applications>
<mp:PhoneIdentity PhoneProductId="862605b6-d3b6-4377-9ca6-1be8fecb5f3c" PhonePublisherId="735f0fd9-c6eb-4fa7-831d-50bb40ec14ea" />
</Package>
using the modified package to log stacktrace shows nothing of any interest regarding this issue:
10:44:45.566 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:quietmomentshome', 'page_name': 'SystemSettings_QuietMoments_On_Home_Mode'} display name empty
10:44:46.020 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:batterysaver-usagedetails', 'page_name': 'SystemSettings_BatterySaver_LandingPage_UsageDetailsLink'} display name empty
10:44:47.540 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:network-wificalling', 'page_name': 'SettingsPageNetworkWiFiCalling'} display name empty
10:44:48.042 WindowsApps.WindowsApps: Cataloged 27 items in 3.2 seconds
10:44:49.029 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:signinoptions', 'page_name': 'SettingsPageAccountsManage'} display name empty
10:44:50.095 WindowsApps.ModernControlPanel: Cataloged 89 items in 5.3 seconds
note that I'm not sure if I can reproduce this issue on my main machine yet and I'm using this one only once a week so I may be slow with replies
I have Forza Horizon 3 and 4 installed and can't get them to show in results, I don't know if it happens with any other app, I'll comment if I find something more.
Thank you for this package!
With the standard configuration all icons are white.
To see the icons for Windows app and settings on white background I have configured preferred_contrast = white
. Most icons are black and visible now.
But the icons of Maps, Print 3D, 3D Viewer and Microsoft Store are still white. Can this be changed in Keypirinha-WindowsApps?
Hi, I see Wox launcher supports HiDPI icons for UWP apps:
https://github.com/Wox-launcher/Wox/blob/master/Plugins/Wox.Plugin.Program/Programs/UWP.cs
Perhaps you could implement this as well?
This package works fine in general. But when I look into the console, I realize that this package is generating multiple warnings:
11:12:52.759 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:quietmomentshome', 'page_name': 'SystemSettings_QuietMoments_On_Home_Mode'} display name empty
11:12:54.250 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:batterysaver-usagedetails', 'page_name': 'SystemSettings_BatterySaver_LandingPage_UsageDetailsLink'} display name empty
11:12:59.428 WindowsApps.WindowsApps: Cataloged 37 items in 23.0 seconds
11:12:59.487 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:network-wificalling', 'page_name': 'SettingsPageNetworkWiFiCalling'} display name empty
11:13:03.715 WARNING: WindowsApps.ModernControlPanel: App Setting: {'settings_uri': 'ms-settings:signinoptions', 'page_name': 'SettingsPageAccountsManage'} display name empty
11:13:06.581 WindowsApps.ModernControlPanel: Cataloged 90 items in 30.1 seconds
Moreover, the time that it takes to load the package is on the slow side. Is this normal or am I missing something? How can I fix those warnings?
The package is not working since I updated my windows to this build, I received this message in keypiranha console
22:24:07.127 ** ERROR: Error from WindowsApps.WindowsApps.on_catalog: <class 'OSError'>: [WinError 87] The parameter is incorrect
Traceback (most recent call last):
File "D:\System\Keypirinha\portable\Profile\InstalledPackages\WindowsApps.keypirinha-package\windowsapps.py", line 173, in on_catalog
File "lib\subprocess.py", line 775, in init
File "lib\subprocess.py", line 1178, in _execute_child
I get the following error when installing this plugin. This is both with PackageControl and manually.
Running on a Windows10 machine
** ERROR: Error from WindowsApps.WindowsApps.on_catalog: <class 'UnicodeDecodeError'>: 'charmap' codec can't decode byte 0x81 in position 106229: character maps to
Traceback (most recent call last):
File "C:\Users[me]\AppData\Roaming\Keypirinha\InstalledPackages\WindowsApps.keypirinha-package\windowsapps.py", line 173, in on_catalog
File "lib\subprocess.py", line 926, in communicate
File "lib\encodings\cp1252.py", line 23, in decode
08:45:55.739 WindowsApps.ModernControlPanel: Cataloged 91 items in 3.9 seconds
Would it be possible to support actions for Windows Apps? So that one could open an elevated terminal, for example?
These are the actions available in the Windows menu/search for the Windows Terminal for example (in German):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.