Rid everything of snap
Fixes
MODIFY
.gitignore
.gitignore
@@ -4,9 +4,4 @@ cordless_linux_64
cordless
cordless_64.exe
cordless_32.exe
-*.snap
-*.xdelta*
-stage/
-prime/
-snap/.snapcraft
.vscode/

MODIFY
README.md
README.md
@@ -91,18 +91,6 @@ Note:
### Installing on Linux
-#### Snap
-
-**Currently I can't release new snap versions due to a bug!**
-
-Run (Might require sudo):
-
-```shell
-snap install cordless
-```
-
-Snap will automatically install updates.
-
#### Arch based Linux distributions
On Arch based distributions, you can use the AUR package to install cordless:

MODIFY
release.sh
release.sh
# Dependencies:
# * sha256sum
# * envsubst
-# * snapcraft
# * git
# * date
# * go
@@ -92,17 +91,6 @@ git push
git tag -s "$RELEASE_DATE" -m "Update scoop package to version ${RELEASE_DATE}"
git push --tags
-#
-# Build and push the snap package.
-#
-# It is important that this happens after pushing the tag, because otherwise
-# the version of the built snap package will end up being `DATE_dirty`.
-#
-
-snapcraft clean cordless
-snapcraft
-snapcraft upload "cordless_${RELEASE_DATE}_amd64.snap" --release stable
-
#
# Copies the changelog for pasting into the github release. The changes will
# include all commits between the latest and the previous tag.
@@ -163,10 +151,3 @@ unset EXE_64_HASH
unset EXE_32_HASH
unset TAR_HASH
-#
-# Cleanup snap stuff so I can still run unit tests for cordless only.
-#
-
-rm -rf stage/
-rm -rf parts/
-rm -rf prime/

DELETE
snap/snapcraft.yaml
-name: cordless
-version: git
-summary: Third party discord client
-description: |
- A third party discord client for your terminal.
-
-confinement: strict
-grade: stable
-architectures:
- - amd64
-base: core18
-
-parts:
- cordless:
- plugin: go
- go-channel: 1.14/stable
- go-importpath: github.com/Bios-Marcel/cordless
- source: .
- source-type: git
- stage-packages:
- - xclip
- - libnotify-bin
- build-packages:
- - gcc
- - libc6-dev
-
-apps:
- cordless:
- command: bin/cordless
- plugs: [x11, network-bind, desktop]
- environment:
- XDG_CONFIG_HOME: $SNAP_USER_DATA/
\ No newline at end of file

Rid everything of snap

Fixes #179