From a08dbe1affce0ddcd382ee1b9afe6fd739be4589 Mon Sep 17 00:00:00 2001 From: Nicolas Palumbo Date: Wed, 7 Aug 2024 15:27:18 +0200 Subject: [PATCH 1/2] change structure to be friendly with goinstall --- .../excalidraw-decrypt/excalidraw-decrypt.go | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename pkg/excalidrawdecrypt/excalidraw-decrypt/excalidrawdecrypt.go => cmd/excalidraw-decrypt/excalidraw-decrypt.go (100%) diff --git a/pkg/excalidrawdecrypt/excalidraw-decrypt/excalidrawdecrypt.go b/cmd/excalidraw-decrypt/excalidraw-decrypt.go similarity index 100% rename from pkg/excalidrawdecrypt/excalidraw-decrypt/excalidrawdecrypt.go rename to cmd/excalidraw-decrypt/excalidraw-decrypt.go From 34118ef2dabc15629f6af9450df82210431ad622 Mon Sep 17 00:00:00 2001 From: Nicolas Palumbo Date: Wed, 7 Aug 2024 15:56:19 +0200 Subject: [PATCH 2/2] Update README.md and goreleaser config --- .goreleaser.yaml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7838731..4f0b2d6 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -21,7 +21,7 @@ changelog: - '^docs:' - '^test:' brews: - - name: excalidrawdecrypt + - name: excalidraw-decrypt tap: owner: loveholidays name: homebrew-tap diff --git a/README.md b/README.md index 4c78fa2..3fe0b4e 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ The library relies on the parameters obtained from Excalidraw shareable links, w ## Install using go toolchain ``` -go install github.com/loveholidays/excalidraw-decrypt@latest +go install github.com/loveholidays/excalidraw-decrypt/cmd/excalidraw-decrypt@latest ``` ## Install using homebrew ``` -brew install loveholidays/tap/excalidrawdecrypt +brew install loveholidays/tap/excalidraw-decrypt ``` ## Install by downloading the binary from Github releases Grab the latest OS/Arch compatible binary from our [Releases](https://github.com/loveholidays/excalidraw-decrypt/releases) page.