mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-25 21:40:08 +00:00
Fix settings.lime being created as a directory. See GitHub issue 1 for details.
This commit is contained in:
1 parent
e132da5030
commit
f61c471d7d
1 file changed
+2
-2
@@ -36,7 +36,7 @@ public class SettingsManager {
|
|||||||
|
|
||||||
public File getGamepadFile() {
|
public File getGamepadFile() {
|
||||||
if (!settingsDir.exists()) {
|
if (!settingsDir.exists()) {
|
||||||
settingsFile.mkdirs();
|
settingsDir.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gamepadFile.exists()) {
|
if (!gamepadFile.exists()) {
|
||||||
@@ -53,7 +53,7 @@ public class SettingsManager {
|
|||||||
|
|
||||||
public File getSettingsFile() {
|
public File getSettingsFile() {
|
||||||
if (!settingsDir.exists()) {
|
if (!settingsDir.exists()) {
|
||||||
settingsFile.mkdirs();
|
settingsDir.mkdirs();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!settingsFile.exists()) {
|
if (!settingsFile.exists()) {
|
||||||
|
|||||||
Reference in new issue
Block a user