From 87b3c5cf4a0d2fa2b29435947acfc3cbecaa973d Mon Sep 17 00:00:00 2001 From: Mikhail Zabaluev Date: Thu, 4 Jul 2019 13:52:50 +0300 Subject: [PATCH 1/2] Drop the i386 arch The x86-32 releases for Linux have apparently been discontinued by Microsoft. --- com.visualstudio.code.yaml | 6 ------ flathub.json | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index f85a997..ae59b3a 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -96,9 +96,3 @@ modules: url: https://vscode-update.azurewebsites.net/1.35.1/linux-deb-x64/stable sha256: c3bb7a6d7953ff4093b8a7229227ad4a9587900866c7e867710086dcd42ba482 size: 48458546 - - type: extra-data - filename: code.deb - only-arches: [i386] - url: https://vscode-update.azurewebsites.net/1.35.1/linux-deb-ia32/stable - sha256: d90f13b9e4004928fdb51791ff586dc7f4b43f3d00080dac0be5f7cf6261d0c2 - size: 49411812 diff --git a/flathub.json b/flathub.json index 4051a10..e374e42 100644 --- a/flathub.json +++ b/flathub.json @@ -1,5 +1,5 @@ { - "only-arches": ["i386", "x86_64"], + "only-arches": ["x86_64"], "publish-delay-hours": 1, "skip-appstream-check": true } From 6ba11b40b901f86fab79f47e5e30617cc696b8b8 Mon Sep 17 00:00:00 2001 From: Mikhail Zabaluev Date: Thu, 4 Jul 2019 14:33:33 +0300 Subject: [PATCH 2/2] Also remove the ia32 arch from the update script --- update-vscode-flatpak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-vscode-flatpak.py b/update-vscode-flatpak.py index d62bea2..c4a5fd9 100755 --- a/update-vscode-flatpak.py +++ b/update-vscode-flatpak.py @@ -24,7 +24,7 @@ if VERSION in data['modules'][-1]['sources'][-1]['url']: print('No update needed. Current version: ' + VERSION) sys.exit() -ARCHES = {'x64': -2, 'ia32': -1} +ARCHES = {'x64': -1} for arch, pos in ARCHES.items(): source_entry = data['modules'][-1]['sources'][pos]