mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-29 03:22:19 +00:00
What's new: - --config flag to pass a INI config file to parse. See config.ini. - Updated the modules scripts for configuration. Now needs to unset variables passed by CLI or config. - Fix release directory that was added in love file (maybe). - Properly escapes sed arguments. - chmod +x to getopt.sh and read_ini.sh - Fix #12
This commit is contained in:
@@ -2,6 +2,17 @@
|
||||
init_module "Mac OS X"
|
||||
|
||||
|
||||
# Configuration
|
||||
if [ "$CONFIG" = true ]; then
|
||||
if [ -n "${INI__macosx__maintainer_name}" ]; then
|
||||
MAINTAINER_NAME=${INI__macosx__maintainer_name}
|
||||
fi
|
||||
if [ -n "${INI__macosx__icon}" ]; then
|
||||
PROJECT_ICNS=${INI__macosx__icon}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Options
|
||||
while getoptex "$SCRIPT_ARGS" "$@"
|
||||
do
|
||||
@@ -137,5 +148,6 @@ else
|
||||
fi
|
||||
|
||||
|
||||
unset PROJECT_ICNS
|
||||
exit_module
|
||||
|
||||
|
Reference in New Issue
Block a user