mirror of
https://github.com/AsteroidOS/asteroid-helloworld.git
synced 2026-05-25 18:47:38 +02:00
No description
- CMake 42.8%
- QML 25.7%
- C++ 21.4%
- C 7.3%
- Shell 2.8%
| .vscode | ||
| i18n | ||
| src | ||
| .gitignore | ||
| asteroid-helloworld.desktop.template | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
| runscript.in | ||
AsteroidOS Hello World App
A simple hello world app for AsteroidOS
See https://wiki.asteroidos.org/index.php/Creating_an_Asteroid_app for instruction on how to build and run it.
If you have used the Hello World App as a template and wish to use it as the basis for your own AsteroidOS application here are the steps:
- Decide on a name for your project, (we use
myproject-nameas an example here) - Change the project name in
CMakeLists.txtfromasteroid-helloworldto your name (e.g.myproject-name) - Rename the
i18n/asteroid-helloworld.desktop.hfile to user your project name (e.g.i18n/myproject-name.desktop.h) - Rename the
asteroid-helloworld.desktop.templatefile to use your project name (e.g.myproject-name.desktop.template) - Edit the newly renamed
destkop.templatefile from the previous step and change theExec=line to your project name - Optionally, but highly recommended, change the
Icon,X-Asteroid-Center-ColorandX-Asteroid-Outer-Colorvalues in that same file - Alter the functionality to suit
Note that for steps 3 and 4, use git mv to rename the files so that your repository will reflect these changes.