Initial commit
Build Geode Mod / Android32 (push) Has been cancelled
Build Geode Mod / Android64 (push) Has been cancelled
Build Geode Mod / Windows (push) Has been cancelled
Build Geode Mod / iOS (push) Has been cancelled
Build Geode Mod / macOS (push) Has been cancelled
Build Geode Mod / Package builds (push) Has been cancelled

This commit is contained in:
Lncvrt committed 2026-06-18 18:16:58 -07:00
commit c2709ef102
9 files changed
+187

No files matched your search

+57
View File
@@ -0,0 +1,57 @@
name: Build Geode Mod
on:
workflow_dispatch:
push:
branches:
- "**"
jobs:
build:
strategy:
fail-fast: false
matrix:
config:
- name: Windows
os: windows-latest
- name: macOS
os: macos-latest
- name: iOS
os: macos-latest
target: iOS
- name: Android32
os: ubuntu-latest
target: Android32
- name: Android64
os: ubuntu-latest
target: Android64
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
steps:
- uses: actions/checkout@v4
- name: Build the mod
uses: geode-sdk/build-geode-mod@main
with:
combine: true
target: ${{ matrix.config.target }}
package:
name: Package builds
runs-on: ubuntu-latest
needs: ['build']
steps:
- uses: geode-sdk/build-geode-mod/combine@main
id: build
- uses: actions/upload-artifact@v4
with:
name: Build Output
path: ${{ steps.build.outputs.build-output }}
+64
View File
@@ -0,0 +1,64 @@
# Prerequisites
*.d
# Compiled Object files
*.slo
*.lo
*.o
*.obj
# Precompiled Headers
*.gch
*.pch
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Fortran module files
*.mod
*.smod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
# Macos be like
**/.DS_Store
# Cache files for Sublime Text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# Ignore build folders
**/build
# Ignore platform specific build folders
build-*/
# Workspace files are user-specific
*.sublime-workspace
# ILY vscode
**/.vscode
# Local History for Visual Studio Code
.history/
# clangd
.cache/
# Visual Studio
.vs/
# CLion
.idea/
/cmake-build-*/
+25
View File
@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.21)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
set(CMAKE_OSX_ARCHITECTURES "arm64")
else()
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
endif()
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
project(pause-exit-fix VERSION 1.0.0)
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS src/*.cpp)
add_library(${PROJECT_NAME} SHARED ${SOURCES})
if (NOT DEFINED ENV{GEODE_SDK})
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")
else()
message(STATUS "Found Geode: $ENV{GEODE_SDK}")
endif()
add_subdirectory($ENV{GEODE_SDK} ${CMAKE_CURRENT_BINARY_DIR}/geode)
setup_geode_mod(${PROJECT_NAME})
+3
View File
@@ -0,0 +1,3 @@
# Pause Exit Fix
This mod fixes the annoying pause menu "feature" where pressing escape exits the level in, rather than just unpauses it.
+3
View File
@@ -0,0 +1,3 @@
# Pause Exit Fix
This mod fixes the annoying pause menu "feature" where pressing escape exits the level in, rather than just unpauses it.
+3
View File
@@ -0,0 +1,3 @@
# 1.0.0
- Initial release
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

+15
View File
@@ -0,0 +1,15 @@
{
"geode": "5.7.1",
"gd": {
"win": "2.2081",
"android": "2.2081",
"mac": "2.2081",
"ios": "2.2081"
},
"id": "lncvrt.pause-exit-fix",
"name": "Pause Exit Fix",
"version": "v1.0.0",
"developer": "Lncvrt",
"description": "This mod fixes escape exiting the level instead of going back to the game",
"dependencies": {}
}
+17
View File
@@ -0,0 +1,17 @@
#include <Geode/Geode.hpp>
#include <Geode/modify/PauseLayer.hpp>
using namespace geode::prelude;
class $modify(PauseLayerMod, PauseLayer) {
void keyDown(cocos2d::enumKeyCodes key, double timestamp) {
if (static_cast<int>(key) == 27) {
this->onResume(nullptr);
return;
}
PauseLayer::keyDown(key, timestamp);
}
void keyBackClicked() { this->onResume(nullptr); }
};