el1t / uBlock-Safari

uBlock Origin - An efficient blocker for Chromium, Firefox, and Safari. Fast and lean.
GNU General Public License v3.0
2.75k stars 97 forks source link

Question: Restore setting by moving files manually? #99

Open TraderStf opened 6 years ago

TraderStf commented 6 years ago

Hello, I have uninstall the app-store version, to be able to install the github version. All my settings have been deleted.

I have tried to restore some backup files (.db, shm, wal...) then change their file names... in /Local/Storage and /Safari/Databases/...ublock

But it seems something else is required to use them.

Can you tell me which file/data/record I need to change too?

Thanks a lot.

heubergen commented 6 years ago

Ideally you should export your settings before you remove the extensions using the built-in option. I don't think that it will work now as the files for the old uBlock installation are probably already deleted.

TraderStf commented 6 years ago

Don't know the settings would be deleted... a bit my fault... All files are all restored but it seems a preference in UB is not pointing/different names to the current files in the folders. Will check the code or sql, I suppose I had just to replace the number.

TraderStf commented 6 years ago

Here is a new problem caused by replacing the 'apple-gallery' one by the github version... Once again, my settings lost and even 'predefined' list invisible... huge mess.

I make an automatic backup but there is another case where you loose all. Replace the 'gallery-apple' version by the one downloaded from github!

Today I discovered that even by deleting 'apple' one, which has been updated automatically to 16, then reinstalling it manually, Safari keeps thinking it's the apple one... and of course signals update 16 is available!

And once again, as the apple one has been updated to 16 automatically, my github settings are once against lost!

I don't mention other bugs that this mess has created, public-list missing/totally empty, settings... I'll fill a report.