Daniel Chalmers před 2 roky
rodič
revize
558906b957

+ 1 - 1
.github/workflows/deploy.yml

@@ -14,7 +14,7 @@ jobs:
       - uses: actions/setup-dotnet@v2
 
       - name: Build
-        run: dotnet publish -o "publish" -c Release -r win-x64
+        run: dotnet publish .\DesktopClock\DesktopClock.csproj -o "publish" -c Release -r win-x64
 
       - name: Create installer
         run: |

+ 1 - 1
DesktopClock/OutlinedTextBlock.cs

@@ -184,7 +184,7 @@ public class OutlinedTextBlock : FrameworkElement
     public OutlinedTextBlock()
     {
         UpdatePen();
-        TextDecorations = [];
+        TextDecorations = new();
     }
 
     protected override void OnRender(DrawingContext drawingContext)