mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-03-21 17:24:37 -05:00
fix: use safeTitle instead of title for directory name on remote filesystem. This is a breaking change. Prior names with unsafe titlenames need to be moved manually.
This commit is contained in:
parent
f9668895eb
commit
c2cf998d10
2
Makefile
2
Makefile
|
|
@ -38,7 +38,7 @@ INCLUDES := inc inc/ui inc/fs inc/gfx
|
|||
EXEFS_SRC := exefs_src
|
||||
APP_TITLE := JKSV
|
||||
APP_AUTHOR := JK
|
||||
APP_VERSION := 07.25.2024
|
||||
APP_VERSION := 07.27.2024
|
||||
ROMFS := romfs
|
||||
ICON := icon.jpg
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,7 @@
|
|||
# Remote Storage
|
||||
|
||||
⚠️ **WARNING** ⚠️: Breaking change with Version 07.27.2024. See [here](#remote-changelog)
|
||||
|
||||
## <a name="gdrive"></a><center> How to use Google Drive with JKSV </center>
|
||||
**USING GOOGLE DRIVE WITH JKSV CURRENTLY REQUIRES BUILDING IT YOURSELF. I AM VERY BUSY LATELY AND THINGS WILL ONLY GET FINISHED WHEN I HAVE TIME. Thanks, sorry for yelling.**
|
||||
|
||||
|
|
@ -49,3 +52,7 @@
|
|||
2. Copy file to following folder on your card `SD:/config/JKSV/`
|
||||
3. The next time you start JKSV on your Switch, you should get a popup about the Webdav status
|
||||
4. If problems arise, check the log at `SD:/JKSV/log.txt`
|
||||
|
||||
## Remote Changelog
|
||||
- **07.27.2024**: **Breaking Change**. "Unsafe" characters were removed from titlename on the remote directory. That means,
|
||||
that if you had existing safes under a title with unsafe characters, you will need to move them manually.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#include "gfx.h"
|
||||
|
||||
#define BLD_MON 07
|
||||
#define BLD_DAY 25
|
||||
#define BLD_DAY 27
|
||||
#define BLD_YEAR 2024
|
||||
|
||||
namespace data
|
||||
|
|
|
|||
|
|
@ -317,10 +317,10 @@ void ui::fldPopulateMenu()
|
|||
unsigned fldInd = 1;
|
||||
if(fs::rfs)
|
||||
{
|
||||
if(!fs::rfs->dirExists(t->title, fs::rfsRootID))
|
||||
fs::rfs->createDir(t->title, fs::rfsRootID);
|
||||
if(!fs::rfs->dirExists(t->safeTitle, fs::rfsRootID))
|
||||
fs::rfs->createDir(t->safeTitle, fs::rfsRootID);
|
||||
|
||||
driveParent = fs::rfs->getDirID(t->title, fs::rfsRootID);
|
||||
driveParent = fs::rfs->getDirID(t->safeTitle, fs::rfsRootID);
|
||||
driveFldList = fs::rfs->getListWithParent(driveParent);
|
||||
|
||||
for(unsigned i = 0; i < driveFldList.size(); i++, fldInd++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user