7

I have purchased a few apps from the Elementary AppCenter(). I recently had to do a clean install of the OS. I reinstalled these apps but they want me to pay again. I would just ignore this, but now those apps will not just update when I chose to run all updates. I have to do each one, one at a time..all while it keeps insisting that I pay for it... again.

Is there anyway for this new install to know that I have already paid for some of these apps and don't need to do it again? If not, what are the plans to address this type of issue?

1
  • Is a really good question. It seems there's a way to achieve this, but I haven't figure it out | It was "fixed" almost a year ago github.com/elementary/appcenter/issues/306 maybe you have a specific bug that needs reporting
    – Sebastian
    Dec 29, 2018 at 14:23

1 Answer 1

5

There is a Github issue concerning this that's marked as resolved, but their use case doesn't cover reinstalls, which is a little curious given that ElementaryOS hasn't actually supported upgrades at all.

In lieu of that, I looked into how the AppCenter tracks "paid for" applications and how to restore them upon reinstall.

The DRM (if you want to call it that) for the list of installed apps ElementaryOS uses is a hidden settings variable on appcenter, which you can see on the commandline by running this. So for example, I bought/donated to webpin, and here I can see that via gsettings:

$ gsettings get io.elementary.appcenter.settings paid-apps
['com.github.artemanufrij.webpin']

Suppose I paid also for Clipped, which I think I will today. (It's a great little app; I recommend it and am happy to donate to its development.)

You can tell from the above URL that Clipped's ID is com.github.davidmhewitt.clipped, so I can add it to my list of "paid for" apps like so:

$ gsettings set io.elementary.appcenter.settings paid-apps "['com.github.artemanufrij.webpin', 'com.github.davidmhewitt.clipped']"

So, that's how AppCenter stores its list of "paid for" apps. To restore that between installs, you could simply dump the output of gsettings get io.elementary.appcenter.settings paid-apps to a file and email it to yourself, then restore it later. Or, you could backup your home directory's config files and restore those.


Note: It's probably worth discussing that you could also use the aforementioned technique to "trick" the AppCenter into giving you free updates. But given that you can just use these things free anyway, that seems kind of silly. But if you're that determined to avoid paying $1 for a clipboard history app, probably no one is going to stop you.

2
  • 2
    I am not trying to avoid paying for an app. I am trying to avoid having to pay for the app twice. I have already paid for it once. All I did was reinstall the OS to an other laptop when mine died. Now I have to buy all the apps again?? No, absolutely not!! I paid once already. Now I have to find an other distro to use. Jan 8, 2019 at 13:43
  • @DavidFerguson Or you could do exactly what I'm describing to restore the "purchases." But suit yourself.
    – Ken Kinder
    Jan 8, 2019 at 21:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.