Skip to content

Commit

Permalink
Create missing demo directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcl committed Sep 12, 2023
1 parent 55e4c7b commit 587fac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Renderer/UI/TopMenuView.fs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ let loadDemoProject model dispatch basename =

let newDir = "./demos/" + basename
let sourceDir = FilesIO.staticDir() + "/demos/" + basename
ensureDirectory "./demos/"
ensureDirectory newDir

dispatch EndSimulation // End any running simulation.
Expand Down

0 comments on commit 587fac8

Please sign in to comment.