75
|
1 #!/bin/bash
|
|
2 set -e
|
|
3
|
|
4 # assume that regular build.sh has been run
|
|
5
|
|
6 cd "$(dirname $0)/../../build"
|
|
7
|
|
8 rm -rf windows
|
|
9 mkdir windows
|
|
10
|
|
11 cp ../scripts/windows/launcher.vbs windows
|
|
12 cp ../scripts/windows/installer.iss windows
|
|
13 cp -r luan_editor/jars windows
|
|
14 cp -r luan_editor/dictionaries windows
|
|
15
|
|
16 cd windows
|
77
|
17
|
|
18 # https://jrsoftware.org/isinfo.php
|
75
|
19 ISCC installer.iss
|
|
20
|
|
21 cp LuanEditorInstaller.exe ../../website/src/download
|
|
22
|
|
23 echo "finished windows build"
|