Skip to content

Commit 17635a4

Browse files
Updated documentation
1 parent be6e1a6 commit 17635a4

File tree

5 files changed

+27
-23
lines changed

5 files changed

+27
-23
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ go-thrust
22
=========
33
Current Version 0.2.0
44

5-
Official GoLang Thrust Client for Thrust (https://github.com/breach/thrust) to be used in Breach.cc(http://breach.cc) via Official Go Implementation @ (http://github.com/miketheprogrammer/breach-go).
5+
Official GoLang Thrust Client for Thrust (https://github.com/breach/thrust)
66

77
Running DEMO binary on OSX 10.9 or Linux (This is just for the demo, Thrust as it stands now is really a Library to be used in other applications.)
88
==================
@@ -52,7 +52,7 @@ DOCUMENTATION
5252

5353
Roadmap to v1.0 :
5454
================
55-
Please note Complete Support will never be toggled until Thrust core is stable.
55+
Please note Complete Support *may* not be toggled until Thrust core is stable.
5656

5757
- [X] Queue Requests prior to Object being created to matain a synchronous looking API without the need for alot of state checks
5858
- [ ] Remove overuse of pointers in structs where modification will not take place
@@ -109,11 +109,7 @@ Using Go-Thrust as a Library and bundling your final release
109109
==========================
110110
To use go-thrust as a library, simple use the code in the same way you would use any GoLang library.
111111

112-
When prepping your releases, please try to stick to the contract of our release folder, view MakeFile tag build.release for an example.
113-
114-
However if you want to make your own folder structure, feel free to modify the spawn package and relevant tools files to suit your needs.
115-
116-
As long as spawn, can successfully install, find, and run the Thrust Core binaries, then you are golden.
112+
- More info to come on Prepping releases.
117113

118114

119115

doc/spawn/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55

66
## Usage
77

8-
#### func ApplySymlinks
9-
10-
```go
11-
func ApplySymlinks()
12-
```
13-
148
#### func Bootstrap
159

1610
```go

html/index.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

public/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<html>
2+
<head>
3+
<title>Thrust DEMO</title>
4+
<style></style>
5+
</head>
6+
<body>
7+
<h1 class="header">
8+
Welcome to the Thrust Demo.
9+
<iframe id="docview" width="800px" height="768px">
10+
</iframe>
11+
</h2>
12+
</body>
13+
</html>

spawn/helper_darwin.go

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,17 @@ func Bootstrap() {
5959

6060
}
6161

62+
/*
63+
executableNotExist checks if the executable does not exist
64+
*/
6265
func executableNotExist() bool {
6366
_, err := os.Stat(GetExecutablePath())
6467
return os.IsNotExist(err)
6568
}
6669

70+
/*
71+
prepareExecutable dowloads, unzips and does alot of other magic to prepare our thrust core build.
72+
*/
6773
func prepareExecutable() {
6874
path := downloadFromUrl(GetDownloadUrl(), common.THRUST_VERSION)
6975
//unzip(strings.Replace("/tmp/$V", "$V", common.THRUST_VERSION, 1), GetThrustDirectory())
@@ -72,10 +78,13 @@ func prepareExecutable() {
7278
os.Rename(GetThrustDirectory()+"/ThrustShell.app/Contents/MacOS/ThrustShell", GetThrustDirectory()+"/ThrustShell.app/Contents/MacOS/"+common.ApplicationName)
7379
os.Rename(GetThrustDirectory()+"/ThrustShell.app", GetThrustDirectory()+"/"+common.ApplicationName+".app")
7480

75-
ApplySymlinks()
81+
applySymlinks()
7682
}
7783

78-
func ApplySymlinks() {
84+
/*
85+
ApplySymLinks exists because our unzip utility does not respect deferred symlinks. It applies all the neccessary symlinks to make the thrust core exe connect to the thrust core libs.
86+
*/
87+
func applySymlinks() {
7988
fmt.Println("Applying Symlinks")
8089
fmt.Println(
8190
os.Remove(GetAppDirectory()+"/Contents/Frameworks/ThrustShell Framework.framework/Versions/Current"),

0 commit comments

Comments
 (0)