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)
38
38
39
39
## Installation
40
40
### 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 )
42
42
43
43
- ` python3 setup.py install `
44
44
### PyPI
@@ -187,6 +187,10 @@ time=orangetool.idletime() # this function return idle of system ( all cores)
187
187
188
188
orangetool.version() # return orangetool version for test
189
189
190
+ # 9- check_update
191
+
192
+ orangetool.check_update # Return True if new version is available
193
+
190
194
```
191
195
192
196
Original file line number Diff line number Diff line change 12
12
'''
13
13
ip_pattern = r"(?:[0-9]{1,3}\.){3}[0-9]{1,3}"
14
14
api_1 = "http://ipinfo.io/ip"
15
- VERSION = "0.22 "
15
+ VERSION = "0.23 "
16
16
UPDATE_URL = "http://www.orangetool.ir/version"
17
17
def check_update (DEBUG = False ):
18
18
'''
Original file line number Diff line number Diff line change 2
2
setup (
3
3
name = 'orangetool' ,
4
4
packages = ['orangetool' ],
5
- version = '0.22 ' ,
5
+ version = '0.23 ' ,
6
6
description = 'Some useful script for Orangepi/Raspberrypi boards' ,
7
7
long_description = "" ,
8
8
author = 'Moduland Co' ,
You can’t perform that action at this time.
0 commit comments