diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 273e6c1..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
@@ -32,41 +31,39 @@ jobs:
matrix:
os: [windows-latest]
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
- name: Setup .NET
- uses: actions/setup-dotnet@v4
+ 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
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/*.aab ./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/*.aab ./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/.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'
diff --git a/LockPDFyMaui/LockPDFyMaui.csproj b/LockPDFyMaui/LockPDFyMaui.csproj
index 56871a1..fac21e8 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
- $(TargetFrameworks);net8.0-windows10.0.19041.0
+ $(TargetFrameworks);net10.0-windows10.0.19041.0
-
+
- $(LOCALAPPDATA)\Android\Sdk
-
-
-
\ No newline at end of file
diff --git a/LockPDFyTests/LockPDFyTests.csproj b/LockPDFyTests/LockPDFyTests.csproj
index 8ce4f1b..f944515 100644
--- a/LockPDFyTests/LockPDFyTests.csproj
+++ b/LockPDFyTests/LockPDFyTests.csproj
@@ -1,7 +1,7 @@
- net8.0
+ net10.0
enable
enable
diff --git a/LockPDFyWinforms/LockPDFyWinforms.csproj b/LockPDFyWinforms/LockPDFyWinforms.csproj
index d499896..ff6d6b1 100644
--- a/LockPDFyWinforms/LockPDFyWinforms.csproj
+++ b/LockPDFyWinforms/LockPDFyWinforms.csproj
@@ -1,6 +1,6 @@
-
+
- net8.0-windows
+ net10.0-windows
WinExe
LockPDFyWinforms
LockPDFy Windows
@@ -19,7 +19,7 @@
-
+
diff --git a/README.md b/README.md
index d6ed02f..d5c49b4 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,8 @@
# LockPDFy
-[](https://www.microsoft.com/store/productId/9NC5KPZM2ZRM) [](https://apps.obtainium.imranr.dev/redirect.html?r=obtainium://add/https://github.com/stesee/PDFEncrypt)
+[](https://www.microsoft.com/store/productId/9NC5KPZM2ZRM) [](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.
+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. Common PDF Viewers are capable to open PDF that are encrypted by this program. The tool is available for Windows and Android.
## Features
@@ -16,8 +16,4 @@ LockPDFy is a user-friendly, open-source and trade mark claim free tool that swi
## Windows
-
-
-## History
-
-This project is a fork of the great work found at https://github.com/ryangriggs/PDFEncrypt of Ryan Griggs.
+
\ No newline at end of file
diff --git a/publishAndroidApp.ps1 b/publishAndroidApp.ps1
index 1147405..28000b7 100644
--- a/publishAndroidApp.ps1
+++ b/publishAndroidApp.ps1
@@ -25,5 +25,5 @@ dotnet clean
dotnet restore
dotnet build -c Release
dotnet test -c Release --no-build
-dotnet publish LockPDFyMaui -f net8.0-android -c Release -p:Version=$Version -p:ApplicationId=$packageName -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=$PWD/myapp.keystore -p:AndroidSigningKeyAlias=myapp -p:AndroidSigningKeyPass=$AndroidSigningPassword -p:AndroidSigningStorePass=$AndroidSigningPassword
-explorer .\LockPDFyMaui\bin\Release\net8.0-android\publish\
+dotnet publish LockPDFyMaui -f net10.0-android -c Release -p:Version=$Version -p:ApplicationId=$packageName -p:AndroidKeyStore=true -p:AndroidSigningKeyStore=$PWD/myapp.keystore -p:AndroidSigningKeyAlias=myapp -p:AndroidSigningKeyPass=$AndroidSigningPassword -p:AndroidSigningStorePass=$AndroidSigningPassword
+explorer .\LockPDFyMaui\bin\Release\net10.0-android\publish\