mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Customization: also apply changes if there is only firstrun and no cmdline/config changes
This commit is contained in:
parent
fe2c1c55bd
commit
71c1ea21dd
1 changed files with 2 additions and 2 deletions
|
@ -724,10 +724,10 @@ void DownloadThread::_writeComplete()
|
||||||
_filename.replace("/dev/rdisk", "/dev/disk");
|
_filename.replace("/dev/rdisk", "/dev/disk");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (_ejectEnabled && _config.isEmpty() && _cmdline.isEmpty())
|
if (_ejectEnabled && _config.isEmpty() && _cmdline.isEmpty() && _firstrun.isEmpty())
|
||||||
eject_disk(_filename.constData());
|
eject_disk(_filename.constData());
|
||||||
|
|
||||||
if (!_config.isEmpty() || !_cmdline.isEmpty())
|
if (!_config.isEmpty() || !_cmdline.isEmpty() || !_firstrun.isEmpty())
|
||||||
{
|
{
|
||||||
if (!_customizeImage())
|
if (!_customizeImage())
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue