From 3ababaa771dc6ffee759db7967f26f196586ed43 Mon Sep 17 00:00:00 2001 From: MrBesen Date: Tue, 15 Mar 2022 13:16:29 +0100 Subject: [PATCH] initial --- .gitignore | 3 +++ .gitmodules | 6 ++++++ build.sh | 7 +++++++ icon.svg | 0 json | 1 + tictactoebot | 1 + tictactoebot.desktop | 6 ++++++ 7 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100755 build.sh create mode 100644 icon.svg create mode 160000 json create mode 160000 tictactoebot create mode 100644 tictactoebot.desktop diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dfe20bb --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.AppImage +AppDir/ +*.conf \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d911eb9 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "tictactoebot"] + path = tictactoebot + url = https://git.mrbesen.de/MrBesen/tictactoebot +[submodule "json"] + path = json + url = https://github.com/nlohmann/json.git diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..043225a --- /dev/null +++ b/build.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +ln -sr json/include/nlohmann tictactoebot/TAPI/include +make -j$(nproc) -C tictactoebot + +rm -rf AppDir +./linuxdeploy-x86_64.AppImage --appdir=AppDir -e tictactoebot/tictactoebot -i icon.svg -d tictactoebot.desktop --output appimage \ No newline at end of file diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..e69de29 diff --git a/json b/json new file mode 160000 index 0000000..e7b3b40 --- /dev/null +++ b/json @@ -0,0 +1 @@ +Subproject commit e7b3b40b5a95bc74b9a7f662830a27c49ffc01b4 diff --git a/tictactoebot b/tictactoebot new file mode 160000 index 0000000..188db93 --- /dev/null +++ b/tictactoebot @@ -0,0 +1 @@ +Subproject commit 188db932fbd69b53380fc989104895920c833ece diff --git a/tictactoebot.desktop b/tictactoebot.desktop new file mode 100644 index 0000000..b406869 --- /dev/null +++ b/tictactoebot.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=TicTacToeBot +Exec=tictactoebot +Type=Application +Icon=icon +Categories=Utility