Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8e7580

Browse files
committed
Merge pull request #283 from stonebig/master
remove "TextReplace" NSIS plugin requirement
2 parents 2442da2 + a06caac commit c8e7580

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

make.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ def get_nsis_exe():
4848
for subdirname in ('.', 'App'):
4949
exe = osp.join(dirname, subdirname, 'NSIS', 'makensis.exe')
5050
include = osp.join(dirname, subdirname, 'NSIS', 'include')
51-
if osp.isfile(exe) and\
52-
osp.isfile(osp.join(include, 'TextReplace.nsh')):
51+
if osp.isfile(exe):
5352
return exe
5453
else:
55-
raise RuntimeError("NSIS (with TextReplace plugin) is not installed " +
56-
"on this computer.")
54+
raise RuntimeError("NSIS is not installed on this computer.")
5755

5856
NSIS_EXE = get_nsis_exe()
5957

portable/launcher_basic.nsi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ OutFile ""
1515
# Standard NSIS plugins
1616
!include "WordFunc.nsh"
1717
!include "FileFunc.nsh"
18-
!include "TextReplace.nsh"
1918

2019
SilentInstall silent
2120
AutoCloseWindow true

0 commit comments

Comments
 (0)