You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
fix: correctly split shell
This commit is contained in:
@@ -321,7 +321,10 @@ const save = async () => {
|
||||
.filter((cmd: string) => cmd !== "");
|
||||
}
|
||||
}
|
||||
newSettings.shell = shellValue.value.split("\n");
|
||||
newSettings.shell = shellValue.value
|
||||
.trim()
|
||||
.split(" ")
|
||||
.filter((s) => s !== "");
|
||||
|
||||
if (newSettings.branding.theme !== getTheme()) {
|
||||
setTheme(newSettings.branding.theme);
|
||||
|
||||
Reference in New Issue
Block a user