Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie committed Dec 9, 2023
1 parent 946ec81 commit a4eb62e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions js/extension.js
Expand Up @@ -554,6 +554,12 @@
}
python311_available = true;
}
if(this.python_version == '3.11' && packs[p]['language']['versions'][v] == '3.9'){
if(this.debug){
console.log("python 3.9 package spotted");
}
python39_available = true;
}
if(packs[p]['language']['versions'][v] == '12'){
if(this.debug){
console.log("node 12 package spotted");
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Expand Up @@ -55,7 +55,7 @@
}
},
"short_name": "candleapps",
"version": "0.5.12",
"version": "0.5.13",
"web_accessible_resources": [
"css/*.css",
"images/*.svg",
Expand Down
9 changes: 6 additions & 3 deletions pkg/candleappstore_adapter.py
Expand Up @@ -188,7 +188,7 @@ def __init__(self, verbose=True):
except Exception as ex:
print("Error loading config: " + str(ex))

self.DEBUG = True
#self.DEBUG = True

#self.ssid = self.candleappstore_name + " " + self.persistent_data['unique_id'] + "_nomap"
#print("ssid = " + str(self.ssid))
Expand Down Expand Up @@ -233,16 +233,19 @@ def __init__(self, verbose=True):
print("error getting bits of system: " + str(ex))


self.python_version = '3.9'
self.python_minor_version = 9
self.python_version = '3.11'
self.python_minor_version = 11
try:
python_check = shell('python3 --version')
print("python_check: " + str(python_check))
python_check = python_check.replace("Python ", "")
python_version_parts = python_check.split('.')
if len(python_version_parts) == 3:

self.python_version = str(python_version_parts[0]) + "." + str(python_version_parts[1])
self.python_minor_version = int(python_version_parts[1])
else:
print("error, python version did not consist of three parts: " + str(python_version_parts))
if self.DEBUG:
print("Python version: " + str(self.python_version))
except Exception as ex:
Expand Down

0 comments on commit a4eb62e

Please sign in to comment.