File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ By [Moduland Co](http://www.moduland.ir)
3838
3939## Installation
4040### Source Code
41- - Download [ Version 0.22 ] ( https://github.com/moduland/Orangetool/archive/v0.22 .zip ) or [ Latest Source ] ( https://github.com/Moduland/Orangetool/archive/master.zip )
41+ - Download [ Version 0.23 ] ( https://github.com/moduland/Orangetool/archive/v0.23 .zip ) or [ Latest Source ] ( https://github.com/Moduland/Orangetool/archive/master.zip )
4242
4343- ` python3 setup.py install `
4444### PyPI
@@ -187,6 +187,10 @@ time=orangetool.idletime() # this function return idle of system ( all cores)
187187
188188orangetool.version() # return orangetool version for test
189189
190+ # 9- check_update
191+
192+ orangetool.check_update # Return True if new version is available
193+
190194```
191195
192196
Original file line number Diff line number Diff line change 1212'''
1313ip_pattern = r"(?:[0-9]{1,3}\.){3}[0-9]{1,3}"
1414api_1 = "http://ipinfo.io/ip"
15- VERSION = "0.22 "
15+ VERSION = "0.23 "
1616UPDATE_URL = "http://www.orangetool.ir/version"
1717def check_update (DEBUG = False ):
1818 '''
Original file line number Diff line number Diff line change 22setup (
33 name = 'orangetool' ,
44 packages = ['orangetool' ],
5- version = '0.22 ' ,
5+ version = '0.23 ' ,
66 description = 'Some useful script for Orangepi/Raspberrypi boards' ,
77 long_description = "" ,
88 author = 'Moduland Co' ,
You can’t perform that action at this time.
0 commit comments