shithub: candycrisis

Download patch

ref: 90412b93ed75f9d15b152e1512984aef242a579a
parent: def29be003fc02173a96f61f6942e769914b8144
author: Iliyas Jorio <iliyas@jor.io>
date: Fri Jun 23 18:38:49 EDT 2023

Bump SDL to 2.28.1

--- a/.github/workflows/release-appimage-aarch64.yml
+++ b/.github/workflows/release-appimage-aarch64.yml
@@ -3,7 +3,7 @@
 on: [workflow_dispatch, workflow_call]
 
 env:
-  SDL2_VERSION: "2.26.3"
+  SDL2_VERSION: "2.28.1"
   APPIMAGETOOL_VERSION: "13"
   GAME_SHORTNAME: "candycrisis"
   GAME_LONGNAME: "Candy Crisis"
--- a/.github/workflows/release-appimage-x86_64.yml
+++ b/.github/workflows/release-appimage-x86_64.yml
@@ -3,7 +3,7 @@
 on: [workflow_dispatch, workflow_call]
 
 env:
-  SDL2_VERSION: "2.26.3"
+  SDL2_VERSION: "2.28.1"
   APPIMAGETOOL_VERSION: "13"
   GAME_SHORTNAME: "candycrisis"
   GAME_LONGNAME: "Candy Crisis"
--- a/.github/workflows/release-mac.yml
+++ b/.github/workflows/release-mac.yml
@@ -3,7 +3,7 @@
 on: [workflow_dispatch, workflow_call]
 
 env:
-  SDL2_VERSION: "2.26.3"
+  SDL2_VERSION: "2.28.1"
   GAME_SHORTNAME: "CandyCrisis"
   GAME_LONGNAME: "Candy Crisis"
 
--- a/.github/workflows/release-windows.yml
+++ b/.github/workflows/release-windows.yml
@@ -3,7 +3,7 @@
 on: [workflow_dispatch, workflow_call]
 
 env:
-  SDL2_VERSION: "2.26.3"
+  SDL2_VERSION: "2.28.1"
   GAME_SHORTNAME: "CandyCrisis"
   GAME_LONGNAME: "Candy Crisis"
 
--- a/BUILD.md
+++ b/BUILD.md
@@ -10,7 +10,7 @@
 git clone https://github.com/jorio/CandyCrisis
 cd CandyCrisis
 
-curl -LO https://github.com/libsdl-org/SDL/releases/download/release-2.26.3/SDL2-2.26.3.dmg
+curl -LO https://github.com/libsdl-org/SDL/releases/download/release-2.28.1/SDL2-2.28.1.dmg
 hdiutil attach SDL2-*.dmg
 cp -a /Volumes/SDL2/SDL2.framework SDL2.framework
 hdiutil detach /Volumes/SDL2
@@ -28,7 +28,7 @@
 git clone https://github.com/jorio/CandyCrisis
 cd CandyCrisis
 
-Invoke-WebRequest -OutFile SDL2-VC.zip -Uri https://github.com/libsdl-org/SDL/releases/download/release-2.26.3/SDL2-devel-2.26.3-VC.zip
+Invoke-WebRequest -OutFile SDL2-VC.zip -Uri https://github.com/libsdl-org/SDL/releases/download/release-2.28.1/SDL2-devel-2.28.1-VC.zip
 Expand-Archive SDL2-VC.zip
 move SDL2-VC/SDL2-* SDL2
 
@@ -53,7 +53,7 @@
 git clone https://github.com/jorio/CandyCrisis
 cd CandyCrisis
 
-git clone --depth 1 --branch release-2.26.3 https://github.com/libsdl-org/SDL
+git clone --depth 1 --branch release-2.28.1 https://github.com/libsdl-org/SDL
 
 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SDL_FROM_SOURCE=1 -DSTATIC_SDL=1
 cmake --build build