Skip to content

Commit 8033b5c

Browse files
committed
versioning to match github
1 parent 8bac00e commit 8033b5c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/entry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33

44

5-
__version__ = 1.6
5+
__version__ = "1.6"
66
PLUGIN_ID = "tp.plugin.process_monitor"
77
PLUGIN_NAME = "Process_Monitor"
88

99

1010

1111
TP_PLUGIN_INFO = {
1212
'sdk': 6,
13-
'version': int(float(__version__) * 100), # TP only recognizes integer version numberstopo
13+
'version': int(__version__.replace(".","")), # TP only recognizes integer version numberstopo
1414
'name': "Process Monitor",
1515
'id': PLUGIN_ID,
1616
"plugin_start_cmd": f"%TP_PLUGIN_FOLDER%{PLUGIN_NAME}\\{PLUGIN_NAME}.exe",

src/entry.tp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": 6,
3-
"version": 160,
3+
"version": 16,
44
"name": "Process Monitor",
55
"id": "tp.plugin.process_monitor",
66
"configuration": {

src/process_checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def plugin_update_check(data):
276276
try:
277277
github_check = TP.Tools.updateCheck("GitagoGaming", GITHUB_URL).replace('v','').replace(".","")
278278
plugin_version = str(data['pluginVersion'])
279+
279280

280281
## Checking to see if current version is different from github version
281282
if github_check != plugin_version:

0 commit comments

Comments
 (0)