Skip to content

Commit

Permalink
code-server: bump to 4.95.3
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Nov 30, 2024
1 parent 4077d36 commit ef3677a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions tur/code-server/0001-vscode-fix-pathes.patch.beforehostbuild
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
--- a/lib/vscode/src/vs/platform/environment/node/userDataPath.js
+++ a/lib/vscode/src/vs/platform/environment/node/userDataPath.js
@@ -94,6 +94,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');
}
--- a/lib/vscode/src/vs/platform/environment/node/userDataPath.ts
+++ a/lib/vscode/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');
}
2 changes: 1 addition & 1 deletion tur/code-server/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/coder/code-server
TERMUX_PKG_DESCRIPTION="Run VS Code on any machine anywhere and access it in the browser"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="4.90.2"
TERMUX_PKG_VERSION="4.95.3"
TERMUX_PKG_SRCURL=git+https://github.com/coder/code-server
TERMUX_PKG_DEPENDS="libandroid-spawn, libsecret, krb5, nodejs-20, ripgrep"
TERMUX_PKG_ANTI_DEPENDS="nodejs-20"
Expand Down

0 comments on commit ef3677a

Please sign in to comment.