Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions docs/gui-usage.md

This file was deleted.

7 changes: 7 additions & 0 deletions samples/cpp-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ For a complete step-by-step guide, see the [C++ Getting Started Guide](../../doc

- Visual Studio Native Desktop workload or Visual Studio with C++ development tools
- CMake 3.20 or later
- WinApp CLI installed

## Building and Running

### Restore dependencies

```powershell
winapp restore
```

### Build the Application

```powershell
Expand Down
12 changes: 6 additions & 6 deletions samples/cpp-app/winapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ packages:
- name: Microsoft.Windows.CppWinRT
version: 2.0.250303.1
- name: Microsoft.Windows.SDK.BuildTools
version: 10.0.26100.7175
version: 10.0.26100.7705
- name: Microsoft.WindowsAppSDK
version: 1.8.251106002
version: 1.8.260317003
- name: Microsoft.Windows.ImplementationLibrary
version: 1.0.250325.1
version: 1.0.260126.7
- name: Microsoft.Windows.SDK.CPP
version: 10.0.26100.7175
version: 10.0.26100.7705
- name: Microsoft.Windows.SDK.CPP.x64
version: 10.0.26100.7175
version: 10.0.26100.7705
- name: Microsoft.Windows.SDK.CPP.arm64
version: 10.0.26100.7175
version: 10.0.26100.7705
Binary file added samples/electron/Assets/AppList.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.scale-125.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.scale-150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.scale-200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.scale-400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-30.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-36.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added samples/electron/Assets/AppList.targetsize-64.png
Binary file added samples/electron/Assets/AppList.targetsize-80.png
Binary file added samples/electron/Assets/AppList.targetsize-96.png
Binary file removed samples/electron/Assets/LockScreenLogo.png
Diff not rendered.
Binary file removed samples/electron/Assets/LockScreenLogo.scale-200.png
Diff not rendered.
Binary file added samples/electron/Assets/MedTile.png
Binary file added samples/electron/Assets/MedTile.scale-125.png
Binary file added samples/electron/Assets/MedTile.scale-150.png
Binary file added samples/electron/Assets/MedTile.scale-400.png
Binary file removed samples/electron/Assets/SplashScreen.png
Diff not rendered.
Binary file removed samples/electron/Assets/SplashScreen.scale-200.png
Diff not rendered.
Binary file removed samples/electron/Assets/Square150x150Logo.png
Diff not rendered.
Binary file removed samples/electron/Assets/Square44x44Logo.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file modified samples/electron/Assets/StoreLogo.png
Binary file added samples/electron/Assets/StoreLogo.scale-125.png
Binary file added samples/electron/Assets/StoreLogo.scale-150.png
Binary file added samples/electron/Assets/StoreLogo.scale-200.png
Binary file added samples/electron/Assets/StoreLogo.scale-400.png
Binary file removed samples/electron/Assets/Wide310x150Logo.png
Diff not rendered.
Diff not rendered.
Binary file added samples/electron/Assets/WideTile.png
Binary file added samples/electron/Assets/WideTile.scale-125.png
Binary file added samples/electron/Assets/WideTile.scale-150.png
Binary file added samples/electron/Assets/WideTile.scale-200.png
Binary file added samples/electron/Assets/WideTile.scale-400.png
Binary file added samples/electron/Assets/app.ico
Binary file not shown.
20 changes: 10 additions & 10 deletions samples/electron/appxmanifest.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>

<Package
<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"
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
xmlns:desktop6="http://schemas.microsoft.com/appx/manifest/desktop/windows10/6"
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
IgnorableNamespaces="uap uap2 uap3 rescap desktop desktop6 uap10">
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap uap2 uap3 uap10 desktop desktop6 rescap">

<Identity
Name="electronWinappSample"
Expand All @@ -23,8 +23,8 @@
</Properties>

<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18362.0" MaxVersionTested="10.0.26100.0" />
<PackageDependency Name="Microsoft.WindowsAppRuntime.2.0-experimental1" MinVersion="0.638.1631.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.18362.0" MaxVersionTested="10.0.26200.0" />
<PackageDependency Name="Microsoft.WindowsAppRuntime.2.0-experimental6" MinVersion="0.638.1631.0" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" />
</Dependencies>

<Resources>
Expand All @@ -41,9 +41,9 @@
DisplayName="Electron winapp Sample"
Description="Electron Application"
BackgroundColor="transparent"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png" />
Square150x150Logo="Assets\MedTile.png"
Square44x44Logo="Assets\AppList.png">
<uap:DefaultTile Wide310x150Logo="Assets\WideTile.png" />
</uap:VisualElements>
</Application>
</Applications>
Expand Down
44 changes: 13 additions & 31 deletions samples/electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@electron-forge/plugin-auto-unpack-natives": "^7.10.2",
"@electron-forge/plugin-fuses": "^7.10.2",
"@electron/fuses": "^1.8.0",
"@microsoft/winappcli": "^0.1.8",
"@microsoft/winappcli": "^0.2.0",
"electron": "39.2.7",
"nan": "^2.24.0",
"node-addon-api": "^8.5.0",
Expand Down
12 changes: 6 additions & 6 deletions samples/electron/winapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ packages:
- name: Microsoft.Windows.CppWinRT
version: 2.0.250303.1
- name: Microsoft.Windows.SDK.BuildTools
version: 10.0.26100.6584
version: 10.0.28000.1-RTM
- name: Microsoft.WindowsAppSDK
version: 2.0.250930001-experimental1
version: 2.0.0-experimental6
- name: Microsoft.Windows.ImplementationLibrary
version: 1.0.250325.1
version: 1.0.260126.7
- name: Microsoft.Windows.SDK.CPP
version: 10.0.26100.6584
version: 10.0.28000.1-RTM
- name: Microsoft.Windows.SDK.CPP.x64
version: 10.0.26100.6584
version: 10.0.28000.1-RTM
- name: Microsoft.Windows.SDK.CPP.arm64
version: 10.0.26100.6584
version: 10.0.28000.1-RTM
28 changes: 14 additions & 14 deletions samples/flutter-app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: transitive
description:
name: async
sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb"
sha256: e2eb0491ba5ddb6177742d2da23904574082139b07c1e33b8503b9f46f3e1a37
url: "https://pub.dev"
source: hosted
version: "2.13.0"
version: "2.13.1"
boolean_selector:
dependency: transitive
description:
Expand All @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.4.1"
clock:
dependency: transitive
description:
Expand All @@ -45,10 +45,10 @@ packages:
dependency: "direct main"
description:
name: cupertino_icons
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
sha256: "41e005c33bd814be4d3096aff55b1908d419fde52ca656c8c47719ec745873cd"
url: "https://pub.dev"
source: hosted
version: "1.0.8"
version: "1.0.9"
fake_async:
dependency: transitive
description:
Expand All @@ -61,10 +61,10 @@ packages:
dependency: "direct main"
description:
name: ffi
sha256: d07d37192dbf97461359c1518788f203b0c9102cfd2c35a716b823741219542c
sha256: "6d7fd89431262d8f3125e81b50d3847a091d846eafcd4fdb88dd06f36d705a45"
url: "https://pub.dev"
source: hosted
version: "2.1.5"
version: "2.2.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -119,18 +119,18 @@ packages:
dependency: transitive
description:
name: matcher
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
url: "https://pub.dev"
source: hosted
version: "0.12.17"
version: "0.12.19"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
url: "https://pub.dev"
source: hosted
version: "0.11.1"
version: "0.13.0"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -196,10 +196,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
url: "https://pub.dev"
source: hosted
version: "0.7.7"
version: "0.7.10"
vector_math:
dependency: transitive
description:
Expand Down
Loading
Loading