Skip to content
This repository was archived by the owner on Oct 18, 2021. It is now read-only.

Commit bc1cb45

Browse files
Creates /sxos directory for SXOS users who did not have it
1 parent 3c904c1 commit bc1cb45

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ INCLUDES := include libs/minizip/include
4545
#ROMFS := romfs
4646
APP_TITLE := Cheats Updater
4747
APP_AUTHOR := HamletDuFromage
48-
APP_VERSION := 1.1.6
48+
APP_VERSION := 1.1.7
4949

5050
#---------------------------------------------------------------------------------
5151
# options for code generation

source/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <switch.h>
1010

11-
#define VERSION "1.1.6"
11+
#define VERSION "1.1.7"
1212
#define RELEASE_URL "https://github.com/HamletDuFromage/switch-cheats-db/releases/tag/v1.0"
1313
#define ARCHIVE_URL "https://github.com/HamletDuFromage/switch-cheats-db/releases/download/v1.0/"
1414

@@ -67,6 +67,7 @@ void run(){
6767
std::string filename;
6868
if(sxos){
6969
filename = "titles.zip";
70+
std::filesystem::create_directory("/sxos");
7071
std::filesystem::create_directory("/sxos/titles");
7172
}
7273
else{

0 commit comments

Comments
 (0)