Skip to content

Instantly share code, notes, and snippets.

diff --git a/Code/CMakeLists.txt b/Code/CMakeLists.txt
index a0764a7..2c8ec32 100644
--- a/Code/CMakeLists.txt
+++ b/Code/CMakeLists.txt
@@ -90,14 +90,16 @@ include_directories(
)
target_link_libraries(${PROJECT_NAME} PRIVATE
- ${SDL2_LIBRARIES}
+ SDL2::SDL2main
@Bijman
Bijman / apply.sh
Last active February 16, 2025 19:26
SRB2 - Shadow+ patch script (Linux)
#!/bin/sh
set -e
# Shellscript written in POSIX sh by Bijman. Put this script to extracted CL_ShadowPlus Patcher folder and run it from there.
# Check for required commands in relative paths
check_command() {
if [ -z "$(command -v "$1")" ]; then
echo "Error: Required command '$1' not found or not executable." >&2
exit 1
@Bijman
Bijman / megafetch.sh
Last active September 7, 2025 20:25 — forked from zanculmarktum/megafetch.sh
Get download url from mega.nz
#!/bin/bash
# Copyright 2018, 2019, 2020 Azure Zanculmarktum
# Copyright 2025 Bijman
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright