Skip to content

Commit

Permalink
Add "Latest Build" link to "Help" menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Dec 27, 2018
1 parent 87b6f09 commit a5d226b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
8 changes: 1 addition & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@

[Download latest release](https://github.com/zufuliu/notepad2/releases).

Download latest build:

| Platform | Visual Studio 2017 | GCC 8 | Clang 8 |
| --- | --- | --- | --- |
| x64 |[MSVC x64](https://ci.appveyor.com/project/zufuliu/notepad2/build/job/6vb7lyrb8cymvbe5/artifacts) |
| Win32 |[MSVC Win32](https://ci.appveyor.com/project/zufuliu/notepad2/build/job/du9b76du5cict544/artifacts) |
| ARM64 | [MSVC ARM64](https://ci.appveyor.com/project/zufuliu/notepad2/build/job/oivntyy651w492t3/artifacts) | N/A | N/A |
[Download latest build](https://ci.appveyor.com/project/zufuliu/notepad2) (Find Artifacts in Release Configuration).

Or build from source, see the [Wiki](https://github.com/zufuliu/notepad2/wiki/Build-Notepad2).

Expand Down
3 changes: 3 additions & 0 deletions src/Dialogs.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ void OpenHelpLink(HWND hwnd, int cmd) {
case IDM_HELP_LATEST_RELEASE:
link = HELP_LINK_LATEST_RELEASE;
break;
case IDM_HELP_LATEST_BUILD:
link = HELP_LINK_LATEST_BUILD;
break;
case IDM_HELP_REPORT_ISSUE:
link = HELP_LINK_REPORT_ISSUE;
break;
Expand Down
1 change: 1 addition & 0 deletions src/Notepad2.c
Original file line number Diff line number Diff line change
Expand Up @@ -4221,6 +4221,7 @@ LRESULT MsgCommand(HWND hwnd, WPARAM wParam, LPARAM lParam) {

case IDM_HELP_PROJECT_HOME:
case IDM_HELP_LATEST_RELEASE:
case IDM_HELP_LATEST_BUILD:
case IDM_HELP_REPORT_ISSUE:
case IDM_HELP_FEATURE_REQUEST:
case IDM_HELP_ONLINE_WIKI:
Expand Down
1 change: 1 addition & 0 deletions src/Notepad2.rc
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ BEGIN
BEGIN
MENUITEM "Project Home", IDM_HELP_PROJECT_HOME
MENUITEM "Latest Release", IDM_HELP_LATEST_RELEASE
MENUITEM "Latest Build", IDM_HELP_LATEST_BUILD
MENUITEM "Report Issue", IDM_HELP_REPORT_ISSUE
MENUITEM "Feature Request", IDM_HELP_FEATURE_REQUEST
MENUITEM SEPARATOR
Expand Down
1 change: 1 addition & 0 deletions src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#define VERSION_SCIPAGE_DISPLAY L"https://www.scintilla.org/"

#define HELP_LINK_LATEST_RELEASE L"https://github.com/zufuliu/notepad2/releases"
#define HELP_LINK_LATEST_BUILD L"https://ci.appveyor.com/project/zufuliu/notepad2"
#define HELP_LINK_REPORT_ISSUE L"https://github.com/zufuliu/notepad2/issues"
#define HELP_LINK_FEATURE_REQUEST L"https://github.com/zufuliu/notepad2/issues"
#define HELP_LINK_ONLINE_WIKI L"https://github.com/zufuliu/notepad2/wiki"
Expand Down
1 change: 1 addition & 0 deletions src/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@
#define IDM_HELP_REPORT_ISSUE 40504
#define IDM_HELP_FEATURE_REQUEST 40505
#define IDM_HELP_ONLINE_WIKI 40506
#define IDM_HELP_LATEST_BUILD 40507

#define IDM_TRAY_RESTORE 40600
#define IDM_TRAY_EXIT 40601
Expand Down

0 comments on commit a5d226b

Please sign in to comment.