Skip to content

Commit

Permalink
sf.json: version as revision (V38.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeratX committed Oct 29, 2019
1 parent 47486a4 commit bfb6615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FlashDetector/sf.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "FlashDetector",
"version": "RESERVED",
"version": "1",
"api": 6,
"description": "Universal NAND Flash Part Number Decoder",
"author": "iTX Technologies",
Expand Down
2 changes: 1 addition & 1 deletion FlashDetector/src/iTXTech/FlashDetector/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function load(){
$info = new \ReflectionClass(ModuleInfo::class);
$prop = $info->getProperty("version");
$prop->setAccessible(true);
$prop->setValue($this->getInfo(), FlashDetector::getVersion());
$prop->setValue($this->getInfo(), FlashDetector::getVersion() . "." . $this->getInfo()->getVersion());
}

public function unload(){
Expand Down

0 comments on commit bfb6615

Please sign in to comment.