mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-29 08:44:15 +01:00
26 lines
1.2 KiB
Bash
26 lines
1.2 KiB
Bash
#!/usr/bin/expect
|
|
|
|
set timeout -1
|
|
|
|
set version [lindex $argv 0]
|
|
|
|
spawn ./quartus/setup.sh
|
|
|
|
expect {
|
|
"Press \\\[Enter\\\] to continue:" { send "\r"; exp_continue }
|
|
"Do you accept this license? \\\[y/n\\\]" { send "y\r"; exp_continue }
|
|
"Installation directory \\\[/root/intelFPGA_lite/$version\\\]:" { send "/opt/intelFPGA_lite/$version\r"; exp_continue }
|
|
"Quartus Prime Lite Edition (Free) \\\[Y/n\\\] :" { send "y\r"; exp_continue }
|
|
"Quartus Prime Lite Edition (Free) - Quartus Prime Help" { send "n\r"; exp_continue }
|
|
"Quartus Prime Lite Edition (Free) - Devices \\\[Y/n\\\] " { send "y\r"; exp_continue }
|
|
"Quartus Prime Lite Edition (Free) - Devices - MAX 10 FPGA" { send "y\r"; exp_continue }
|
|
"Quartus Prime Lite Edition (Free) - Devices - " { send "n\r"; exp_continue }
|
|
"ModelSim - Intel FPGA Starter Edition (Free)" { send "n\r"; exp_continue }
|
|
"ModelSim - Intel FPGA Edition" { send "n\r"; exp_continue }
|
|
"Is the selection above correct? \\\[Y/n\\\]:" { send "y\r"; exp_continue }
|
|
"Create shortcuts on Desktop \\\[Y/n\\\]:" { send "n\r"; exp_continue }
|
|
"Launch Quartus Prime Lite Edition \\\[Y/n\\\]:" { send "n\r"; exp_continue }
|
|
"Provide your feedback at" { send "n\r"; exp_continue }
|
|
eof { }
|
|
}
|