summaryrefslogtreecommitdiff
path: root/Windows
diff options
context:
space:
mode:
authorSumanto Kar2022-02-21 21:39:41 +0530
committerGitHub2022-02-21 21:39:41 +0530
commit398ecd1b255e2b2c9f63d77a7d38a9231da73edd (patch)
tree0e8b4857694a945368bd59b21cf3190e4ce6cc86 /Windows
parent672076af923424273ffe39804cecf3357aeee152 (diff)
parent6952da3b37c45c1d320523b31e151f2b66abb4f5 (diff)
downloadnghdl-398ecd1b255e2b2c9f63d77a7d38a9231da73edd.tar.gz
nghdl-398ecd1b255e2b2c9f63d77a7d38a9231da73edd.tar.bz2
nghdl-398ecd1b255e2b2c9f63d77a7d38a9231da73edd.zip
Merge pull request #80 from rahulp13/config-path
Updated config settings and paths
Diffstat (limited to 'Windows')
-rw-r--r--Windows/nghdl-setup-script.nsi18
1 files changed, 9 insertions, 9 deletions
diff --git a/Windows/nghdl-setup-script.nsi b/Windows/nghdl-setup-script.nsi
index d5c56b1..2330eef 100644
--- a/Windows/nghdl-setup-script.nsi
+++ b/Windows/nghdl-setup-script.nsi
@@ -192,17 +192,17 @@ Section "install-nghdl-simulator"
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