Mercurial > games > semicongine
changeset 87:03447fc1e9aa
fix: window compiling issue
author | Sam <sam@basx.dev> |
---|---|
date | Sat, 25 Feb 2023 01:18:21 +0700 |
parents | 79002c9c9a33 |
children | d911cacce29e |
files | src/semicongine/shader.nim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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}")