These are chat archives for miketheprogrammer/go-thrust

7th
Feb 2016
Tarek Ahmed
@tadeve
Feb 07 2016 11:19
hey, this a really great project, i used electron for some time, and i was wondering if i can get the current directory when i set RootUrl to be an html file
it would be nice if there was a way to have a relative path for the css and js files from the html page
Tarek Ahmed
@tadeve
Feb 07 2016 11:33
Update: i figured it out, using "github.com/kardianos/osext"; to get the path to the executable folder , and setting RootUrl : folderpath + "path/to/html"