Skip to content

Commit 1b2542f

Browse files
authored
Rename default branch from master to main (#129)
1 parent bee534d commit 1b2542f

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
name: CI
44

55
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
6+
# events but only for the main branch
77
on:
88
push:
9-
branches: [ master ]
9+
branches: [ main ]
1010
pull_request:
11-
branches: [ master ]
11+
branches: [ main ]
1212

1313
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1414
jobs:
@@ -30,6 +30,6 @@ jobs:
3030

3131
- name: NuGet sources
3232
run: nuget sources
33-
33+
3434
- name: msbuild
3535
run: msbuild ./SampleApps/WebView2Samples.sln /p:platform=x86,configuration=Debug /restore /p:RestorePackagesConfig=true

GettingStartedGuides/WPF_GettingStarted/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ urlFragment: webview2-wpf-getting-started
1111

1212
This sample relates to the [Getting started with WebView2 in WPF](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/wpf) doc.
1313

14-
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/master/microsoft-edge/webview2/get-started/media/wpf-getting-started-app.png)
14+
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/main/microsoft-edge/webview2/get-started/media/wpf-getting-started-app.png)

GettingStartedGuides/Win32_GettingStarted/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ urlFragment: webview2-win32-getting-started
1111

1212
This sample relates to the [Getting started with WebView2 for Win32 apps](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/win32) doc.
1313

14-
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/master/microsoft-edge/webview2/media/bing-window.png)
14+
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/main/microsoft-edge/webview2/media/bing-window.png)

GettingStartedGuides/WinUI3_GettingStarted/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ urlFragment: webview2-winui3-getting-started
1111

1212
This sample relates to the [Getting started with WebView2 in WinUI3](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/winui) doc.
1313

14-
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/master/microsoft-edge/webview2/get-started/media/winui-getting-started-part-3.png)
14+
![sample snapshot](https://raw.githubusercontent.com/MicrosoftDocs/edge-developer/main/microsoft-edge/webview2/get-started/media/winui-getting-started-part-3.png)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Please leave feedback in our [our feedback repo](https://aka.ms/webviewfeedback)
1919

2020
Start with the [Win32 WebView2 getting-started guide](https://docs.microsoft.com/microsoft-edge/webview2/gettingstarted/win32) to learn how to setup a WebView within a Win32 application.
2121

22-
This will require downloading the [Getting Started Guide](https://github.com/MicrosoftEdge/WebView2Samples/tree/master/GettingStartedGuide) directory.
22+
This will require downloading the [Getting Started Guide](https://github.com/MicrosoftEdge/WebView2Samples/tree/main/GettingStartedGuide) directory.
2323

2424
#### Comprehensive API Sample
2525

SampleApps/WebView2APISample/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ urlFragment: WebView2APISample
1818

1919
This is a hybrid application built with the [Microsoft Edge WebView2](https://aka.ms/webview2) control.
2020

21-
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2APISample/documentation/screenshots/sample-app-screenshot.png)
21+
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2APISample/documentation/screenshots/sample-app-screenshot.png)
2222

2323
The WebView2APISample is an example of an application that embeds a WebView within a Win32 native application. It is built as a Win32 [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) project and makes use of both C++ and HTML/CSS/JavaScript in the WebView2 environment.
2424

@@ -57,7 +57,7 @@ This hybrid approach allows you to create and iterate faster using web technolog
5757

5858
Both of these parts of the Sample App are displayed in the image below:
5959

60-
![alt text](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2APISample/documentation/screenshots/sample-app-layout-diagram.png)
60+
![alt text](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2APISample/documentation/screenshots/sample-app-layout-diagram.png)
6161

6262
1. Section One: The top part of the Sample App is a Win32 component written in C++. This part of the application takes in UI inputs from the user and uses them to control the WebView.
6363

@@ -99,7 +99,7 @@ This component handles commands from the View menu, and any functionality relate
9999

100100
This component is created when you select the Scenario/Web Messaging menu item. It implements an example application with a C++ part and an HTML+JavaScript part, which communicate with each other by asynchronously posting and receiving messages.
101101

102-
![alt text](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2APISample/documentation/screenshots/sample-app-webmessaging-screenshot.png)
102+
![alt text](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2APISample/documentation/screenshots/sample-app-webmessaging-screenshot.png)
103103

104104
#### 9. ScenarioAddHostObject.cpp and ScenarioAddHostObject.html
105105

@@ -212,7 +212,7 @@ First, navigate to the ScenarioWebMessage application within the Sample App, usi
212212

213213
The WebView should display a simple webpage titled: "WebMessage sample page". The code for this page can be found in the `ScenarioWebMessage.html` file.
214214

215-
![alt text](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2APISample/documentation/screenshots/sample-app-webmessaging-screenshot.png)
215+
![alt text](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2APISample/documentation/screenshots/sample-app-webmessaging-screenshot.png)
216216

217217
To better understand ScenarioWebMessage functionality, you can either follow the instructions on the page or the steps detailed below.
218218

SampleApps/WebView2WindowsFormsBrowser/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ urlFragment: WebView2WindowsFormsBrowser
1818

1919
This is a hybrid application built with the [Microsoft Edge WebView2](https://aka.ms/webview2) control.
2020

21-
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2WindowsFormsBrowser/screenshots/winforms-browser-screenshot.png)
21+
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2WindowsFormsBrowser/screenshots/winforms-browser-screenshot.png)
2222

2323
The WebView2WindowsFormsBrowser is an example of an application that embeds a WebView within a Windows Forms application. It is built as a Windows Forms [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) project and makes use of both C# and HTML/CSS/JavaScript in the WebView2 environment.
2424

SampleApps/WebView2WpfBrowser/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ urlFragment: WebView2WpfBrowser
1818

1919
This is a hybrid application built with the [Microsoft Edge WebView2](https://aka.ms/webview2) control.
2020

21-
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2WpfBrowser/screenshots/wpf-browser-screenshot.png)
21+
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2WpfBrowser/screenshots/wpf-browser-screenshot.png)
2222

2323
The WebView2WpfBrowser is an example of an application that embeds a WebView within a WPF application. It is built as a WPF [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) project and makes use of both C# and HTML/CSS/JavaScript in the WebView2 environment.
2424

SampleApps/webview2_sample_uwp/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ urlFragment: WebView2_UWP
1818

1919
This is a hybrid application built with the [Microsoft Edge WebView2](https://aka.ms/webview2) control.
2020

21-
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/master/SampleApps/WebView2WpfBrowser/screenshots/wpf-browser-screenshot.png)
21+
![Sample App Snapshot](https://raw.githubusercontent.com/MicrosoftEdge/WebView2Samples/main/SampleApps/WebView2WpfBrowser/screenshots/wpf-browser-screenshot.png)
2222

2323
The WebView2 UWP is an example of an application that embeds a WebView within a UWP application. It is built as a UWP [Visual Studio 2019](https://visualstudio.microsoft.com/vs/) project and makes use of both cpp and HTML/CSS/JavaScript in the WebView2 environment.
2424

0 commit comments

Comments
 (0)