# launch

> **Tool `tools/install/launch.py`** (library, Installing builds). The small start scripts an installed build runs: make the data folder, go into it, and start the build's program with its arguments and the player's own.

A library: other tools and your own scripts import it. [Source on GitHub](https://github.com/tanepiper/game-frame/blob/main/tools/install/launch.py).

## Its own help

This is the help text in the tool itself, as `./gameframe tool launch` prints it.

```text
The small start scripts an installed build runs: make the data folder, go into it, and start
the build's program with its arguments and the player's own.

A program started from the Finder, the Start menu or a desktop menu starts in a folder it cannot
write to (/ on macOS). The script moves to the build's data folder first, so a program that
keeps its files in the current folder keeps them there.

In the arguments, {data} is the data folder and {resources} the folder that holds the build's
resources (Contents/Resources on macOS, the program's own folder elsewhere).
```
