CLI: export-overwrite appends SVG a second time (Windows)
Summary:
Instead of overwriting file.svg
, Inkscape creates file.svg.svg
. This breaks export preprocessing for extensions.
Steps to reproduce:
Run inkscapecom.com --actions="unlock-all;export-overwrite;export-do" file.svg
(from the Windows cmd) or
inkscape.exe --actions="unlock-all;export-overwrite;export-do" save.svg
from Git bash on Windows.
What happened?
A file "save.svg.svg" is created.
What should have happened?
The file should be overwritten.
Sample attachments:
Version info
Inkscape 1.4-dev (89b2fd6dc, 2023-06-17) GLib version: 2.76.3
GTK version: 3.24.38
glibmm version: 2.66.6
gtkmm version: 3.24.7
libxml2 version: 2.10.4
libxslt version: 1.1.38
Cairo version: 1.17.7
Pango version: 1.50.14
HarfBuzz version: 7.3.0 OS version: Windows 10 22H2
Also reproduced in a 1.3 build from April.