Skip to content

Commit

Permalink
add some basic linux instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Jan 4, 2024
1 parent b8ebdde commit 3649a0e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion getting-started/cpp-stuff.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ brew install llvm
```

### Linux
Linux is well.. complicated
Linux is a bit more complicated, as obviously there's no linux release of GD (yet). Of course, you can run the Windows version of GD through software like [wine](https://www.winehq.org/) quite well, which is probably what you're already doing.

Because of that, this guide will set you up to [cross-compile](https://en.wikipedia.org/wiki/Cross_compiler) windows Geode mods from linux.

We recommend reading this gist: [linux-win-cross.md](https://gist.github.com/matcool/abb65ee59ded3766717c673014c3a2a7) for up to date information on how to cross compile.
12 changes: 12 additions & 0 deletions getting-started/geode-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The Geode SDK has its own command line utility program to aid in many tasks invo

* [Windows](#windows)
* [MacOS](#macos)
* [Linux](#linux)

## Windows
(Recommended) You can use [scoop](https://scoop.sh/) to easily install the cli by doing:
Expand Down Expand Up @@ -47,8 +48,19 @@ brew install geode-sdk/geode/geode-cli

It is recommended that you [set up a profile now](#profile-setup).

## Linux

We provide prebuilt linux binaries in the CLI releases page, which you can find here: \
https://github.com/geode-sdk/cli/releases/latest

Since this is different per distro, you must figure out how to add this binary to your path for CMake to find it.

Once you figure that out, it is recommended that you [set up a profile now](#profile-setup).


# Profile Setup

A profile is just an instance of Geometry Dash. It's a good idea to set up one up for CLI so your mods can be automatically installed post build.

To setup a new profile, simply run the `geode config setup` command on your terminal.

0 comments on commit 3649a0e

Please sign in to comment.