Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DaloLorn committed Jan 29, 2022
2 parents de5f1a0 + f07b3cd commit 88db767
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
deploy:
name: Deployment
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master'

needs:
- windows
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@
*.db-shm
*.db-wal
*.iobj
*.ipdb
*.ipdb
*.o
*.d
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ make sure the `Working Directory` configuration property is set to your working
### Building on Linux
To build the binary files on Linux,
make sure your working directory is set to the main directory (the root folder of this repository),
then run `make -f source/linux/Makefile compile` to compile the binaries.
then run `make` to compile the binaries.

Several dependencies are required to build on Linux, including: libpng, zlib,
GLEW, GLU, freetype2, libvorbisfile, libvorbis, libogg, libopenal, libbz2,
Expand Down
2 changes: 1 addition & 1 deletion source/game/main/initialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ bool initGlobal(bool loadGraphics, bool createWindow) {
//Add mod sources
print("Registering mods");
devices.mods.registerDirectory("mods");
devices.mods.registerDirectory(getProfileRoot() + "mods");
devices.mods.registerDirectory(path_join(getProfileRoot(), "mods"));
devices.mods.registerDirectory("../../workshop/content/282590");

//Shortcut for the scene tree
Expand Down
4 changes: 4 additions & 0 deletions source/linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ CPP_FILES = $(addprefix $(SRCDIR)/, $(SOURCES))
OBJ_FILES = $(addprefix $(OBJDIR)/, $(SOURCES:.cpp=.o))
DEP_FILES = $(addprefix $(OBJDIR)/, $(SOURCES:.cpp=.d))

.PHONY: compile master_server makelibs patcher version clean_angelscript angelscript clean_glfw glfw clean_sound sound clean_as_addons as_addons clean_libircclient libircclient clean_os os clean_util util clean_network network clean_code clean

compile:

-include $(DEP_FILES)

compile: $(DEP_FILES) $(BINDIR)/$(BIN)
Expand Down
Binary file modified sr2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 88db767

Please sign in to comment.