diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..27ca760 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index aa3b92d..c319eb6 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,16 @@ Odile is a simple GUI for the [croc](https://github.com/schollz/croc) utility by Schollz. This program uses [Fyne](https://fyne.io/), a UI toolkit written in Go, as the graphical interface. Effort was made to keep the language in Go (what croc is written in) and the code in one file. ## Current Status -* Fyne works well, but the file selection currently doesn't fulfill all of croc's needs. I am looking into allowing multiple selection options and folders (perhaps like the [FileZilla interface](https://filezilla-project.org/)) +* Fyne works well, but the file selection doesn't fulfill all of croc's needs. Features are ongoing, changes are possible. (perhaps like the [FileZilla interface](https://filezilla-project.org/)) * Additional features like utilizing a custom relay server are not implemented. -* GUI is still lacking in error checking and communicating information to the user (~~such as the progress bar~~, what files will be accepted, etc.) +* GUI is still lacking in error checking and communicating information to the user * Currently program has only been tested on Windows 10. Any comments or suggestions are appreciated. ## Build To compile without background terminal, add these flags. -```go build -ldflags -H=windowsgui gui.go``` \ No newline at end of file +```go build -ldflags -H=windowsgui gui.go``` + +*Windows Firewall keeps asking about this program, what gives?* +https://stackoverflow.com/questions/55201561/golang-run-on-windows-without-deal-with-the-firewall \ No newline at end of file diff --git a/gui.go b/gui.go index a937cf5..e758971 100644 --- a/gui.go +++ b/gui.go @@ -20,7 +20,7 @@ import ( ) const ( - VERSION = "0.1.4" + VERSION = "1.0.0" ) // TO DO : Better error checking @@ -232,6 +232,7 @@ func (g *OdileGUI) RunProgressBar(){ // Spin locks ahoy! // Wait until send is ready + // TO DO : This could be a condition variable that waits for !g.Croc.Transmitting{ } log.Println("Croc client is ready, waiting for file info transfer")