1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-08 23:02:05 -04:00

fix(notepad): decode path URI when saving/creating a file (#1805)

This commit is contained in:
Jonas Bloch
2026-02-23 15:15:51 +01:00
committed by GitHub
parent a9a3a52872
commit d78d8121a1
2 changed files with 2 additions and 2 deletions

View File

@@ -358,7 +358,7 @@ Singleton {
}
function createEmptyFile(path, callback) {
var cleanPath = path.toString()
var cleanPath = decodeURI(path.toString())
if (!cleanPath.startsWith("/")) {
cleanPath = baseDir + "/" + cleanPath