mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-05 01:22:23 +00:00
13 lines
414 B
Diff
13 lines
414 B
Diff
--- a/src/vs/platform/environment/node/userDataPath.ts
|
|
+++ a/src/vs/platform/environment/node/userDataPath.ts
|
|
@@ -79,6 +79,9 @@
|
|
case 'linux':
|
|
appDataPath = process.env['XDG_CONFIG_HOME'] || path.join(os.homedir(), '.config');
|
|
break;
|
|
+ case 'android':
|
|
+ appDataPath = process.env['XDG_CONFIG_HOME'] || "@TERMUX_HOME@/.config";
|
|
+ break;
|
|
default:
|
|
throw new Error('Platform not supported');
|
|
}
|