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

Skip to content

remove "TextReplace" NSIS plugin requirement #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@ def get_nsis_exe():
for subdirname in ('.', 'App'):
exe = osp.join(dirname, subdirname, 'NSIS', 'makensis.exe')
include = osp.join(dirname, subdirname, 'NSIS', 'include')
if osp.isfile(exe) and\
osp.isfile(osp.join(include, 'TextReplace.nsh')):
if osp.isfile(exe):
return exe
else:
raise RuntimeError("NSIS (with TextReplace plugin) is not installed " +
"on this computer.")
raise RuntimeError("NSIS is not installed on this computer.")

NSIS_EXE = get_nsis_exe()

Expand Down
1 change: 0 additions & 1 deletion portable/launcher_basic.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ OutFile ""
# Standard NSIS plugins
!include "WordFunc.nsh"
!include "FileFunc.nsh"
!include "TextReplace.nsh"

SilentInstall silent
AutoCloseWindow true
Expand Down