A Windows 11 tool that shows the trending posts (title, link and preview) of Taiwan's PTT Gossiping bulletin board, demonstrating the implementation of Windows widgets experience, built on top of official SDK widget cpp sample:
For Windows x64 machines, prebuilt binaries are available. Enables the developer mode in Windows Settings, and make sure the device has Micosoft Visual C++ Redistributable (x64) installed.
Find and download the files in the repository's release page.
- Double click
windowsappruntimeinstall-x64.exe
to install the core app runtime. - Then, right click on the file
SampleWidgetProviderAppPackage_1.0.0.0_x64.cer
, and choose "Install Certificate". Select location "Local Machine" and place it into "Trusted Root Certification Authorities". - Lastly, double click and install
SampleWidgetProviderAppPackage_1.0.0.0_x64.msixbundle
.
If everything goes well, the wiget should be pinnable/activatable in the widget panel (whose entry is at the bottom left side) by clicking the "+" (add widgets) icon.
The MSIX app package is removable in "Settings > Apps > Installed apps". Certificate can be manually deleted in "Windows+R: certlm.msc", too. Some temporary files may be left in C:\Users\Public\Documents\
, and it's safe to wipe them out.
To modify, customize or build additional flavors, Visual Studio 2022 is the suggested IDE to use. Follow the docs to setup required workloads.
Open the solution file SampleWidgets.sln
to develop new features and changes. Click "delopy" on the project "SampleWidgetProviderAppPackage".
Or use "Publish > Create App Packages..." to generate a MSIX installer bundle as well as a self signed certificate.