I have created a desktop app with Xojo on a Windows computer. I would like to deploy the app on Linux.
Xojo created a Linux build (32 bit) with a Libs folder, a Resources folder, and an application file with no extension.
According to the Xojo Documentation, “For simple needs, you can also just zip the Linux application and Lib folders for distribution.” I zipped the contents as indicated, and deployed the app on a Linux machine by unzipping to files to the desktop. However, when I tried to open the application file on Linux, I got an “Unknown file type” error message: “The file has no known programs associated with it.”
Am I missing something here?
This is a permissions issue. You might be able to rectify it by right-clicking the .exe, and check “allow to execute as a program” in Properties. Then hopefully you don’t have the same problem in Libraries.
Using chmod in the Terminal is another way.
Edit. You might create your final zip on the Linux machine or VM itself, in case the original zip is what is messing with the permissions.
Should the application file be a .exe file? The application file currently has no extension, as it was created by Xojo for the Linux build.
You’re right, there is no extension (I’m old and it’s past my bedtime.). But yes, that is the file you want.
I changed the Permissions in the Properties to Allow executing file as program. Now when I try to open it, I get no errors, but nothing happens.
Try sending the unzipped Linux build to the Linux machine/VM. If it is a VM, or at least on the same LAN, this should not be hard. Again, I think that the first zip, on the dev machine, might be what’s messing with us.
That worked! Thank you Jerry, you’re a genius!
I’ll sleep well tonight, knowing that.
The next step is to see if zipping it on Linux does alright.
No. But you might need to give it execute permission.