Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: win32 component to redirect file activation to Notepads to open any file types (including restricted file types like .bat .cmd etc.) #755

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2019675
ImplementedWin32 component to redirect activation to UWP app.
soumyamahunt Jan 15, 2021
30c1dc3
Fix github tasks.
soumyamahunt Jan 15, 2021
a53366d
Added assembly info.
soumyamahunt Jan 16, 2021
a09620f
Updated nuget package.
soumyamahunt Feb 8, 2021
5ea92d3
Updated branch.
soumyamahunt Feb 9, 2021
ae97ada
Code refactor.
soumyamahunt Feb 9, 2021
fa5f4a9
code refactor.
soumyamahunt Feb 12, 2021
7185b84
Fix build process.
soumyamahunt Feb 14, 2021
546d1ac
code refactor.
soumyamahunt Feb 15, 2021
ea3f336
Refactor GitHub task.
soumyamahunt Feb 26, 2021
18391c8
Removed trailing spaces.
soumyamahunt Feb 26, 2021
a2a1cc7
Implemented options to copy dektop component path/file.
soumyamahunt Mar 16, 2021
0a103da
Update dependencies.
soumyamahunt Mar 16, 2021
631fb7e
Resolved conflicts.
soumyamahunt Mar 22, 2021
d469859
Resolve conflicts.
soumyamahunt Mar 27, 2021
9a8ceac
Fix typo.
soumyamahunt Mar 27, 2021
526612c
Resolve conflicts.
soumyamahunt Mar 29, 2021
d096c27
Bump Microsoft.Windows.CppWinRT in /src/Notepad
dependabot[bot] Mar 30, 2021
52f090f
Merge pull request #15 from soumyamahunt/dependabot/nuget/src/Notepad…
soumyamahunt Mar 30, 2021
e4dcc50
Use custom target to update nuget imports.
soumyamahunt Apr 4, 2021
6523a05
Merge remote-tracking branch 'JasonStein/master' into advanced-activa…
soumyamahunt Apr 4, 2021
1afe63d
Update nuget imports.
soumyamahunt Apr 4, 2021
5e31882
Refactor code.
soumyamahunt Apr 5, 2021
94c4f5e
Refactor target.
soumyamahunt Apr 6, 2021
4624dc3
Code refactor.
soumyamahunt Apr 6, 2021
1e85677
code refactor
soumyamahunt Apr 24, 2021
f3bc1c9
move to cpp20
soumyamahunt Apr 24, 2021
80da54a
chore: code refactor
soumyamahunt Apr 28, 2021
283ab6f
fix: fix error in debug mode
soumyamahunt Apr 28, 2021
77e24dc
chore: refactor
soumyamahunt Jul 11, 2021
0661eb2
fix: only show activation component for desktop platform
soumyamahunt Jul 18, 2021
f3bdc8c
feat: generate AUMID at build time rather than relying on hardcoded s…
soumyamahunt Jul 19, 2021
d1e41da
chore: refactor project targets
soumyamahunt Jul 23, 2021
dcac9a5
ci: fix build failure
soumyamahunt Jul 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ updates:
commit-message:
prefix: 'nuget-deps: '

- package-ecosystem: "nuget"
# location of package manifests
directory: "/src/Notepad"
schedule:
interval: "daily"

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ jobs:
id: setup_msbuild
uses: microsoft/setup-msbuild@v1

- name: Setup NuGet
id: setup-nuget
uses: NuGet/setup-nuget@v1.0.5

- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -233,6 +237,7 @@ jobs:
shell: pwsh
run: |
msbuild $env:SOLUTION_NAME /t:Restore
nuget restore $env:SOLUTION_NAME

- if: matrix.runCodeqlAnalysis
name: Initialize CodeQL
Expand Down
68 changes: 68 additions & 0 deletions src/Notepad/AssemblyInfo.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
// Microsoft Visual C++ generated resource script.
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Neutral resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000004b0"
BEGIN
VALUE "CompanyName", "Jackie Liu"
VALUE "FileDescription", "Notepads"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "Notepad.exe"
VALUE "LegalCopyright", "Copyright � 2020 Jackie Liu"
VALUE "OriginalFilename", "Notepad.exe"
VALUE "ProductName", "Notepads"
VALUE "ProductVersion", "1.0.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1200
END
END

#endif // Neutral resources
/////////////////////////////////////////////////////////////////////////////