summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Version_Change.md4
-rw-r--r--Windows/eSim.spec6
-rw-r--r--Windows/esim-setup-script.nsi15
3 files changed, 13 insertions, 12 deletions
diff --git a/Version_Change.md b/Version_Change.md
index 6a0327f2..a5efdebb 100644
--- a/Version_Change.md
+++ b/Version_Change.md
@@ -16,7 +16,7 @@ It contains the documentation for the changes to be done when a new release is t
- Manual name convention is `eSim_Manual_y.x.pdf` where y.x is the updated version.
- Update path in the following line at `master/src/browser/UserManual.py` with the updated manual name:
```python
- file = os.path.realpath('library/browser/User-Manual/eSim_Manual_2.0.pdf')
+ manual = 'library/browser/User-Manual/eSim_Manual_2.1.pdf'
```
5. `master/src/configuration/Appconfig.py` - In function `def __init__ (self)` , update the variable `self._VERSION`
@@ -28,7 +28,7 @@ It contains the documentation for the changes to be done when a new release is t
!define PRODUCT_VERSION "y.x"
!define VERSION "a.b.c.d"
- OutFile "eSim-y.x_install.exe"
+ OutFile "eSim-y.x_installer.exe"
```
8. `master/README.md` - Update new features, OS support and other changes that were made in the new version.
diff --git a/Windows/eSim.spec b/Windows/eSim.spec
index f071ae68..3d289d8c 100644
--- a/Windows/eSim.spec
+++ b/Windows/eSim.spec
@@ -3,8 +3,8 @@
block_cipher = None
-a = Analysis(['..\\eSim-2.0\\src\\frontEnd\\Application.py'],
- pathex=['C:\\Users\\admin\\Desktop\\Python3-eSim-Windows-New\\build'],
+a = Analysis(['src\\frontEnd\\Application.py'],
+ pathex=['C:\\Users\\admin\\Desktop\\FOSSEE-eSim\\eSim-build'],
binaries=[],
datas=[],
hiddenimports=[],
@@ -30,4 +30,4 @@ exe = EXE(pyz,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
- console=True , icon='..\\logo.ico')
+ console=True , icon='logo.ico')
diff --git a/Windows/esim-setup-script.nsi b/Windows/esim-setup-script.nsi
index daaf4cc1..856a2c39 100644
--- a/Windows/esim-setup-script.nsi
+++ b/Windows/esim-setup-script.nsi
@@ -67,8 +67,8 @@ FunctionEnd
;General
!define PRODUCT_NAME "eSim"
-!define PRODUCT_VERSION "2.0"
-!define VERSION "2.0.0.0"
+!define PRODUCT_VERSION "2.1"
+!define VERSION "2.1.0.0"
!define PRODUCT_PUBLISHER "FOSSEE, IIT Bombay"
!define PRODUCT_WEB_SITE "https://esim.fossee.in/"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
@@ -140,7 +140,7 @@ FunctionEnd
;--------------------------------
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
-OutFile "eSim-2.0_install.exe"
+OutFile "eSim-2.1_installer.exe"
Function .onVerifyInstDir
@@ -164,7 +164,7 @@ FunctionEnd
Section -NgspiceSim
;Current section needs an additional "size_kb" kilobytes of disk space
- AddSize 2726298
+ ;AddSize 2726298
SetOutPath "$EXEDIR"
@@ -275,7 +275,7 @@ Section -AdditionalIcons
SectionEnd
-!include "installnghdl.nsi"
+!include "nghdl-setup-script.nsi"
Section -Post
@@ -323,7 +323,7 @@ Section Uninstall
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
- GetFullPathName $1 $INSTDIR\..\ngspice-nghdl\install_dir\bin
+ GetFullPathName $1 $INSTDIR\..\ngspice-nghdl\bin
EnVar::DeleteValue "Path" $1
Pop $0
DetailPrint "EnVar::AddValue returned=|$0|"
@@ -354,6 +354,7 @@ Section Uninstall
;Removing eSim
RMDir /r "$PROFILE\.esim"
+ RMDir /r "$PROFILE\.nghdl"
RMDir "$SMPROGRAMS\eSim"
RMDir /r "$INSTDIR\..\eSim"
RMDir /r "$INSTDIR\..\KiCad"
@@ -375,4 +376,4 @@ SectionEnd
;!insertmacro MUI_DESCRIPTION_TEXT ${NgspiceSim} $(DESC_NgspiceSim)
;!insertmacro MUI_FUNCTION_DESCRIPTION_END
-;-------------------------------- \ No newline at end of file
+;--------------------------------