Exporting Deletes Project Folder

What do you want to achieve?

Export my project via Export → Create Template Project.

I created the most basic project with not assets to test the export functionality. I’ve noticed that SquareLine deletes the folder I designate as the C Template Project Export Folder when I choose the folder for the UI files.

What have you tried so far?

I created a new project using the following settings:
Arduino Giga R1 wifi with Giga Display Shield
LVGL Version: 8.3.11

Screenshot or video

Others

  • SquareLine Studio version: 1.5.4
  • Operating system: Mac OS Sequoia 15.6.1
  • Target hardware: Arduino Giga R1 wifi with Giga Display Shield

Hi, This behavior is intentional and necessary for the export process.
When you export the UI files, SquareLine Studio first cleans the target directory (e.g., the ui folder) before generating the new files. This synchronization is crucial. If you delete a screen or an asset inside the SquareLine Studio editor, this cleaning step ensures the corresponding (now unused) files are also removed from your exported project directory. This prevents old, stale code from causing conflicts in your project.