@@ -474,18 +474,19 @@ Notes.
474474
475475- Use minimal list to avoid heavy installs.
476476
477- 1 . on_success with output directory log .
477+ 1 . on_success with custom message .
478478
479479``` python
480480def on_success (self , gui , file ):
481- out = getattr ( self , " _output_dir " , None )
482- if out and out.text().strip():
483- log_i18n_level(gui, " success" , f " Sortie: { out.text() } " , f " Output: { out.text() } " )
481+ # ARK already opens the output directory.
482+ # Use this for additional engine-specific messages.
483+ log_i18n_level(gui, " success" , " Build terminé! " , " Build finished! " )
484484```
485485
486486Notes.
487487
488488- Keep logs short and actionable.
489+ - No need to manually open the folder.
489490
4904911 . mapping.json for a single library.
491492
@@ -580,27 +581,16 @@ Notes.
580581
581582- Clean alignment for labels + widgets.
582583
583- 1 . UI: output directory input .
584+ 1 . UI: rely on global configuration .
584585
585586``` python
586- self ._output_dir = QLineEdit()
587- self ._output_dir.setPlaceholderText( " Output directory " )
587+ # Do NOT create widgets for Output Directory or Icon.
588+ # These are managed globally in ark.yml and passed via BuildContext.
588589```
589590
590591Notes.
591592
592- - Always give a hint.
593-
594- 1 . UI: icon selector button.
595-
596- ``` python
597- btn = QPushButton(" Choose Icon" )
598- btn.clicked.connect(self .select_icon)
599- ```
600-
601- Notes.
602-
603- - Keep the handler small, update a field.
593+ - Keeps the engine tab focused and clean.
604594
6055951 . UI: store data files list.
606596
@@ -755,16 +745,17 @@ Notes.
755745
756746- Keep outputs in the project.
757747
758- 1 . Normalize output path .
748+ 1 . Use context.output_dir .
759749
760750``` python
761- out = os.path.abspath(self ._output_dir.text().strip())
762- cmd.extend([" --output-dir" , out])
751+ # The core runner already ensures output_dir is absolute if needed.
752+ # Use it directly from the context.
753+ cmd.extend([" --output-dir" , context.output_dir])
763754```
764755
765756Notes.
766757
767- - Avoid relative path issues.
758+ - Avoids manual widget parsing and relative path issues.
768759
7697601 . Avoid duplicate args.
770761
0 commit comments