Package Details: vscodium-bin-features 1.82.0-4

Git Clone URL: https://aur.archlinux.org/vscodium-bin-features.git (read-only, click to copy)
Package Base: vscodium-bin-features
Description: Unblock some features in VSCodium
Upstream URL: https://github.com/microsoft/vscode
Licenses: unknown
Conflicts: vscodium-bin-features
Provides: vscodium-bin-features
Submitter: sperg512
Maintainer: None
Last Packager: silverhikari
Votes: 17
Popularity: 0.091914
First Submitted: 2021-05-10 18:00 (UTC)
Last Updated: 2023-10-08 13:10 (UTC)

Pinned Comments

silverhikari commented on 2023-01-28 15:24 (UTC) (edited on 2023-01-28 18:50 (UTC) by silverhikari)

if you are having problems with the installation step with it giving a decoder error, you need to uninstall and reinstall vscodium-bin and vscodium-bin-marketplace. then try to install this package again.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

silverhikari commented on 2023-01-22 15:57 (UTC)

@bkb try it now, updated so it would be inline with code-features package

bkb commented on 2023-01-17 10:11 (UTC) (edited on 2023-01-23 07:33 (UTC) by bkb)

Broken XHR

RequestService#request (browser) - error https://marketplace.visualstudio.com/_apis/public/gallery/extensionquery Error: XHR failed", source: vscode-file://vscode-app/opt/vscodium-bin/resources/app/out/vs/workbench/workbench.desktop.main.js (616)

EDIT: Now it's worse, just having reinstalled the same version

node:internal/modules/cjs/loader:1190
    throw err;
    ^

