mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
feat: improve extension parsing (#235)
* feat: improve extension parsing * refactor: Refactor extension parsing and update file names. - Refactor extension parsing function for clarity and DRYness - Update name of a file to "Secure Preferences" - Add TODO comment for future work on extension files and folders - Remove unnecessary file write operation and import statement --------- Co-authored-by: moonD4rk <moond4rk13@gmail.com>
This commit is contained in:
@@ -85,9 +85,6 @@ func (c *Chromium) copyItemToLocal() error {
|
||||
if i == item.ChromiumSessionStorage {
|
||||
err = fileutil.CopyDir(path, filename, "lock")
|
||||
}
|
||||
if i == item.ChromiumExtension {
|
||||
err = fileutil.CopyDirHasSuffix(path, filename, "manifest.json")
|
||||
}
|
||||
default:
|
||||
err = fileutil.CopyFile(path, filename)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user