diff --git a/patches/product-json.diff b/patches/product-json.diff new file mode 100644 index 000000000..899a9d2fb --- /dev/null +++ b/patches/product-json.diff @@ -0,0 +1,39 @@ +Description: update product.json +Index: code-server/ci/build/build-vscode.sh +=================================================================== +--- code-server.orig/ci/build/build-vscode.sh ++++ code-server/ci/build/build-vscode.sh +@@ -70,21 +70,21 @@ main() { + jq --slurp '.[0] * .[1]' product.original.json <( + cat << EOF + { +- "enableTelemetry": true, ++ "enableTelemetry": false, + "quality": "stable", + "codeServerVersion": "$VERSION", +- "nameShort": "code-server", +- "nameLong": "code-server", +- "applicationName": "code-server", +- "dataFolderName": ".code-server", +- "win32MutexName": "codeserver", ++ "nameShort": "arkanum-server", ++ "nameLong": "arkanum-server", ++ "applicationName": "arkanum-server", ++ "dataFolderName": ".arkanum-server", ++ "win32MutexName": "arkanumserver", + "licenseUrl": "https://github.com/coder/code-server/blob/main/LICENSE", +- "win32DirName": "code-server", +- "win32NameVersion": "code-server", +- "win32AppUserModelId": "coder.code-server", +- "win32ShellNameShort": "c&ode-server", +- "darwinBundleIdentifier": "com.coder.code.server", +- "linuxIconName": "com.coder.code.server", ++ "win32DirName": "arkanum-server", ++ "win32NameVersion": "arkanum-server", ++ "win32AppUserModelId": "arkanum.arkanum-server", ++ "win32ShellNameShort": "a&rkanum-server", ++ "darwinBundleIdentifier": "dev.arkanum.arkanum.server", ++ "linuxIconName": "dev.arkanum.arkanum.server", + "reportIssueUrl": "https://github.com/coder/code-server/issues/new", + "documentationUrl": "https://go.microsoft.com/fwlink/?LinkID=533484#vscode", + "keyboardShortcutsUrlMac": "https://go.microsoft.com/fwlink/?linkid=832143", diff --git a/patches/series b/patches/series index ad79ed9ec..041c664a5 100644 --- a/patches/series +++ b/patches/series @@ -20,3 +20,4 @@ cli-window-open.diff getting-started.diff safari.diff keepalive.diff +product-json.diff