Yes, upgrading an app from v1 to v2 should appear as a transparent, regular upgrade to users and should not require any specific operation on their end (though of course there are always tricky cases, that’s just a general rule)
I’ve dealt with quite a few regex in my life, but I find those quite overkill and I don’t really understand what I’m doing (except that it’s trying to retrieve a value from a previous installation).
I’ve just added the || true before the last bracket: