i'm currently working on your code.. i cloned the repository and started reading the source files.
i'm almost certain that "libsystemback/sblib.cpp" is the correct file.
you hardcoded the devicenames so i extended the list in order to cover "_/dev/nvme*" devices too.
systemback is now seeing the nvme device and listing it in the UI.
sb:gdetect() needs to be altered too - since you use some sort of string manipulation in order to get the right device i used the same technique you used for "mmcblk" - now i can also delete partitions on the device..
unfortunately i'm stuck now.. creating a new partition does not work.. it just refreshes the UI without an error message. it's probably because i cut of the wrong amount of letters..
this is the first time ever i'm reading c++ code (python programmer) and i have absolutely no idea what i'm doing so i could really use your help ;-)
i'm currently working on your code.. i cloned the repository and started reading the source files.
i'm almost certain that "libsystemback/ sblib.cpp" is the correct file.
you hardcoded the devicenames so i extended the list in order to cover "_/dev/nvme*" devices too.
systemback is now seeing the nvme device and listing it in the UI.
sb:gdetect() needs to be altered too - since you use some sort of string manipulation in order to get the right device i used the same technique you used for "mmcblk" - now i can also delete partitions on the device..
unfortunately i'm stuck now.. creating a new partition does not work.. it just refreshes the UI without an error message. it's probably because i cut of the wrong amount of letters..
this is the first time ever i'm reading c++ code (python programmer) and i have absolutely no idea what i'm doing so i could really use your help ;-)
thx in advance!
thomas