tauri icon indicating copy to clipboard operation
tauri copied to clipboard

fix(windows): nsis failed to resolve resources with `$` in their name. closes #9657

Open enkhjile opened this issue 9 months ago • 0 comments

Registering a global escape function that replaces $ with $$ in Handlebars causes the build step to fail when resources contain $ in their names, because NSIS commands like File /a cannot resolve the escaped paths. #9657

I've added a helper that unescapes $$ back to $ and modified the corresponding resource expression in installer.nsi to use this helper.

If there are better solutions, I'd be happy to implement them.

enkhjile avatar May 05 '24 07:05 enkhjile