Skip to content

Commit

Permalink
Closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord of Scripts committed Aug 27, 2024
1 parent e977593 commit 24e3e9d
Show file tree
Hide file tree
Showing 11 changed files with 90 additions and 90 deletions.
4 changes: 2 additions & 2 deletions browsers/chromium/chromium.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"path/filepath"
"strings"

cmn "lordofscripts/wipechromium"
"lordofscripts/wipechromium/browsers"
cmn "github.com/lordofscripts/wipechromium"
"github.com/lordofscripts/wipechromium/browsers"
)

/* ----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion browsers/chromium/chromium_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package chromium
import (
"path/filepath"

cmn "lordofscripts/wipechromium"
cmn "github.com/lordofscripts/wipechromium"
)

/* ----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion browsers/chromium/chromium_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package chromium
import (
"path/filepath"

cmn "lordofscripts/wipechromium"
cmn "github.com/lordofscripts/wipechromium"
)

/* ----------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions cmd/wiper/wiper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

/* ----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module lordofscripts/wipechromium
module github.com/lordofscripts/wipechromium

go 1.22.1

Expand Down
2 changes: 1 addition & 1 deletion test/browser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package test

import (
"lordofscripts/wipechromium/browsers"
"github.com/lordofscripts/wipechromium/browsers"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion test/bytecount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package test

import (
"fmt"
cmn "lordofscripts/wipechromium"
cmn "github.com/lordofscripts/wipechromium"
"math"
"testing"
)
Expand Down
154 changes: 77 additions & 77 deletions test/dircleaner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/blang/vfs"
"github.com/blang/vfs/memfs"

"lordofscripts/wipechromium"
"github.com/lordofscripts/wipechromium"
)

/* ----------------------------------------------------------------
Expand All @@ -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{
Expand All @@ -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"},
}
)

Expand Down
2 changes: 1 addition & 1 deletion test/errorhandling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"
"testing"

cmn "lordofscripts/wipechromium"
cmn "github.com/lordofscripts/wipechromium"
)

/* ----------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion test/tristate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package test

import (
cmn "lordofscripts/wipechromium"
cmn "github.com/lordofscripts/wipechromium"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24e3e9d

Please sign in to comment.