This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================================ | |
| # GLFW dependency | |
| # ============================================================ | |
| message(STATUS "GLFW dependency") | |
| set(glfw_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/glfw") | |
| set(glfw_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/glfw") | |
| set(glfw_CMAKE_ARGS | |
| -DCMAKE_INSTALL_PREFIX=${glfw_INSTALL_DIR} | |
| -DGLFW_BUILD_EXAMPLES=OFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -LO https://github.com/sbingner/llvm-project/releases/download/v10.0.0-1/linux-ios-arm64e-clang-toolchain.tar.lzma | |
| TMP=$(mktemp -d) | |
| tar --lzma -xvf linux-ios-arm64e-clang-toolchain.tar.lzma -C $TMP | |
| pushd $TMP/ios-arm64e-clang-toolchain/bin | |
| find * ! -name clang-10 -and ! -name ldid -and ! -name ld64 -exec mv {} arm64-apple-darwin14-{} \; | |
| find * -xtype l -exec sh -c "readlink {} | xargs -I{LINK} ln -f -s arm64-apple-darwin14-{LINK} {}" \; | |
| popd | |
| mkdir -p $THEOS/toolchain/linux/iphone | |
| mv $TMP/ios-arm64e-clang-toolchain/* $THEOS/toolchain/linux/iphone/ | |
| rm -rf $TMP linux-ios-arm64e-clang-toolchain.tar.lzma |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from discord.ext import commands | |
| import discord | |
| from . import api | |
| from typing import Optional | |
| from discord.app import Option | |
| slash_categories = { | |
| ... | |
| } |
OlderNewer