Hi
I gather void DownloadablePackage::remove() should delete a package & its extracted contents. On Windows, I don’t find this to happen.
I’m trying the following as a test
DownloadablePackage {
id: package1
source: "http://www.testme.com/test.zip"
onDownloadFinished: {
console.log("Deleting package")
package1.remove()
}
}
I see the console message after downloading, but the zip & extract remains. I’d like to delete both the zip & its content.
I notice the zip & content is stored in C:\Users\<userName>\AppData\Local\<appName>\cache\_packages
Can someone tell me if I’ve done anything wrong so far? Thanks.
Cheers
Michael.