Distributing Ring Applications¶
In this chapter we will learn about distributing Ring applications.
Distributing Applications for Microsoft Windows¶
Copy c:\ring\bin folder to be for example c:\myapp
Rename c:\myapp\ring.exe to c:\myapp\myapp.exe
Create a file c:\myapp\ring.ring
When you run myapp.exe the file ring.ring will be executed automatically
So your file myapp.ring will be called and executed
Or just rename myapp.ring to ring.ring
It’s a fast way to distribute applications.
Protecting the Source Code¶
Execute the next command
ring myapp.ring -go
This will generate one object file (myapp.ringo) from the project files (*.ring)
Rename myapp.ringo to ring.ringo
When you run the executable file (ring.exe) or (myapp.exe) the file ring.ringo will be executed.
Creating Windows Installer¶
There are many tools that you can use to distribute your application.
Check : nullsoft scriptable install system
Distributing Applications and Games for Mobile¶
Ring can be embedded in a Qt projects or LibSDL projects to build Mobile applications and Games.
You can build the Qt project or the LibSDL project and get the Android package directly (*.apk)
Check Ring distributions for Mobile development using Qt or LibSDL.