Skip to content

Commit

Permalink
main: Read from root of live USB
Browse files Browse the repository at this point in the history
  • Loading branch information
osnr committed Apr 24, 2024
1 parent aa53782 commit fc7a55b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,9 @@ if {[info exists ::entry]} {
}
foreach programFilename [list {*}[glob virtual-programs/*.folk] \
{*}[glob virtual-programs/*/*.folk] \
{*}[glob -nocomplain "user-programs/[info hostname]/*.folk"]] {
{*}[glob -nocomplain "user-programs/[info hostname]/*.folk"] \
{*}[glob -nocomplain "$::env(HOME)/folk-live/*.folk"] \
{*}[glob -nocomplain "$::env(HOME)/folk-live/*/*.folk"]] {
if {[string match "*/_archive/*" $programFilename]} { continue }
loadProgram $programFilename
}
Expand Down

0 comments on commit fc7a55b

Please sign in to comment.