Skip to content

Commit

Permalink
Create ota_conf
Browse files Browse the repository at this point in the history
  • Loading branch information
frazerecho authored Jun 13, 2018
1 parent a346cef commit 8fc101c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions ota_conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#
# ota_conf
#
# Note:
# * Multiple devices can be added in the xml file
# * You can define any tags that end with 'Url'. These tags will be added in the UI automatically
# * Chances are you only need to change the ota_url in this file
#
ota_url=https://raw.githubusercontent.com/frazerecho/RR_OTA/master/ota.xml
release_type=Stable
device_name=ro.rr.device

#
# VERSION
#
# A version can be a date or a number with characters
# A version source can be a 'property key' from build.prop or a 'uname -r' command line
# If a version is a number, leave the version_format empty. Otherwise, provide the date format
#
# Example with a property key 'ro.rr.version' : Parse the date 20150426 from 'ResurrectionRemix-M-v5.x.x-20150426-bacon'
#
# Version source: ro.rr.version
# Version delimiter: -
# Version position: 3 (zero based)
# Version format: yyyyMMdd
#
# Example with 'uname -r': Parse the number 239 from '3.4.107~AK.239.OPO.CM12.1'
#
# Version source: uname -r
# Version delimiter: .
# Version position: 3 (zero based)
# Version format:
#
# uname -r will only be needed if using the app for kernels, not required here

version_source=ro.rr.version
version_delimiter=-
version_position=3
version_format=yyyyMMdd

0 comments on commit 8fc101c

Please sign in to comment.