- Go 70.3%
- Shell 29.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| scripts | ||
| .gitattributes | ||
| .gitignore | ||
| build-msys2.sh | ||
| go.mod | ||
| go.sum | ||
| install.sh | ||
| installto.sh | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
| sweecrypt-gtk.ui | ||
SweeCrypt GTK
GUI for SweeCrypt in Go using GTK 3
Build
On *NIX
Install dependencies
Alpine Linux
# apk add gtk+3.0-dev go git build-base
More distro/OS commands soon, but pretty sure it can be figured out
Clone and Build
$ git clone https://git.swee.codes/swee/sweecrypt-gtk
$ cd sweecrypt-gtk
$ go build -ldflags "-s -w"
The new executable will be sweecrypt-gtk on that same working directory
To install it for your user, use ./install.sh
To make a directory for packing, use ./installto.sh /path/to/usr/bin /path/to/usr/bin/post/install /path/to/usr/share
On Windows
Install MSYS2 and open a shell with either UCRT64 for x86-64 or CLANGARM64 for aarch64.
Install dependencies in the shell
UCRT64
$ pacman -Sy mingw-w64-ucrt-x86_64-gtk3 mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-pkgconf mingw-w64-ucrt-x86_64-go mingw-w64-ucrt-x86_64-nsis base-devel git
CLANGARM64
$ pacman -Sy mingw-w64-clang-aarch64-gtk3 mingw-w64-clang-aarch64-toolchain mingw-w64-clang-aarch64-pkgconf mingw-w64-clang-aarch64-go mingw-w64-clang-x86_64-nsis base-devel git
Tip
If pacman prompts for installing toolchain, just input nothing and press enter
Clone the repo and run the compile script
$ git clone https://git.swee.codes/swee/sweecrypt-gtk
$ cd sweecrypt-gtk
$ ./build-msys2.sh
Your build of SweeCrypt-GTK should be built in /msys2/home/[your username]/sweecrypt-gtk/dist
An installer is also built in /msys2/home/[your username]/sweecrypt-gtk/SweeCryptGTK-Installer.exe