diff --git a/browsers/chromium/chromium.go b/browsers/chromium/chromium.go index 24a1e28..4caba7f 100644 --- a/browsers/chromium/chromium.go +++ b/browsers/chromium/chromium.go @@ -12,8 +12,8 @@ import ( "path/filepath" "strings" - cmn "lordofscripts/wipechromium" - "lordofscripts/wipechromium/browsers" + cmn "github.com/lordofscripts/wipechromium" + "github.com/lordofscripts/wipechromium/browsers" ) /* ---------------------------------------------------------------- diff --git a/browsers/chromium/chromium_darwin.go b/browsers/chromium/chromium_darwin.go index ac690f9..451fd7f 100644 --- a/browsers/chromium/chromium_darwin.go +++ b/browsers/chromium/chromium_darwin.go @@ -11,7 +11,7 @@ package chromium import ( "path/filepath" - cmn "lordofscripts/wipechromium" + cmn "github.com/lordofscripts/wipechromium" ) /* ---------------------------------------------------------------- diff --git a/browsers/chromium/chromium_unix.go b/browsers/chromium/chromium_unix.go index ce3272c..8f98e76 100644 --- a/browsers/chromium/chromium_unix.go +++ b/browsers/chromium/chromium_unix.go @@ -11,7 +11,7 @@ package chromium import ( "path/filepath" - cmn "lordofscripts/wipechromium" + cmn "github.com/lordofscripts/wipechromium" ) /* ---------------------------------------------------------------- diff --git a/cmd/wiper/wiper.go b/cmd/wiper/wiper.go index 4966e5a..b1383bb 100644 --- a/cmd/wiper/wiper.go +++ b/cmd/wiper/wiper.go @@ -14,10 +14,10 @@ import ( "os" "strings" - cmn "lordofscripts/wipechromium" + cmn "github.com/lordofscripts/wipechromium" // Here one package for each supported browser - "lordofscripts/wipechromium/browsers" - "lordofscripts/wipechromium/browsers/chromium" + "github.com/lordofscripts/wipechromium/browsers" + "github.com/lordofscripts/wipechromium/browsers/chromium" ) /* ---------------------------------------------------------------- diff --git a/go.mod b/go.mod index dd525b3..4751efb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module lordofscripts/wipechromium +module github.com/lordofscripts/wipechromium go 1.22.1 diff --git a/test/browser_test.go b/test/browser_test.go index 408e85b..7690f1a 100644 --- a/test/browser_test.go +++ b/test/browser_test.go @@ -6,7 +6,7 @@ package test import ( - "lordofscripts/wipechromium/browsers" + "github.com/lordofscripts/wipechromium/browsers" "testing" ) diff --git a/test/bytecount_test.go b/test/bytecount_test.go index 497c112..bfe269a 100644 --- a/test/bytecount_test.go +++ b/test/bytecount_test.go @@ -7,7 +7,7 @@ package test import ( "fmt" - cmn "lordofscripts/wipechromium" + cmn "github.com/lordofscripts/wipechromium" "math" "testing" ) diff --git a/test/dircleaner_test.go b/test/dircleaner_test.go index 207590a..4e63ade 100644 --- a/test/dircleaner_test.go +++ b/test/dircleaner_test.go @@ -14,7 +14,7 @@ import ( "github.com/blang/vfs" "github.com/blang/vfs/memfs" - "lordofscripts/wipechromium" + "github.com/lordofscripts/wipechromium" ) /* ---------------------------------------------------------------- @@ -30,15 +30,15 @@ var ( ExceptionsCache []string = []string{} ChromiumCache = []FSO{ - FSO{true, "Cache"}, - FSO{true, "Cache/Cache_Data"}, - FSO{false, "Cache/Cache_Data/index"}, - - FSO{true, "Code Cache"}, - FSO{true, "Code Cache/js"}, - FSO{false, "Code Cache/js/index"}, - FSO{true, "Code Cache/wasm"}, - FSO{false, "Code Cache/wasm/index"}, + {true, "Cache"}, + {true, "Cache/Cache_Data"}, + {false, "Cache/Cache_Data/index"}, + + {true, "Code Cache"}, + {true, "Code Cache/js"}, + {false, "Code Cache/js/index"}, + {true, "Code Cache/wasm"}, + {false, "Code Cache/wasm/index"}, } ExceptionsData []string = []string{ @@ -55,73 +55,73 @@ var ( } ChromiumData = []FSO{ - FSO{false, "Affiliation Database"}, - FSO{true, "AutofillStrikeDatabase"}, - FSO{false, "Bookmarks"}, - FSO{false, "Bookmarks.bak"}, - FSO{false, "BrowsingTopicsSiteData"}, - FSO{true, "BudgetDatabase"}, - FSO{true, "BudgetDatabase/LOCK"}, - FSO{false, "BudgetDatabase/LOG"}, - FSO{false, "BudgetDatabase/LOG.old"}, - FSO{true, "chrome_cart_db"}, - FSO{true, "ClientCertificates"}, - FSO{true, "commerce_subscription_db"}, - FSO{false, "Cookies"}, - FSO{false, "Cookies-journal"}, - - FSO{true, "Extension Rules"}, - FSO{false, "Extension Rules/000003.log"}, - FSO{false, "Extension Rules/CURRENT"}, - FSO{false, "Extension Rules/LOCK"}, - FSO{false, "Extension Rules/LOG"}, - FSO{false, "Extension Rules/MANIFEST-000002"}, - - FSO{true, "Extension Scripts"}, - FSO{false, "Extension Scripts/000003.log"}, - FSO{false, "Extension Scripts/CURRENT"}, - FSO{false, "Extension Scripts/LOCK"}, - FSO{false, "Extension Scripts/LOG"}, - FSO{false, "Extension Scripts/MANIFEST-000002"}, - - FSO{true, "Extension State"}, - FSO{false, "Extension State/000003.log"}, - FSO{false, "Extension State/CURRENT"}, - FSO{false, "Extension State/LOCK"}, - FSO{false, "Extension State/LOG"}, - FSO{false, "Extension State/MANIFEST-000002"}, - - FSO{false, "Favicons"}, - FSO{true, "File System"}, - FSO{true, "File System/001"}, - FSO{true, "File System/002"}, - FSO{true, "File System/Origins"}, - FSO{false, "History"}, - - FSO{true, "Local Storage"}, - FSO{true, "Local Storage/leveldb"}, - - FSO{false, "LOCK"}, - FSO{false, "LOG"}, - FSO{false, "Login Data"}, - FSO{false, "Login Data For Account"}, - FSO{false, "LOG.old"}, - FSO{false, "Preferences"}, - FSO{false, "PreferredApps"}, - FSO{false, "Secure Preferences"}, - FSO{true, "Sessions"}, - FSO{true, "Session Storage"}, - FSO{true, "Sync Data"}, - - FSO{true, "Web Applications"}, - FSO{true, "Web Applications/Manifest Resources"}, - FSO{true, "Web Applications/Manifest Resources/nolmkcfonidpkniogdbnhmnnaepcehlc"}, - FSO{true, "Web Applications/Temp"}, - - FSO{true, "Web Storage"}, - FSO{true, "Web Storage/10"}, - FSO{true, "Web Storage/20"}, - FSO{false, "Web Storage/QuotaManager"}, + {false, "Affiliation Database"}, + {true, "AutofillStrikeDatabase"}, + {false, "Bookmarks"}, + {false, "Bookmarks.bak"}, + {false, "BrowsingTopicsSiteData"}, + {true, "BudgetDatabase"}, + {true, "BudgetDatabase/LOCK"}, + {false, "BudgetDatabase/LOG"}, + {false, "BudgetDatabase/LOG.old"}, + {true, "chrome_cart_db"}, + {true, "ClientCertificates"}, + {true, "commerce_subscription_db"}, + {false, "Cookies"}, + {false, "Cookies-journal"}, + + {true, "Extension Rules"}, + {false, "Extension Rules/000003.log"}, + {false, "Extension Rules/CURRENT"}, + {false, "Extension Rules/LOCK"}, + {false, "Extension Rules/LOG"}, + {false, "Extension Rules/MANIFEST-000002"}, + + {true, "Extension Scripts"}, + {false, "Extension Scripts/000003.log"}, + {false, "Extension Scripts/CURRENT"}, + {false, "Extension Scripts/LOCK"}, + {false, "Extension Scripts/LOG"}, + {false, "Extension Scripts/MANIFEST-000002"}, + + {true, "Extension State"}, + {false, "Extension State/000003.log"}, + {false, "Extension State/CURRENT"}, + {false, "Extension State/LOCK"}, + {false, "Extension State/LOG"}, + {false, "Extension State/MANIFEST-000002"}, + + {false, "Favicons"}, + {true, "File System"}, + {true, "File System/001"}, + {true, "File System/002"}, + {true, "File System/Origins"}, + {false, "History"}, + + {true, "Local Storage"}, + {true, "Local Storage/leveldb"}, + + {false, "LOCK"}, + {false, "LOG"}, + {false, "Login Data"}, + {false, "Login Data For Account"}, + {false, "LOG.old"}, + {false, "Preferences"}, + {false, "PreferredApps"}, + {false, "Secure Preferences"}, + {true, "Sessions"}, + {true, "Session Storage"}, + {true, "Sync Data"}, + + {true, "Web Applications"}, + {true, "Web Applications/Manifest Resources"}, + {true, "Web Applications/Manifest Resources/nolmkcfonidpkniogdbnhmnnaepcehlc"}, + {true, "Web Applications/Temp"}, + + {true, "Web Storage"}, + {true, "Web Storage/10"}, + {true, "Web Storage/20"}, + {false, "Web Storage/QuotaManager"}, } ) diff --git a/test/errorhandling_test.go b/test/errorhandling_test.go index 51ec269..7a1424a 100644 --- a/test/errorhandling_test.go +++ b/test/errorhandling_test.go @@ -10,7 +10,7 @@ import ( "fmt" "testing" - cmn "lordofscripts/wipechromium" + cmn "github.com/lordofscripts/wipechromium" ) /* ---------------------------------------------------------------- diff --git a/test/tristate_test.go b/test/tristate_test.go index 38eccea..539febe 100644 --- a/test/tristate_test.go +++ b/test/tristate_test.go @@ -6,7 +6,7 @@ package test import ( - cmn "lordofscripts/wipechromium" + cmn "github.com/lordofscripts/wipechromium" "testing" ) diff --git a/version.go b/version.go index b82c2d2..663c7da 100644 --- a/version.go +++ b/version.go @@ -28,7 +28,7 @@ const ( ) // NOTE: Change these values accordingly -var Version string = version{NAME, "0.2", statusRC, 1}.String() +var Version string = version{NAME, "0.2", statusRC, 2}.String() /* ---------------------------------------------------------------- * T y p e s