Skip to content

Instantly share code, notes, and snippets.

Created October 31, 2014 05:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5293b84ca0db3305585c to your computer and use it in GitHub Desktop.
Save anonymous/5293b84ca0db3305585c to your computer and use it in GitHub Desktop.
##########################################################################################
##########################################################################################
#
# This document contains the config variables for the "generified_apk_installer" script.
#
#
#
# ## Android SDK folders ##
# IMPORTANT:
# If you don't already have the tools, build-tools/**platform**, and platform-tools
# folders added to your path, uncomment the following and update them to match your
# environment.
#
#TOOLS="/path-to-your/Android/sdk/tools
#BUILD_TOOLS="/path-to-your/Android/sdk/build-tools/20.0.0
#PLATFORM_TOOLS="/path-to-your/Android/sdk/platform-tools
#
#
##########################################################################################
##########################################################################################
## REQUIRED - Download URL ##
# Uncomment and update this to the static URL for the build you wish to download and
# install on your devices. Be sure to include the filename in the path for cURL to work.
#APK_URL="http://add.your.static/url/to/your/build/here.apk"
#FILEPATH="./here.apk"
## REQUIRED - Package Name ##
# Uncomment and update this to the package name for the app you will be deploying.
#PACKAGE="com.my.test.app.package"
## TextExpander Snippet Resources ##
# These files can be parsed by using "Content: Shell Script" snippets calling:
# "less /path/to/this/folder/output_file_name.txt" which is how you can easily connect the
# apk deployment script output to any TextExpander macros you find useful.
APP_VERSION_NAME_FILE="appVersionName.txt"
LAUNCH_CONFIG_FILE="launchConfig.txt"
DEVICE_INFO_FILE="device_info_output.txt"
BUILD_URL_FILE="fileURL.txt"
## Script Behavior Defaults ##
# These define the default actions of the script. If no arguments are provided the script
# will uninstall and reinstall the app at the hardcoded $PACKAGE and $FILEPATH values
# without launching it afterwards
ACTION="none"
LAUNCH_TARGET="none"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment