diff --git a/.goreleaser.yml b/.goreleaser.yml index e0d5d410..5b066333 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -19,13 +19,6 @@ builds: - amd64 - arm - arm64 -archive: - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 checksum: name_template: 'checksums.txt' snapshot: diff --git a/package.json b/package.json index 6734dc15..08ef3b60 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "description": "Flutter Version Management: A simple cli to manage Flutter SDK versions.", "main": "index.js", "scripts": { + "postinstall": "go-npm install", + "preuninstall": "go-npm uninstall", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {