#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
fix(desktop): stop Task from eating the PowerShell variables in jlink… (#7258)
Samuel Saezba06a1dc1ba8
diff --git a/.taskfiles/desktop.yml b/.taskfiles/desktop.ymlindex 27f8dafde0..555e252a4e 100644--- a/.taskfiles/desktop.yml+++ b/.taskfiles/desktop.yml@@ -195,7 +195,11 @@ tasks:# `desktop:build` run `jlink:clean` first to force a fresh build.- cmd: chmod -R u+w runtime/jreplatforms: [linux, darwin]- - cmd: powershell -NoProfile -Command "Get-ChildItem -Recurse runtime/jre | ForEach-Object { $_.IsReadOnly = $false }"+ # Single-quoted so Task's shell leaves `$_` and `$false` alone. Double+ # quotes let it expand them as its own variables, and since neither is+ # set the command PowerShell actually received was+ # `ForEach-Object { .IsReadOnly = }`, which fails on every file.+ - cmd: powershell -NoProfile -Command 'Get-ChildItem -Recurse -File runtime/jre | ForEach-Object { $_.IsReadOnly = $false }'platforms: [windows]status:- test -f runtime/jre/release