by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    fellou89
    @fellou89
    I was wondering if anyone else has seen this?
    john dev
    @john-dev
    is it possible to disable window resizing?
    Jasmit Tarang
    @jaytarang92
    Anyone thought of embedding html/js files in the binary and then using thrust to display them?
    johnally
    @johnally
    @jaytarang92 should be possible. look in go-bindata-assetfs
    when using go-bindata-assetfs you essentially create a golang file called bindata_assetfs.go. then you can do a go build which will create a single binary
    bindata_assetfs.go will hold all your assets ;)
    @john-dev just started working with go-thrust. I was wondering if there was a way to prevent window resizing (e.g capturing the resize event and return a false)
    Michael Hernandez
    @miketheprogrammer
    thats what your supposed to do @jaytarang92
    @johnally Not sure if you can prevent, but you can definitely run in kiosk mode\
    Jasmit Tarang
    @jaytarang92
    Thanks guys .. I was gonna do that but the thrust_shell dependency is huge .
    @fellou89 regarding your issue is that you need to included the vendor folder that has the thrust_shell with all the dependencies in order to run your binary.
    johnally
    @johnally
    @miketheprogrammer thanks for your response. I will try the kiosk mode :)
    @jaytarang92 if you are doing a windows app, you can still upx the whole thing afterward. I got from ~9mb to ~2mb. Still a fair trade in my opinion (but that's without thrust included)
    Lex French
    @LexFrench
    Once my single binary is built what is the best way to package it for Mac or Windows platforms so that the terminal is not launched when I click on the app? Is that possible?
    Olivier Gagnon
    @hydroflame
    Ohoi, does go-thrust do offline rendering ?
    Ousmane Traore
    @otraore
    Oh hey @hydroflame
    And I think it does support it using file://
    Ousmane Traore
    @otraore
    Although like this demo shows You could just emebed a local http server as well.
    But Supporting offline rendering with no webserer like electron does would be a huge plus if it existed.
    Olivier Gagnon
    @hydroflame
    no offline rendering means rendering to not a window
    Ousmane Traore
    @otraore
    Oh, didn’t know it meant that.
    Thanks for clarifying
    Olivier Gagnon
    @hydroflame
    but since it doesn't look like it does it i'll fallback to using steamworks hidden HTML renderer
    Michael Hernandez
    @miketheprogrammer
    @hydroflame Keep in mind, local networks still count a local. You could host a webserver in the go-thrust app, and connect back to it. Like i do with the chat demo. Like @otraore said
    ah, wait, you meant not a window. Headless is not supported.
    Ousmane Traore
    @otraore
    That’s what I thought he meant at first @miketheprogrammer But he me--
    Yeah :p
    Michael Hernandez
    @miketheprogrammer
    thanks for helping him out
    @LexFrench I dont remember how to remove the terminal. I think you have to create a full OSX Package, but i cant remember how to do that correctly. I think I wrote instructions somewhere on the README.md
    @LexFrench On windows, I have no idea. Someone else might know. Just ask in the Golang irc or somwhere. They can def help you
    Ousmane Traore
    @otraore
    I read somewhere how to do so
    I think it was with go-qml, but I forgot where
    I’ll try to find it again later on
    Michael Hernandez
    @miketheprogrammer
    yea, its def possible. But its one of those, if you dont do it everyday you lose it
    Ousmane Traore
    @otraore
    Yeah for sure
    jow blew
    @joeblew99
    the core thrust code has not been touched for 2 years on github, but then at the very bottom of the read me it says it is mostly made from brightray which is supported by the electron team. is this true ? it would mean its stil very much active ?
    jow blew
    @joeblew99
    to be clear, as i realised i was not, this is the URL i am refering to: https://github.com/breach/thrusthttps://github.com/breach/thrust
    it has not had a release in 2 years. weird