fixes the default setup for PostIt.Android
Some checks failed
Forgejo Release / release (push) Successful in 6m39s
Dotnet build and test / build (pull_request) Failing after 9m34s

This commit is contained in:
Paul Schneider 2026-09-26 01:33:15 +01:00
commit a94a5a0497
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
6 changed files with 27 additions and 19 deletions

8
.vscode/launch.json vendored
View file

@ -22,11 +22,9 @@
}, },
{ {
"name": "Android Debug", "name": "Android Debug",
"type": "mono", "type": "maui",
"preLaunchTask": "run-debug-android", "request": "launch",
"request": "attach", "project": "${workspaceFolder}/src/PostIt/PostIt.Android/PostIt.Android.csproj"
"address": "localhost",
"port": 55555
}, },
{ {
"name": "Android Attach - Debug", "name": "Android Attach - Debug",

6
.vscode/tasks.json vendored
View file

@ -4,9 +4,13 @@
"tasks": [ "tasks": [
{ {
"label": "run-debug-android", "label": "build-debug-android",
"command": "dotnet", "command": "dotnet",
"detail": "Build the PostIt Android project in debug mode",
"type": "shell", "type": "shell",
"runOptions": {
},
"problemMatcher": ["$msCompile"], "problemMatcher": ["$msCompile"],
"options": { "options": {
"cwd": "${workspaceFolder}/src/PostIt/PostIt.Android", "cwd": "${workspaceFolder}/src/PostIt/PostIt.Android",

View file

@ -94,6 +94,7 @@ et négociation HTTP/3 côté client PostIt.
perçu « le fichier n'existe pas sur le serveur » tandis que la perçu « le fichier n'existe pas sur le serveur » tandis que la
suppression avait réussi. La taille est désormais capturée avant la suppression avait réussi. La taille est désormais capturée avant la
suppression. suppression.
* PostIt default settings
## [1.0.8-rc17] - unstable ## [1.0.8-rc17] - unstable

View file

@ -27,4 +27,14 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\PostIt\PostIt.csproj" /> <ProjectReference Include="..\PostIt\PostIt.csproj" />
</ItemGroup> </ItemGroup>
</Project> <!-- This is an Avalonia app, not a MAUI app: exclude the .NET MAUI VS Code
extension's injected HotReload agent (references Microsoft.Maui.*).
The agent file is added via CustomAfterMicrosoftCommonTargets, i.e. after
this file's item groups, so the removal must run in a target. -->
<Target Name="ExcludeMauiDeployHotReloadAgent" BeforeTargets="CoreCompile"
Condition="'$(MauiDeployHotReloadAgentSource)' != ''">
<ItemGroup>
<Compile Remove="$(MauiDeployHotReloadAgentSource)" />
</ItemGroup>
</Target>
</Project>

View file

@ -1,6 +1,6 @@
{ {
"Authentication": { "Authentication": {
"Authority": "https://localhost:5001", "Authority": "https://yavsc.pschneider.fr",
"ClientId": "postit", "ClientId": "postit",
"Scopes": [ "Scopes": [
"blogs", "blogs",
@ -9,13 +9,8 @@
"RedirectUri": "postit://callback" "RedirectUri": "postit://callback"
}, },
"DarkMode": true, "DarkMode": true,
"BlogsApiUrl": "https://localhost:5003/api/v1/", "BlogsApiUrl": "https://blogs.pschneider.fr/api/v1/",
"ApiUrl": "https://localhost:5005/api/v1/", "ApiUrl": "https://api.pschneider.fr/api/v1/",
"SearchText": "", "SearchText": "",
"ProviderOngoingRequestsSortOption": "", "ProviderOngoingRequestsSortOption": ""
"Loaded": true, }
"IsDirty": true,
"CanNavigateNext": false,
"CanNavigatePrevious": true,
"SaveCommand": {}
}

View file

@ -26,10 +26,10 @@
"Kestrel": { "Kestrel": {
"Endpoints": { "Endpoints": {
"Http": { "Http": {
"Url": "http://localhost:5002" "Url": "http://blogs.pschneider.fr"
}, },
"Https": { "Https": {
"Url": "https://localhost:5003" "Url": "https://blogs.pschneider.fr"
} }
} }
} }