From f497e22f7075183e2d60d460208f8d8e4c9dad5f Mon Sep 17 00:00:00 2001 From: Scott Wadden Date: Fri, 14 Jun 2024 22:39:40 -0300 Subject: [PATCH] Fixed build --- enu.nimble | 6 +++--- src/libs/segfaults.nim | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/enu.nimble b/enu.nimble index e7668974..00bfe957 100644 --- a/enu.nimble +++ b/enu.nimble @@ -149,10 +149,10 @@ proc download_fonts = exec "hdiutil detach /Volumes/SFProFonts" else: - exec "curl -OJL \"https://github.com/mobiledesres/Google-UI-fonts/blob/main/zip/Roboto.zip?raw=true\"" - exec "curl -OJL \"https://github.com/mobiledesres/Google-UI-fonts/blob/main/zip/Roboto%20Mono.zip?raw=true\"" + exec "curl -o Roboto.zip \"https://github.com/mobiledesres/Google-UI-fonts/blob/main/zip/Roboto.zip?raw=true\"" + exec "curl -o RobotoMono.zip \"https://github.com/mobiledesres/Google-UI-fonts/blob/main/zip/Roboto%20Mono.zip?raw=true\"" exec "unzip Roboto.zip" - exec "unzip -o Roboto%20Mono.zip" + exec "unzip -o RobotoMono.zip" proc mingw_path: string = var pre, match: string diff --git a/src/libs/segfaults.nim b/src/libs/segfaults.nim index cc70159c..36ed9b6e 100644 --- a/src/libs/segfaults.nim +++ b/src/libs/segfaults.nim @@ -1,4 +1,4 @@ -# adapted from https://github.com/nim-lang/Nim/blob/v1.6.14/lib/pure/segfaults.nim +# adapted from https://github.com/nim-lang/Nim/blob/v1.6.14/lib/pure/segfaults.nim # to handle SEGV_ACCERR. Needed for arm64 # @@ -27,7 +27,7 @@ se.name = "NilAccessDefect" se.msg = "Could not access value because it is nil." when defined(windows): - include "../system/ansi_c" + include "system/ansi_c" import winlean