CalebQ42 / LinuxPA

A PortableApps.com type launcher for linux
MIT License
30 stars 1 forks source link

Does not launch; /home/belac hardcoded #4

Closed probonopd closed 8 years ago

probonopd commented 8 years ago
me@host:~$ '/home/me/Downloads/LinuxPA' 
panic: PortableApps folder not found!!

goroutine 5 [running]:
panic(0x705ce0, 0xc820190af0)
    /usr/local/go/src/runtime/panic.go:481 +0x3e6
main.setup()
    /home/belac/Go/src/github.com/CalebQ42/LinuxPA/setup.go:19 +0xaa8
main.appMain(0x7f0dec8bb000, 0xc820016740)
    /home/belac/Go/src/github.com/CalebQ42/LinuxPA/main.go:35 +0x7a
github.com/nelsam/gxui/drivers/gl.StartDriver.func1()
    /home/belac/Go/src/github.com/nelsam/gxui/drivers/gl/driver.go:57 +0x55
github.com/nelsam/gxui/drivers/gl.(*driver).applicationLoop(0xc820016740)
    /home/belac/Go/src/github.com/nelsam/gxui/drivers/gl/driver.go:108 +0x64
created by github.com/nelsam/gxui/drivers/gl.StartDriver
    /home/belac/Go/src/github.com/nelsam/gxui/drivers/gl/driver.go:58 +0x3a6
CalebQ42 commented 8 years ago

It's not that it's hardcoded, that's just where the files are when I compile and it appears it keep the locations internally, so when it crashes it gives the location of the .go files on my computer. If you were to put a PortableApps folder in your home directory the command should work.

probonopd commented 8 years ago

Why doesn't it just create one then? :-)

Now it launches a black window with nothing visible in it.

CalebQ42 commented 8 years ago

I was going to add back in where it would automatically create the PortableApps folder, but got sidetracked. If you're getting a black window then it probably isn't detecting any apps in the PortableApps folder

probonopd commented 8 years ago

The window stays black if I add an AppImage in the folder.

CalebQ42 commented 8 years ago

Is the AppImage in a folder in the folder? (Later on I'll add where you can just put the AppImage in the PortableApps folder. It's in a folder so the app can find the appicon.png and appinfo.ini if they are present)

On Fri, Sep 23, 2016, 11:24 AM probonopd notifications@github.com wrote:

The window stays black if I add an AppImage in the folder.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/CalebQ42/LinuxPA/issues/4#issuecomment-249237927, or mute the thread https://github.com/notifications/unsubscribe-auth/AIlOclbdxTVfVDmI05YrzmU4g94-dw4Jks5qs_0jgaJpZM4KEvSX .

probonopd commented 8 years ago

Ah, with a folder in a folder it shows the name of the folder in the menu. Shouldn't it use the information from the .desktop file inside the AppImage instead, for determining the name and icon?

CalebQ42 commented 8 years ago

I can add that later

On Fri, Sep 23, 2016, 11:33 AM probonopd notifications@github.com wrote:

Ah, with a folder in a folder it shows the name of the folder in the menu. Shouldn't it use the information from the .desktop file inside the AppImage instead, for determining the name and icon?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/CalebQ42/LinuxPA/issues/4#issuecomment-249240049, or mute the thread https://github.com/notifications/unsubscribe-auth/AIlOclN9UDJgGhwgg5whbxKy014CkFw2ks5qs_9AgaJpZM4KEvSX .