From 6952da3b37c45c1d320523b31e151f2b66abb4f5 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Mon, 21 Feb 2022 18:31:08 +0530 Subject: Updated config settings and paths --- Windows/nghdl-setup-script.nsi | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Windows') diff --git a/Windows/nghdl-setup-script.nsi b/Windows/nghdl-setup-script.nsi index a9807af..1c0cfc5 100644 --- a/Windows/nghdl-setup-script.nsi +++ b/Windows/nghdl-setup-script.nsi @@ -173,17 +173,17 @@ Section "nghdl-installNgspice" SectionEnd Section "nghdl-config.ini" - CreateDirectory $PROFILE\.nghdl - FileOpen $0 "$PROFILE\.nghdl\config.ini" w - FileWrite $0 `[NGSPICE]$\n` - FileWrite $0 `NGSPICE_HOME = $INSTDIR\ngspice-nghdl$\n` - FileWrite $0 `DIGITAL_MODEL = %(NGSPICE_HOME)s\src\xspice\icm\ghdl$\n` - FileWrite $0 `RELEASE = %(NGSPICE_HOME)s\release$\n` + CreateDirectory $INSTDIR\eSim\library\config\.nghdl + FileOpen $0 "$INSTDIR\eSim\library\config\.nghdl\config.ini" w + FileWrite $0 `[NGHDL]$\n` + FileWrite $0 `NGHDL_HOME = $shellpath1/nghdl-simulator$\n` + FileWrite $0 `DIGITAL_MODEL = %(NGHDL_HOME)s/src/xspice/icm$\n` + FileWrite $0 `RELEASE = %(NGHDL_HOME)s/release$\n` FileWrite $0 `[SRC]$\n` - FileWrite $0 `SRC_HOME = $INSTDIR\eSim\nghdl$\n` - FileWrite $0 `LICENSE = %(SRC_HOME)s\LICENSE$\n` + FileWrite $0 `SRC_HOME = $shellpath1/eSim/nghdl$\n` + FileWrite $0 `LICENSE = %(SRC_HOME)s/LICENSE$\n` FileWrite $0 `[COMPILER]$\n` - FileWrite $0 `MSYS_HOME = $INSTDIR\mingw64\msys\bin$\n` + FileWrite $0 `MSYS_HOME = $shellpath1/MSYS$\n` FileClose $0 SectionEnd -- cgit