diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5a4fe3c..c0a4dfe 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -51,5 +51,5 @@ jobs: - name: Upload Build Artifacts uses: actions/upload-artifact@v3 with: - name: writer-${{ runner.os }} - path: writer* + name: imprint-${{ runner.os }} + path: imprint* diff --git a/.gitignore b/.gitignore index 56b947d..3753a2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/writer +/imprint ### Go ### # Binaries for programs and plugins diff --git a/README.md b/README.md index 7bec620..00d62a8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# writer +# imprint An small, intuitive app to flash ISOs and disk images to external drives e.g. USB drives. diff --git a/app/execdd.go b/app/execdd.go index bb252c3..26a9b04 100644 --- a/app/execdd.go +++ b/app/execdd.go @@ -33,8 +33,8 @@ func (err *DdError) Error() string { // CopyConvert executes the `dd` Unix utility and provides its output. // -// Technically, this isn't true anymore, it executes writer itself -// with some special parameters as admin. The new writer process +// Technically, this isn't true anymore, it executes imprint itself +// with some special parameters as admin. The new imprint process // wraps `dd` and accepts "stop\n" stdin to terminate dd. This is // because killing the process doesn't work with pkexec/osascript, // and this approach enables us to reimplement dd fully. diff --git a/go.mod b/go.mod index b9382c2..33c5833 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/retrixe/writer +module github.com/retrixe/imprint go 1.19 diff --git a/main.go b/main.go index 4372e92..3540ca4 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( _ "embed" - "github.com/retrixe/writer/app" + "github.com/retrixe/imprint/app" "github.com/sqweek/dialog" webview "github.com/webview/webview_go" ) @@ -44,14 +44,14 @@ func ParseToJsString(s string) string { func main() { if len(os.Args) >= 2 && (os.Args[1] == "-v" || os.Args[1] == "--version") { - println("writer version v" + version) + println("imprint version v" + version) return } else if len(os.Args) >= 2 && os.Args[1] == "flash" { log.SetFlags(0) log.SetOutput(os.Stderr) log.SetPrefix("[flash] ") if len(os.Args) < 4 { - println("Invalid usage: writer flash (--use-system-dd)") + println("Invalid usage: imprint flash (--use-system-dd)") os.Exit(1) } if err := app.UnmountDevice(os.Args[3]); err != nil { @@ -74,7 +74,7 @@ func main() { w = webview.New(debug) defer w.Destroy() w.SetSize(420, 210, webview.HintNone) - w.SetTitle("Writer " + version) + w.SetTitle("Imprint " + version) // Bind variables. // w.Bind("setFileGo", func(newFile string) {file = newFile}) diff --git a/package.json b/package.json index 8e1dfe2..fc7b661 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "writer", + "name": "imprint", "version": "1.0.0-alpha.2", "description": "An small, intuitive app to flash ISOs and disk images to external drives e.g. USB drives.", - "repository": "https://github.com/retrixe/writer.git", + "repository": "https://github.com/retrixe/imprint.git", "author": "retrixe", "license": "Apache-2.0", "private": true, @@ -12,8 +12,8 @@ "start": "parcel build renderer/index.tsx && go run .", "build": "parcel build renderer/index.tsx --no-source-maps && yarn build:go", "build:go": "run-script-os", - "build:go:default": "go build -ldflags=\"-s -w\" -o writer -v", - "build:go:windows": "go build -ldflags=\"-s -w -H windowsgui\" -o writer.exe -v" + "build:go:default": "go build -ldflags=\"-s -w\" -o imprint -v", + "build:go:windows": "go build -ldflags=\"-s -w -H windowsgui\" -o imprint.exe -v" }, "packageManager": "yarn@4.5.1", "dependencies": { diff --git a/yarn.lock b/yarn.lock index afe82ef..3e44623 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6880,9 +6880,9 @@ __metadata: languageName: node linkType: hard -"writer@workspace:.": +"imprint@workspace:.": version: 0.0.0-use.local - resolution: "writer@workspace:." + resolution: "imprint@workspace:." dependencies: "@babel/core": "npm:^7.26.0" "@emotion/babel-plugin": "npm:^11.12.0"