8 Commits

Author SHA1 Message Date
d03ded6e30 Merge pull request 'Update readme for support' (#12) from topic/jb/last_touch into main
Reviewed-on: #12
Reviewed-by: cody <william@werl.me>
2025-01-17 18:16:47 +00:00
Jaby
c6bb65fae0 Add support entry 2025-01-17 19:12:52 +01:00
dd77ab7d74 Merge pull request 'Fix inconsistent EOL' (#11) from feature/jb/eol into main
Reviewed-on: #11
2025-01-08 21:31:36 +00:00
Jaby
8ef6e3a9df Fix inconsistent EOL 2025-01-08 22:27:37 +01:00
0f48b3aedb Merge pull request 'Support for podman' (#9) from feature/jb/potman into main
Reviewed-on: #9
Reviewed-by: cody <william@werl.me>
2025-01-08 21:22:17 +00:00
Jaby
620283c7b8 Try again 2025-01-08 22:18:35 +01:00
Jaby
70fd4bf806 Update template install script 2025-01-08 22:16:54 +01:00
Jaby
0d24b0fb02 Update PR 2025-01-08 22:13:27 +01:00
187 changed files with 13705 additions and 13694 deletions

1
.gitattributes vendored
View File

@@ -3,3 +3,4 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text
*.TMD filter=lfs diff=lfs merge=lfs -text
* text=auto eol=lf

View File

@@ -1,7 +1,7 @@
FROM "ubuntu:22.04"
WORKDIR /usr/scripts
ADD ["scripts/make_gcc.sh", "/usr/scripts"]
WORKDIR /usr
WORKDIR /tmp
RUN apt update && /usr/scripts/make_gcc.sh
WORKDIR /usr/scripts
@@ -12,6 +12,7 @@ ADD ["scripts/install_pop-fe.sh", "scripts/run_pop_fe.sh", "/usr/scripts"]
WORKDIR /usr/jaby_engine/bin/extern
RUN apt update && /usr/scripts/install_pop-fe.sh
WORKDIR /project
ENV PATH="/jaby_engine/bin:/root/.cargo/bin:${PATH}"
ENV JABY_ENGINE_PATH=/jaby_engine
ENV JABY_ENGINE_DIR=/jaby_engine

View File

@@ -2,12 +2,16 @@
podman build -t jaby_engine .
if [[ -z "${JABY_ENGINE_PATH}" ]]; then
echo "Setting JABY_ENGINE_PATH to parent folder"
echo "Setting JABY_ENGINE_PATH to parent folder"
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
JABY_ENGINE_PATH="$(dirname "$SCRIPT_DIR")"
cat << End >> ~/.profile
export JABY_ENGINE_PATH="$JABY_ENGINE_PATH"
End
source ~/.profile
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
export JABY_ENGINE_PATH="$(dirname "$SCRIPT_DIR")"
if cat /etc/passwd | grep $USER | grep bash > /dev/null; then
# Bash found
echo "export JABY_ENGINE_PATH="$JABY_ENGINE_PATH"" >> ~/.bashrc
else
# No bash found
echo "Please add export JABY_ENGINE_PATH="$JABY_ENGINE_PATH" to your shell profile"
fi
fi

View File

@@ -61,5 +61,5 @@ if [ $? -ne 0 ]; then
fi
echo "<<< Delete GCC folder >>>"
cd /usr
cd /tmp
rm -fr psx-gcc

View File

@@ -10,6 +10,7 @@
- [JabyEngine](#jabyengine-1)
- [PoolBox](#poolbox)
- [Special thanks](#special-thanks)
- [Support this project](#support-this-project)
# JabyEngine
## About
@@ -88,3 +89,8 @@ These projects shall eventually turn into useful extensions for the engine. So f
* Nicolas Noble
* Pyravia
* Sickle
# Support this project
* Try it out
* Open Issues or Pull Requests
* [Support it on KoFi](https://ko-fi.com/jabyspielkiste)

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env bash
dst_name=JabyEngine-PSX_Game
dst="$HOME/.config/Code/User/ProjectTemplates"
mkdir -p $dst
cp -r "$dst_name" "$dst"
cp -r "JabyEngine-PSX_Game" "$dst"