Picocrypt/src
Evan Su 2904f6d499
Update to latest font
2022-03-19 13:06:41 -04:00
..
snap/gui Bump to v1.22 2021-12-22 11:33:48 -05:00
Picocrypt.go Prepare for v1.23 2022-03-19 12:43:32 -04:00
README.md Simplify Linux dependencies 2022-01-09 12:19:52 -05:00
font.ttf Update to latest font 2022-03-19 13:06:41 -04:00
go.mod Prepare for v1.23 2022-03-19 12:43:32 -04:00
go.sum Prepare for v1.23 2022-03-19 12:43:32 -04:00
icon.png Compress icon.png 2022-03-19 11:49:46 -04:00
snapcraft.yaml Bump version and optimize 2022-03-19 12:52:31 -04:00

README.md

Running From Source

If you would like to run Picocrypt from source, or an executable isn't available for your platform, you've come to the right place. Running from source is very simple, and I've made it even easier with these straightforward instructions. Unlike VeraCrypt, which requires complex build procedures, SDKs, and assemblers, Picocrypt can easily be compiled from source with only a Go and C compiler. All you need is ten minutes and an Internet connection.

1. Prerequisites

Linux:

apt install -y gcc libgtk-3-dev libglu1-mesa xclip xorg-dev

macOS:

xcode-select --install
brew install glfw glew

Windows: A C compiler, ideally TDM-GCC

2. Install the Go Programming Language

If you don't have Go installed, download the corresponding installer for Go from here, or from your package manager (apt install golang-go). The latest version of Go is recommended.

3. Get the Source Files

Download the source files as a zip from the homepage or git clone this repository. Next, navigate to the src/ directory, where you will find the source file (Picocrypt.go).

4. Build From Source

Finally, build Picocrypt from source:

  • Windows: go build -ldflags "-s -w -H=windowsgui -extldflags=-static" Picocrypt.go
  • macOS: go build -ldflags "-s -w" Picocrypt.go
  • Linux: go build -ldflags "-s -w" Picocrypt.go

5. Done!

You should now see a compiled executable (Picocrypt.exe/Picocrypt) in your directory. You can run it by double-clicking or executing it in your terminal. That wasn't too hard, right? Enjoy!