feat(IECPage): rename boot_disk to autoboot for clarity in configuration

This commit is contained in:
Jaime Idolpx 2026-06-11 15:06:52 -04:00
parent 41809f098c
commit 89d093e159
2 changed files with 6 additions and 6 deletions

View File

@ -90,12 +90,12 @@ export default function IECPage({ config, setConfig }: IECPageProps) {
</div>
<div className="p-4">
<label className="text-sm text-neutral-500 block mb-2">Boot Disk</label>
<label className="text-sm text-neutral-500 block mb-2">Autoboot</label>
<div className="flex gap-2">
<input
type="text"
value={iec.boot_disk || ''}
onChange={(e) => updateSetting(['iec', 'boot_disk'], e.target.value)}
value={iec.autoboot || ''}
onChange={(e) => updateSetting(['iec', 'autoboot'], e.target.value)}
className="flex-1 px-3 py-2 border border-neutral-300 rounded-lg"
/>
<button
@ -110,9 +110,9 @@ export default function IECPage({ config, setConfig }: IECPageProps) {
{showMediaBrowser && (
<MediaBrowser
currentPath={iec.boot_disk || '/'}
currentPath={iec.autoboot || '/'}
onSelect={(path) => {
updateSetting(['iec', 'boot_disk'], path);
updateSetting(['iec', 'autoboot'], path);
setShowMediaBrowser(false);
}}
onClose={() => setShowMediaBrowser(false)}

View File

@ -81,7 +81,7 @@
"enabled": 1,
"vic20_mode": 0,
"vdrive": 0,
"boot_disk": "",
"autoboot": "",
"rom": {
"enabled": 0,
"default": "",