Picocrypt/src
2021-09-28 20:35:02 -04:00
..
snap/gui Clean up directory structure 2021-09-26 20:55:50 -04:00
unstable Revert "Update Picocrypt.go" 2021-09-28 20:34:52 -04:00
cmd_unix.go Revert "Rename cmd_unix.go to shred_unix.go" 2021-09-28 20:35:02 -04:00
cmd_windows.go Revert "Rename cmd_windows.go to shred_windows.go" 2021-09-28 20:34:57 -04:00
font.ttf Prepare for v1.18 2021-09-24 20:29:22 -04:00
go.mod Update go.mod 2021-09-27 20:44:07 -04:00
icon.png Prepare for v1.18 2021-09-24 20:29:22 -04:00
Picocrypt.go Remove the need to edit code for compilation when not on Windows 2021-09-28 01:41:54 -07:00
README.md Revert "Update README.md" 2021-09-28 20:34:50 -04:00
sdelete64.exe Prepare for v1.18 2021-09-24 20:29:22 -04:00
snapcraft.yaml Clean up directory structure 2021-09-26 20:55:50 -04:00
strings.json Add files via upload 2021-09-26 13:33:30 -04:00

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. All you need is ten minutes and an Internet connection.

1. Prerequisites

Linux:

apt install -y gcc make libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libxxf86vm-dev libgtk-3-dev xdg-utils libglu1-mesa xclip coreutils

macOS:

xcode-select --install

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. The latest version of Go is required.

3. Get the Source Files

Download the source files as a zip from the homepage or git clone this repository.

4. Build From Source

Finally, build Picocrypt from source:

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

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!