mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-25 01:14:07 +00:00
76f89a7a5a
move generators and nsis into tools folder generators is used to generate tranliteration header files. nsis is too old to use.
15 lines
265 B
Bash
Executable file
15 lines
265 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ $# != 1 ]; then
|
|
echo Usage: $0 infile.nsi
|
|
exit 1
|
|
fi
|
|
|
|
echo > uninst.nsh || exit 1
|
|
|
|
( makensis "-XSetCompress off" "$1" | tee log; exit ${PIPESTATUS[0]} ) || exit 1
|
|
|
|
./gen_uninstall/gen_uninstall < log > uninst.nsh || exit 1
|
|
|
|
exec makensis "$1"
|