Skip to content

Commit bd47b66

Browse files
committed
feat: add Linux platform support for Android SDK skins path
Adds Linux platform detection in UpdateSkinPaths.js with default path ~/Android/Sdk/skins, keeping compatibility with Windows and macOS.
1 parent 764ecc0 commit bd47b66

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

UpdateSkinPaths.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ if (platform === "win32") {
2020
);
2121
} else if (platform === "darwin") {
2222
baseSkinPath = path.join(userHome, "Library", "Android", "sdk", "skins");
23+
} else if (platform == "linux") {
24+
baseSkinPath = path.join(userHome, "Android", "Sdk", "skins");
2325
}
24-
26+
2527
// Define the source skins directory
2628
const skinsSourcePath = path.join(xmlDirectory, "skins");
2729

0 commit comments

Comments
 (0)