Skip to content

Commit 62adf2f

Browse files
committed
ios
1 parent e4f3bef commit 62adf2f

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.github/workflows/multi-platform.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717

1818
- name: macOS
1919
os: macos-latest
20+
21+
- name: iOS
22+
os: macos-latest
23+
target: iOS
2024

2125
- name: Android32
2226
os: ubuntu-latest
@@ -39,7 +43,7 @@ jobs:
3943
bindings-ref: main
4044
combine: true
4145
target: ${{ matrix.config.target }}
42-
sdk: nightly
46+
sdk: stable
4347

4448
package:
4549
name: Package builds

CMakeLists.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
cmake_minimum_required(VERSION 3.21)
22
set(CMAKE_CXX_STANDARD 20)
33
set(CMAKE_CXX_STANDARD_REQUIRED ON)
4-
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
54
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
65

7-
project(NoStupidButtons VERSION 1.1.3)
6+
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
7+
set(CMAKE_OSX_ARCHITECTURES "arm64")
8+
else()
9+
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64")
10+
endif()
11+
12+
project(NoStupidButtons VERSION 1.1.5)
813

914
add_library(${PROJECT_NAME} SHARED
1015
src/main.cpp

mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"geode": "4.0.0-beta.1",
2+
"geode": "4.3.1",
33
"gd": {
44
"win": "2.2074",
55
"android": "2.2074",
@@ -11,7 +11,7 @@
1111
},
1212
"id": "timestepyt.nostupidbuttons",
1313
"name": "NoStupidButtons",
14-
"version": "v1.1.4",
14+
"version": "v1.1.5",
1515
"developer": "TimeStepYT",
1616
"description": "This mod hides the buttons nobody uses!",
1717

0 commit comments

Comments
 (0)