SyntaxError: /opt/vscodium-bin/resources/app/product.json: Unexpected token , in JSON at position 13192
    at parse (<anonymous>)
    at Module._extensions..json (node:internal/modules/cjs/loader:1187:22)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/opt/vscodium-bin/resources/app/out/cli.js:4:9247)
    at Module._compile (node:internal/modules/cjs/loader:1118:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1173:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47

e736b35e8f673fcabbe561016c4daa5d /opt/vscodium-bin/resources/app/product.json

770e2bb260e6831d6cf967444050bcdb /opt/vscodium-bin/resources/app/out/cli.js

Same hash upon re-downloading, so it's the right one

With only vscodium e9b562813f694221194afa56b04d31f8 /usr/share/vscodium/resources/app/product.json, and it works

soorajsp commented on 2022-06-17 08:58 (UTC)

What are the feature that we're talking about?

sperg512 commented on 2022-05-13 12:59 (UTC)

No, unless the product.json format is changed upstream

Ashark commented on 2022-05-13 12:22 (UTC)

Does this package's version need to be matched to exact installed version of vscodium-bin? I.e. vscodium-bin-features 1.66.1-1 will not work with vscodium-bin 1.66.2-1, correct? It corrupts my product.json.

If yes, then I think it is a good idea to hard depend on a specific version. Something like depends=('vscodium-bin=${pkgver}' 'sed').

fanninpm commented on 2022-04-08 23:01 (UTC)

PATCH that worked for me (essentially just adapting code-features to this use case):

diff --git a/.SRCINFO b/.SRCINFO
index b57feb8..5fb5a82 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = vscodium-bin-features
    pkgdesc = Unblock some features in VSCodium
-   pkgver = 1.63.2
+   pkgver = 1.66.1
    pkgrel = 1
    url = https://github.com/microsoft/vscode
    install = vscodium-bin-features.install
@@ -13,7 +13,7 @@ pkgbase = vscodium-bin-features
    conflicts = vscodium-bin-features
    source = vscodium-bin-features.hook
    source = patch.sh
-   md5sums = 9c0fcfdb3427f4a7705114eedbd3b6b8
-   md5sums = 486c3bf8ef2c355330cbad53609f6b1e
+   md5sums = db01557a15a28a0a0c6c967cdcbb36e3
+   md5sums = 3bf36543da8f91afc5e508877fbe9f0c

 pkgname = vscodium-bin-features
diff --git a/PKGBUILD b/PKGBUILD
index abc9aa3..45e70ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Carson Rueter <roachh at proton mail dot com>
 pkgname=vscodium-bin-features
-pkgver=1.63.2
+pkgver=1.66.1
 pkgrel=1
 pkgdesc='Unblock some features in VSCodium'
 arch=('any')
@@ -13,8 +13,8 @@ conflicts=('vscodium-bin-features')
 install="${pkgname}.install"
 source=("${pkgname}.hook"
         'patch.sh')
-md5sums=('9c0fcfdb3427f4a7705114eedbd3b6b8'
-         '486c3bf8ef2c355330cbad53609f6b1e')
+md5sums=('db01557a15a28a0a0c6c967cdcbb36e3'
+         '3bf36543da8f91afc5e508877fbe9f0c')

 package() {
   install -Dm 644 "${srcdir}/${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks/${pkgname}.hook"
diff --git a/patch.sh b/patch.sh
index e559e97..6e917c4 100755
--- a/patch.sh
+++ b/patch.sh
@@ -2,16 +2,12 @@

 if [ "${1}" = "-R" ]; then
     sed -i -e 's/^[[:blank:]]*"nameLong":.*/  "nameLong": "VSCodium",/' \
-        -e 's/^[[:blank:]]*"extensionAllowedProposedApi":.*/  "extensionAllowedProposedApi": ["ms-vscode.vscode-js-profile-flame", "ms-vscode.vscode-js-profile-table", "ms-vscode.github-browser", "ms-vscode.github-richnav", "ms-vscode.remotehub", "ms-vscode.remotehub-insiders", "ms-vsliveshare.vsliveshare", "ms-vscode-remote.remote-ssh", "ms-vscode.cpptools", "ms-azuretools.vscode-docker", "visualstudioexptteam.vscodeintellicode", "ms-python.python"],/' \
+        -e '/^[[:blank:]]*"extensionEnabledApiProposals"/d' \
         -e '/^[[:blank:]]*"extensionSyncedKeys/d' \
-        -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \
-        -e '/^[[:blank:]]*"serverDataFolderName/i\  "linkProtectionTrustedDomains": ["https://open-vsx.org"],' \
         /opt/vscodium-bin/resources/app/product.json
 else
     sed -i -e 's/^[[:blank:]]*"nameLong":.*/  "nameLong": "Visual Studio Code",/' \
-        -e 's/^[[:blank:]]*"extensionAllowedProposedApi":.*/  "extensionAllowedProposedApi": ["GitHub.codespaces", "GitHub.vscode-pull-request-github-insiders", "GitHub.vscode-pull-request-github", "Microsoft.vscode-nmake-tools", "ms-ai-tools.notebook-renderers", "ms-dotnettools.dotnet-interactive-vscode", "ms-python.gather", "ms-python.python", "ms-toolsai.jupyter", "ms-toolsai.vscode-ai", "ms-toolsai.vscode-ai-remote", "ms-vscode-remote.remote-containers-nightly", "ms-vscode-remote.remote-containers", "ms-vscode-remote.remote-ssh-edit-nightly", "ms-vscode-remote.remote-ssh-edit", "ms-vscode-remote.remote-ssh-nightly", "ms-vscode-remote.remote-ssh", "ms-vscode-remote.remote-wsl-nightly", "ms-vscode-remote.remote-wsl", "ms-vscode-remote.remote-wsl-recommender", "ms-vscode-remote.vscode-remote-extensionpack-nightly", "ms-vscode-remote.vscode-remote-extensionpack", "ms-vscode.azure-account", "ms-vscode.azure-sphere-tools-ui", "ms-vscode.azure-sphere-tools", "ms-vscode.github-browser", "ms-vscode.github-richnav", "ms-vscode.js-debug-nightly", "ms-vscode.js-debug", "ms-vscode.lsif-browser", "ms-vscode.vscode-js-profile-flame", "ms-vscode.vscode-js-profile-table", "ms-vscode.vscode-selfhost-test-provider", "ms-vsliveshare.cloudenv-explorer", "ms-vsliveshare.cloudenv", "ms-vsliveshare.vsliveshare", "ms-vsonline.vsonline", "dbaeumer.vscode-eslint"],/' \
-        -e '/^[[:blank:]]*"extensionSyncedKeys/d' \
-        -e '/^[[:blank:]]*"extensionAllowedProposedApi/a\  "extensionSyncedKeys": { "ritwickdey.liveserver": ["liveServer.setup.version"] }, "linkProtectionTrustedDomains": ["https:\/\/*.visualstudio.com", "https:\/\/*.microsoft.com", "https:\/\/aka.ms", "https:\/\/vscode-auth.github.com", "https:\/\/*.gallerycdn.vsassets.io", "https:\/\/github.com\/microsoft\/", "https:\/\/github.com\/MicrosoftDocs\/", "https:\/\/login.microsoftonline.com"], "auth": { "loginUrl": "https:\/\/login.microsoftonline.com\/common\/oauth2\/authorize", "tokenUrl": "https:\/\/login.microsoftonline.com\/common\/oauth2\/token", "redirectUrl": "https:\/\/vscode-redirect.azurewebsites.net\/", "clientId": "aebc6443-996d-45c2-90f0-388ff96faa56" }, "configurationSync.store": { "url": "https:\/\/vscode-sync.trafficmanager.net\/", "stableUrl": "https:\/\/vscode-sync.trafficmanager.net\/", "insidersUrl": "https:\/\/vscode-sync-insiders.trafficmanager.net\/", "canSwitch": false, "authenticationProviders": { "microsoft": { "scopes": ["https:\/\/management.core.windows.net\/.default", "offline_access"] }, "github": { "scopes": ["user:email"] } } },' \
-        -e '/^[[:blank:]]*"linkProtectionTrustedDomains/d' \
+        -e '/^[[:blank:]]*"extensionsGallery"/i  "extensionEnabledApiProposals": { "ms-vscode.vscode-selfhost-test-provider": ["testObserver"], "VisualStudioExptTeam.vscodeintellicode-completions": ["inlineCompletions"], "ms-vsliveshare.vsliveshare": ["contribMenuBarHome", "diffCommand", "documentFiltersExclusive", "fileSearchProvider", "findTextInFiles", "notebookCellExecutionState", "notebookContentProvider", "notebookDocumentEvents", "notebookEditor", "notebookEditorEdit", "notebookLiveShare", "terminalDimensions", "terminalDataWriteEvent", "textDocumentNotebook", "textSearchProvider"], "ms-vscode.js-debug": ["portsAttributes", "findTextInFiles", "workspaceTrust", "resolvers"], "ms-toolsai.vscode-ai-remote": ["resolvers", "notebookEditor"], "ms-python.python": ["quickPickSortByLabel", "testObserver", "notebookEditor"], "ms-dotnettools.dotnet-interactive-vscode": ["notebookConcatTextDocument", "notebookContentProvider", "notebookCellExecutionState", "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", "notebookEditor", "notebookEditorDecorationType", "notebookEditorEdit", "notebookLiveShare", "notebookMessaging", "notebookMime", "textDocumentNotebook"], "GitHub.codespaces": ["contribMenuBarHome", "contribRemoteHelp", "contribViewsRemote", "notebookEditor", "resolvers", "terminalDataWriteEvent", "treeViewReveal"], "ms-vscode.azure-repos": ["extensionRuntime", "fileSearchProvider", "resolvers", "textSearchProvider"], "ms-vscode.remote-repositories": ["contribRemoteHelp", "contribMenuBarHome", "contribViewsRemote", "contribViewsWelcome", "documentFiltersExclusive", "extensionRuntime", "fileSearchProvider", "quickPickSortByLabel", "workspaceTrust", "scmSelectedProvider", "scmValidation", "textSearchProvider", "timeline", "notebookEditor"], "ms-vscode.vscode-github-issue-notebooks": ["notebookEditor"], "tanhakabir.rest-book": ["notebookEditor"], "ms-vscode-remote.remote-wsl": ["resolvers", "contribViewsRemote", "telemetry"], "ms-vscode-remote.remote-ssh": ["resolvers", "terminalDataWriteEvent", "contribViewsRemote", "telemetry"], "ms-vscode-remote.remote-containers": ["resolvers", "workspaceTrust", "terminalDimensions", "contribViewsRemote"], "ms-vscode.js-debug-nightly": ["portsAttributes", "findTextInFiles", "workspaceTrust", "resolvers"], "ms-vscode.lsif-browser": ["documentFiltersExclusive"], "GitHub.vscode-pull-request-github": ["tokenInformation"], "GitHub.copilot": ["inlineCompletions", "textDocumentNotebook"], "GitHub.copilot-nightly": ["inlineCompletions", "textDocumentNotebook"], "GitHub.remotehub": ["contribRemoteHelp", "contribMenuBarHome", "contribViewsRemote", "contribViewsWelcome", "documentFiltersExclusive", "extensionRuntime", "fileSearchProvider", "quickPickSortByLabel", "workspaceTrust", "resolvers", "scmSelectedProvider", "scmValidation", "textSearchProvider", "timeline", "notebookEditor"], "GitHub.remotehub-insiders": ["contribRemoteHelp", "contribMenuBarHome", "contribViewsRemote", "contribViewsWelcome", "documentFiltersExclusive", "extensionRuntime", "fileSearchProvider", "quickPickSortByLabel", "workspaceTrust", "resolvers", "scmSelectedProvider", "scmValidation", "textSearchProvider", "timeline", "notebookEditor"], "ms-python.gather": ["notebookEditor", "notebookCellExecutionState"], "ms-python.vscode-pylance": ["notebookDocumentEvents", "notebookEditor", "notebookCellExecutionState"], "ms-toolsai.jupyter": ["notebookConcatTextDocument", "notebookControllerKind", "notebookDebugOptions", "notebookDeprecated", "notebookEditor", "notebookDocumentEvents", "notebookEditorDecorationType", "notebookEditorEdit", "notebookMessaging", "notebookMime", "notebookCellExecutionState", "portsAttributes", "textDocumentNotebook", "quickPickSortByLabel"], "dbaeumer.vscode-eslint": ["tabs", "notebookDocumentEvents", "notebookEditor", "notebookCellExecutionState"], "ms-vscode.azure-sphere-tools-ui": ["resolvers"], "ms-azuretools.vscode-azureappservice": ["terminalDataWriteEvent"] },' \
+        -e '/^[[:blank:]]*"extensionsGallery/i  "extensionSyncedKeys": { "ritwickdey.liveserver": ["liveServer.setup.version"] }, "auth": { "loginUrl": "https:\/\/login.microsoftonline.com\/common\/oauth2\/authorize", "tokenUrl": "https:\/\/login.microsoftonline.com\/common\/oauth2\/token", "redirectUrl": "https:\/\/vscode-redirect.azurewebsites.net\/", "clientId": "aebc6443-996d-45c2-90f0-388ff96faa56" }, "configurationSync.store": { "url": "https:\/\/vscode-sync.trafficmanager.net\/", "stableUrl": "https:\/\/vscode-sync.trafficmanager.net\/", "insidersUrl": "https:\/\/vscode-sync-insiders.trafficmanager.net\/", "canSwitch": false, "authenticationProviders": { "microsoft": { "scopes": ["openid", "profile", "email", "offline_access"] }, "github": { "scopes": ["user:email"] } } },' \
         /opt/vscodium-bin/resources/app/product.json
 fi
diff --git a/vscodium-bin-features.hook b/vscodium-bin-features.hook
index 7fbfc92..d71c635 100644
--- a/vscodium-bin-features.hook
+++ b/vscodium-bin-features.hook
@@ -6,5 +6,5 @@ Target = vscodium-bin

 [Action]
 Description = [vscodium-bin-features] Patching product.json...
-Exec = /usr/share/vscodium-bin-features/patch.sh
+Exec = /opt/vscodium-bin-features/patch.sh
 When = PostTransaction
diff --git a/vscodium-bin-features.install b/vscodium-bin-features.install
index 71be718..4f48b03 100644
--- a/vscodium-bin-features.install
+++ b/vscodium-bin-features.install
@@ -1,15 +1,15 @@
 post_install() {
-  /usr/share/vscodium-bin-features/patch.sh
+  /opt/vscodium-bin-features/patch.sh
 }

 pre_upgrade() {
-  /usr/share/vscodium-bin-features/patch.sh -R
+  /opt/vscodium-bin-features/patch.sh -R
 }

 post_upgrade() {
-  /usr/share/vscodium-bin-features/patch.sh
+  /opt/vscodium-bin-features/patch.sh
 }

 pre_remove() {
-  /usr/share/vscodium-bin-features/patch.sh -R
+  /opt/vscodium-bin-features/patch.sh -R
 }

sperg512 commented on 2022-04-08 22:08 (UTC)

Probably some upstream change in the format?

I don't have the time to test. @Icelk can you take a look at this?

fanninpm commented on 2022-04-08 01:26 (UTC) (edited on 2022-04-08 01:31 (UTC) by fanninpm)

Installing vscodium-bin-features (1.63.2-1)...
/tmp/alpm_mzZAkw/.INSTALL: line 2: /usr/share/vscodium-bin-features/patch.sh: No such file or directory
Error: vscodium-bin-features: command failed to execute correctly

Fixing it leads to the patch no longer working:

$ codium .
node:internal/modules/cjs/loader:1186
    throw err;
    ^

SyntaxError: /opt/vscodium-bin/resources/app/product.json: Unexpected token , in JSON at position 10016
    at parse (<anonymous>)
    at Object.Module._extensions..json (node:internal/modules/cjs/loader:1183:22)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/opt/vscodium-bin/resources/app/out/cli.js:1:133)
    at Module._compile (node:internal/modules/cjs/loader:1116:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:829:12)
    at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47

mattfbacon commented on 2022-03-31 17:37 (UTC) (edited on 2022-03-31 17:39 (UTC) by mattfbacon)

Patch:

diff --git a/PKGBUILD b/PKGBUILD
index abc9aa3..73418d1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Carson Rueter <roachh at proton mail dot com>
 pkgname=vscodium-bin-features
 pkgver=1.63.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Unblock some features in VSCodium'
 arch=('any')
 url='https://github.com/microsoft/vscode'
@@ -13,7 +13,7 @@ conflicts=('vscodium-bin-features')
 install="${pkgname}.install"
 source=("${pkgname}.hook"
         'patch.sh')
-md5sums=('9c0fcfdb3427f4a7705114eedbd3b6b8'
+md5sums=('db01557a15a28a0a0c6c967cdcbb36e3'
          '486c3bf8ef2c355330cbad53609f6b1e')

 package() {
diff --git a/vscodium-bin-features.hook b/vscodium-bin-features.hook
index 7fbfc92..d71c635 100644
--- a/vscodium-bin-features.hook
+++ b/vscodium-bin-features.hook
@@ -6,5 +6,5 @@ Target = vscodium-bin

 [Action]
 Description = [vscodium-bin-features] Patching product.json...
-Exec = /usr/share/vscodium-bin-features/patch.sh
+Exec = /opt/vscodium-bin-features/patch.sh
 When = PostTransaction
diff --git a/vscodium-bin-features.install b/vscodium-bin-features.install
index 71be718..4f48b03 100644
--- a/vscodium-bin-features.install
+++ b/vscodium-bin-features.install
@@ -1,15 +1,15 @@
 post_install() {
-  /usr/share/vscodium-bin-features/patch.sh
+  /opt/vscodium-bin-features/patch.sh
 }

 pre_upgrade() {
-  /usr/share/vscodium-bin-features/patch.sh -R
+  /opt/vscodium-bin-features/patch.sh -R
 }

 post_upgrade() {
-  /usr/share/vscodium-bin-features/patch.sh
+  /opt/vscodium-bin-features/patch.sh
 }

 pre_remove() {
-  /usr/share/vscodium-bin-features/patch.sh -R
+  /opt/vscodium-bin-features/patch.sh -R
 }

Icelk commented on 2022-03-30 16:53 (UTC)

The patch.sh modifies files in /opt/. This isn’t out of date, as it still works, to the best of my knowledge. Please only mark it out of date if it stops working, and please submit a patch to get it working for the fastest turn-around time.