mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-04-26 10:15:22 -05:00
Merge pull request #236 from rado0x54/bugfix/fix-safeTitle-on-remote-fs
Fix: Only use safeTitle for remote directory name.
This commit is contained in:
commit
8c3c58cadc
2
Makefile
2
Makefile
|
|
@ -38,7 +38,7 @@ INCLUDES := inc inc/ui inc/fs inc/gfx
|
||||||
EXEFS_SRC := exefs_src
|
EXEFS_SRC := exefs_src
|
||||||
APP_TITLE := JKSV
|
APP_TITLE := JKSV
|
||||||
APP_AUTHOR := JK
|
APP_AUTHOR := JK
|
||||||
APP_VERSION := 07.25.2024
|
APP_VERSION := 07.27.2024
|
||||||
ROMFS := romfs
|
ROMFS := romfs
|
||||||
ICON := icon.jpg
|
ICON := icon.jpg
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
# Remote Storage
|
# 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>
|
## <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.**
|
**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/`
|
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
|
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`
|
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"
|
#include "gfx.h"
|
||||||
|
|
||||||
#define BLD_MON 07
|
#define BLD_MON 07
|
||||||
#define BLD_DAY 25
|
#define BLD_DAY 27
|
||||||
#define BLD_YEAR 2024
|
#define BLD_YEAR 2024
|
||||||
|
|
||||||
namespace data
|
namespace data
|
||||||
|
|
|
||||||
|
|
@ -317,10 +317,10 @@ void ui::fldPopulateMenu()
|
||||||
unsigned fldInd = 1;
|
unsigned fldInd = 1;
|
||||||
if(fs::rfs)
|
if(fs::rfs)
|
||||||
{
|
{
|
||||||
if(!fs::rfs->dirExists(t->title, fs::rfsRootID))
|
if(!fs::rfs->dirExists(t->safeTitle, fs::rfsRootID))
|
||||||
fs::rfs->createDir(t->title, 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);
|
driveFldList = fs::rfs->getListWithParent(driveParent);
|
||||||
|
|
||||||
for(unsigned i = 0; i < driveFldList.size(); i++, fldInd++)
|
for(unsigned i = 0; i < driveFldList.size(); i++, fldInd++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user