# HG changeset patch # User Sam # Date 1677262701 -25200 # Node ID 03447fc1e9aad0108d0b931cf0303e5d9c646c7e # Parent 79002c9c9a335b4f9054fa46ee28e29e7bda0cbd fix: window compiling issue diff -r 79002c9c9a33 -r 03447fc1e9aa src/semicongine/shader.nim --- a/src/semicongine/shader.nim Sat Feb 25 01:13:42 2023 +0700 +++ b/src/semicongine/shader.nim Sat Feb 25 01:18:21 2023 +0700 @@ -62,7 +62,7 @@ let shaderbinary = staticRead shaderfile.replace("\\", "/") else: let shaderbinary = staticRead shaderfile - when defined(linux) or defined(mingw): + when defined(linux): discard staticExecChecked(command = fmt"rm {shaderfile}") elif defined(windows): discard staticExecChecked(command = fmt"del {shaderfile}")