From 46adf043bb14bdc270569410b32f557c1589d65d Mon Sep 17 00:00:00 2001 From: Stefan Seeland <168659+stesee@users.noreply.github.com> Date: Wed, 9 Apr 2025 23:10:49 +0200 Subject: [PATCH 1/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6ed02f..0e2e9b5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LockPDFy -[![Windows Store](https://img.shields.io/badge/Windows%20Store-LockPDFy-green?style=flat&logo=windows&link=https://www.microsoft.com/store/productId/9NC5KPZM2ZRM)](https://www.microsoft.com/store/productId/9NC5KPZM2ZRM) [![Obtainium](https://img.shields.io/badge/Obtainium%20Store-LockPDFy-green?style=flat&logo=android)](https://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/stesee/PDFEncrypt) +[![Windows Store](https://img.shields.io/badge/Windows%20Store-LockPDFy-green?style=flat&logo=windows&link=https://www.microsoft.com/store/productId/9NC5KPZM2ZRM)](https://www.microsoft.com/store/productId/9NC5KPZM2ZRM) [![Obtainium](https://img.shields.io/badge/Obtainium%20Store-LockPDFy-green?style=flat&logo=android)](https://codeuctivity.github.io/obtainium/redirect?r=obtainium://add/https://github.com/stesee/PDFEncrypt) LockPDFy is a user-friendly, open-source and trade mark claim free tool that swiftly encrypts and decrypts PDF files at no cost. Encrypted PDF files are protected with a password and prevent unauthorized access to sensitive information. Commont PDF Viewers are capable to open PDF that are encrypted by this program. The tool is available for Windows and Android. From e7a142cbbfa23995911d0e7f1e298e8e2fba8bd1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 18:20:11 +0000 Subject: [PATCH 2/9] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 273e6c1..49b36b4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -32,7 +32,7 @@ jobs: matrix: os: [windows-latest] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup .NET uses: actions/setup-dotnet@v4 with: From 565130385b9f875351e2c016cc2a01c347332e69 Mon Sep 17 00:00:00 2001 From: Stefan Seeland <168659+stesee@users.noreply.github.com> Date: Mon, 18 Aug 2025 21:08:31 +0200 Subject: [PATCH 3/9] Dropped aab artefact --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 49b36b4..c2161f9 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -62,11 +62,11 @@ jobs: GITHUB_TOKEN: ${{ github.TOKEN }} if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release') && env.GITHUB_TOKEN != '' }} run: | - gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.aab ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.apk --generate-notes + gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.apk --generate-notes - name: Github prerelease shell: bash env: GITHUB_TOKEN: ${{ github.TOKEN }} if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release') == false && env.GITHUB_TOKEN != '' }} run: | - gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.aab ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.apk --prerelease --generate-notes + gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.apk --prerelease --generate-notes From c10f5d56f6866f2c3719e7e56b533e03fcc566e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 12:21:44 +0000 Subject: [PATCH 4/9] Bump actions/setup-dotnet from 4 to 5 Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 5. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](https://github.com/actions/setup-dotnet/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/dotnet.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index c2161f9..cb207b2 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -34,7 +34,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: 8.0.x - name: Setup MSBuild From a521064dbb3a4e37dd9f245b5eaf81c663b1d4b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 12:26:28 +0000 Subject: [PATCH 5/9] Bump actions/stale from 9 to 10 Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9...v10) --- updated-dependencies: - dependency-name: actions/stale dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/stale.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index d82d991..6736c09 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -18,7 +18,7 @@ jobs: pull-requests: write steps: - - uses: actions/stale@v9 + - uses: actions/stale@v10 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-issue-message: 'Stale issue message' From 54b9a2310edf87b9f422cf769bb078951f1fc5e2 Mon Sep 17 00:00:00 2001 From: Stefan Seeland <168659+stesee@users.noreply.github.com> Date: Sun, 23 Nov 2025 13:16:14 +0100 Subject: [PATCH 6/9] Update projects to .NET 10 and fix typos Migrated all project files, build scripts, and CI workflow from .NET 8 to .NET 10 for Android, iOS, MacCatalyst, and Windows targets. Updated related paths and conditions in build and publish scripts. Fixed a typo in the README and removed the project history section. --- .github/workflows/dotnet.yml | 8 ++++---- LockPDFyMaui/LockPDFyMaui.csproj | 22 +++++++++++----------- LockPDFyTests/LockPDFyTests.csproj | 2 +- LockPDFyWinforms/LockPDFyWinforms.csproj | 2 +- README.md | 8 ++------ publishAndroidApp.ps1 | 4 ++-- 6 files changed, 21 insertions(+), 25 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index cb207b2..0666915 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -48,25 +48,25 @@ jobs: - name: Build run: dotnet build .\LockPDFyGithubActionsFriendly.slnf --no-restore --configuration Release -p:Version=${{ env.CURRENT_VERSION }} - name: Build maui windows - run: dotnet build .\LockPDFyMaui --configuration Release -f net8.0-windows10.0.19041.0 -p:Version=${{ env.CURRENT_VERSION }} + run: dotnet build .\LockPDFyMaui --configuration Release -f net10.0-windows10.0.19041.0 -p:Version=${{ env.CURRENT_VERSION }} - name: Test run: dotnet test .\LockPDFyGithubActionsFriendly.slnf --no-restore --no-build --verbosity normal --configuration Release - name: Build maui android env: ANDROID_SIGN_KEY: ${{ secrets.ANDROID_SIGN_KEY }} if: env.ANDROID_SIGN_KEY != '' - run: dotnet publish LockPDFyMaui -f net8.0-android -c Release -p:Version=${{ env.CURRENT_VERSION }} -p:ApplicationId=$PACKAGENAME -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=$PWD/myapp.keystore -p:AndroidSigningKeyAlias=myapp -p:AndroidSigningKeyPass=${{ secrets.ANDROID_SIGN_KEY }} -p:AndroidSigningStorePass=${{ secrets.ANDROID_SIGN_KEY }} + run: dotnet publish LockPDFyMaui -f net10.0-android -c Release -p:Version=${{ env.CURRENT_VERSION }} -p:ApplicationId=$PACKAGENAME -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=$PWD/myapp.keystore -p:AndroidSigningKeyAlias=myapp -p:AndroidSigningKeyPass=${{ secrets.ANDROID_SIGN_KEY }} -p:AndroidSigningStorePass=${{ secrets.ANDROID_SIGN_KEY }} - name: Github release shell: bash env: GITHUB_TOKEN: ${{ github.TOKEN }} if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release') && env.GITHUB_TOKEN != '' }} run: | - gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.apk --generate-notes + gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net10.0-android/publish/*.apk --generate-notes - name: Github prerelease shell: bash env: GITHUB_TOKEN: ${{ github.TOKEN }} if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/heads/release') == false && env.GITHUB_TOKEN != '' }} run: | - gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net8.0-android/publish/*.apk --prerelease --generate-notes + gh release create ${{env.CURRENT_VERSION}} ./LockPDFyMaui/bin/Release/net10.0-android/publish/*.apk --prerelease --generate-notes diff --git a/LockPDFyMaui/LockPDFyMaui.csproj b/LockPDFyMaui/LockPDFyMaui.csproj index 56871a1..008bc47 100644 --- a/LockPDFyMaui/LockPDFyMaui.csproj +++ b/LockPDFyMaui/LockPDFyMaui.csproj @@ -1,13 +1,13 @@  - net8.0-android;net8.0-ios;net8.0-maccatalyst + net10.0-android;net10.0-ios;net10.0-maccatalyst - $(TargetFrameworks);net8.0-windows10.0.19041.0 + $(TargetFrameworks);net10.0-windows10.0.19041.0 - + - $(LOCALAPPDATA)\Android\Sdk - - - \ No newline at end of file From 6381fd9863c5c197d6133265a406bfd44d763949 Mon Sep 17 00:00:00 2001 From: Stefan Seeland <168659+stesee@users.noreply.github.com> Date: Sun, 23 Nov 2025 21:33:09 +0100 Subject: [PATCH 8/9] Update to .NET 10 and MAUI workload restore in CI Bump .NET version to 10.0.x in the GitHub Actions workflow and update the project to target net10.0-windows. Replace explicit MAUI workload installs with 'dotnet workload restore' and update Microsoft.Windows.Compatibility package to version 10.0.0. --- .github/workflows/dotnet.yml | 8 +++----- LockPDFyWinforms/LockPDFyWinforms.csproj | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0666915..1d56ef8 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -36,13 +36,11 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v5 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Setup MSBuild uses: microsoft/setup-msbuild@v2 - - name: Install MAUI Workloads - run: | - dotnet workload install android --ignore-failed-sources - dotnet workload install maui --ignore-failed-sources + - name: Restore MAUI workloads + run: dotnet workload restore - name: Restore dependencies run: dotnet restore - name: Build diff --git a/LockPDFyWinforms/LockPDFyWinforms.csproj b/LockPDFyWinforms/LockPDFyWinforms.csproj index df3c6d3..ff6d6b1 100644 --- a/LockPDFyWinforms/LockPDFyWinforms.csproj +++ b/LockPDFyWinforms/LockPDFyWinforms.csproj @@ -1,4 +1,4 @@ - + net10.0-windows WinExe @@ -19,7 +19,7 @@ - + From 54ba0c1c64094bd8b094b169e160406ee8d365ce Mon Sep 17 00:00:00 2001 From: Stefan Seeland <168659+stesee@users.noreply.github.com> Date: Sun, 23 Nov 2025 21:46:51 +0100 Subject: [PATCH 9/9] Remove pull_request trigger from dotnet workflow The GitHub Actions workflow for dotnet will no longer run on pull request events. This change may be intended to limit workflow runs to pushes and manual dispatches only. --- .github/workflows/dotnet.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 1d56ef8..96b51c4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -15,7 +15,6 @@ on: - '**/*.md' - '**/*.gitignore' - '**/*.gitattributes' - pull_request: workflow_dispatch: permissions: contents: write