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

View File

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