Skip to content

Commit bfb6615

Browse files
committed
sf.json: version as revision (V38.1)
1 parent 47486a4 commit bfb6615

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FlashDetector/sf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "FlashDetector",
3-
"version": "RESERVED",
3+
"version": "1",
44
"api": 6,
55
"description": "Universal NAND Flash Part Number Decoder",
66
"author": "iTX Technologies",

FlashDetector/src/iTXTech/FlashDetector/Loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function load(){
3232
$info = new \ReflectionClass(ModuleInfo::class);
3333
$prop = $info->getProperty("version");
3434
$prop->setAccessible(true);
35-
$prop->setValue($this->getInfo(), FlashDetector::getVersion());
35+
$prop->setValue($this->getInfo(), FlashDetector::getVersion() . "." . $this->getInfo()->getVersion());
3636
}
3737

3838
public function unload(){

0 commit comments

Comments
 (0)