Skip to content

Commit

Permalink
changing to correct paths from ones used in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Oct 17, 2019
1 parent 4a9fa4e commit 85f9310
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Scripts/set_default_preferences.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
# This script assigns DefaultValue for host name and TLS in Settings.bundle/Root.plist preferences
# reading them from build configuration Info.plist.

prefs_file=~/ventures/tinode/junk/Root.plist
info_plist=~/ventures/tinode/junk/Info.plist
# Location of Settings.bundle/Root.plist to update
# prefs_file="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/Settings.bundle/Root.plist"
prefs_file="$TARGET_BUILD_DIR/$CONTENTS_FOLDER_PATH/Settings.bundle/Root.plist"
# Location of Info.plist to read values from
# info_plist="$TARGET_BUILD_DIR/$INFOPLIST_PATH"
# Find array entry with the necessary key
info_plist="$TARGET_BUILD_DIR/$INFOPLIST_PATH"

# Find array entry with the necessary key
# Iterate at most 10 array entries until either the key is found or all entries iterated.
# @param: key to find
find_array_entry() {
Expand Down

0 comments on commit 85f9310

Please sign in to comment.