Forums

OverviewV-Play 1 Support › deleting a DownloadablePackage

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7106

    Michael

    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.

    #7107

    Alex
    V-Play Team

    Hi Michael,

    the zip should usually be deleted right after the extraction step, the files should be deleted when calling remove() yes. We will shortly investigate the removal on Windows, you are saying both the zip and the files are remaining in your app data location directory, right?

    Thanks,

    Alex

    #7115

    Michael

    Hi Alex

    Yes that’s right.

    Cheers

    Michael

    #7118

    Michael

    Hi Alex

    Has the delete function been confirmed to work ok on mobile platforms? This is the main thing..

    Cheers,

    Michael.

    #7119

    Alex
    V-Play Team

    Hi Michael,

    yes our tests (and the functionality of course) cover the mobile platforms too, we are currently still looking into the issue on desktop, I will let you know about our results as soon as they are available.

    Thanks,

    Alex

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support