
As pointed out in #757, having scripts in `dist` would cause github's code indexing to ignore them. This also updates packaging tool/scripts, which before wouldn't mark binaries placed inside `uosc.zip` as executable when built on windows. I can't believe there is no CLI tool on windows to do this and I had to write one in go...
8 lines
221 B
Bash
Executable File
8 lines
221 B
Bash
Executable File
#!/usr/bin/env bash
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
if [ "$(uname)" == "Darwin" ]; then
|
|
"$SCRIPT_DIR/tools-darwin" package $*
|
|
else
|
|
"$SCRIPT_DIR/tools-linux" package $*
|
|
fi
|