https://github.com/syncom/go-ui-openclose
A simple GUI in go that switches between two states
https://github.com/syncom/go-ui-openclose
Last synced: about 1 year ago
JSON representation
A simple GUI in go that switches between two states
- Host: GitHub
- URL: https://github.com/syncom/go-ui-openclose
- Owner: syncom
- License: mit
- Created: 2018-01-31T12:27:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T23:30:59.000Z (about 8 years ago)
- Last Synced: 2025-01-07T22:13:18.446Z (about 1 year ago)
- Language: Go
- Size: 3.53 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Simple GUI for Rogue SSD's Data Cloaking Demo
This is a simple graphic UI for the RS data cloaking demo. For the demo to
run properly, it is important to set up the initial state of the machine
as follows.
- The RS SSD device is NOT used for OS boot
- Visible namespace is /dev/nvme0n1 and formatted in ext4
- Visible namespace's mount point is /mnt/nvme, mounted.
- Hidden namespace is /dev/nvme0n2, and formatted in ext4
- hidden namespace's mount point /mnt/nvme2 exists, but NOT mounted
# Install dependencies
On Ubuntu (tested version 16.04), do
```
sudo apt-get install build-essential libgtk-3-dev
go get github.com/andlabs/ui
```
On 64-bit Windows 10, install [Git](https://git-scm.com/download/win), and
[go1.9.3](https://dl.google.com/go/go1.9.3.windows-amd64.msi), then
```
go get github.com/andlabs/ui
```
Note that to make it work smoothly it is important to stick to go1.9.3.
The current stable Windows versions go1.9.4 and go1.8.7 have a bug that
prevents the go get from being succeed.
# Build GUI application
Use `make build` or simple `make` to build the GUI.
# Run GUI application
Run `./openclose` as root.