Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: copy wifi_creds.json on install + wait for TTS before reboot

1. Install copies wifi_creds.json from USB to NVMe (wifi works post-install)
2. Wait for TTS to finish speaking before rebooting after install

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+13 -1
+13 -1
fedac/native/src/ac-native.c
··· 976 976 copy_file(kernel_src, "/tmp/hd/EFI/Microsoft/Boot/bootmgfw.efi"); 977 977 } 978 978 979 - // Preserve user handle/piece config on installed disk. 979 + // Preserve user config + wifi creds on installed disk 980 980 if (access(config_src, F_OK) == 0) { 981 981 copy_file(config_src, "/tmp/hd/config.json"); 982 + ac_log("[install] copied config.json\n"); 983 + } 984 + { 985 + char wifi_src[64]; 986 + snprintf(wifi_src, sizeof(wifi_src), "%s/wifi_creds.json", 987 + source_mount); 988 + if (access(wifi_src, F_OK) == 0) { 989 + copy_file(wifi_src, "/tmp/hd/wifi_creds.json"); 990 + ac_log("[install] copied wifi_creds.json\n"); 991 + } 982 992 } 983 993 984 994 // Write install marker so next boot knows it's installed ··· 1227 1237 if (ev->type != AC_EVENT_KEYBOARD_DOWN) continue; 1228 1238 1229 1239 if (ev->key_code == KEY_R || ev->key_code == KEY_ENTER || ev->key_code == KEY_KPENTER) { 1240 + if (tts) tts_wait(tts); // let "install complete" TTS finish 1230 1241 play_install_accept_beep(audio); 1242 + usleep(300000); // let beep play 1231 1243 return 1; 1232 1244 } 1233 1245 if (!install_ok && (ev->key_code == KEY_ESC || ev->key_code == KEY_SPACE)) {