mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-19 13:46:03 +10:00
fix: update acl (#953)
This commit is contained in:
9
.github/workflows/linux.yml
vendored
9
.github/workflows/linux.yml
vendored
@@ -128,8 +128,9 @@ jobs:
|
|||||||
id: build
|
id: build
|
||||||
if: env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_DEPLOY == 'yes'
|
||||||
|
|
||||||
- name: Release snap
|
- uses: snapcore/action-publish@v1
|
||||||
run: ./stores/snapcraft/release.sh
|
with:
|
||||||
env:
|
store_login: ${{ secrets.SNAP_STORE_LOGIN }}
|
||||||
SNAP_STORE_LOGIN: ${{ secrets.SNAP_STORE_LOGIN }}
|
snap: ${{ steps.build.outputs.snap }}
|
||||||
|
release: stable
|
||||||
if: env.SHOULD_DEPLOY == 'yes'
|
if: env.SHOULD_DEPLOY == 'yes'
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
CALLER_DIR=$( pwd )
|
|
||||||
|
|
||||||
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
|
||||||
|
|
||||||
snapcraft upload --release=stable *.snap
|
|
||||||
|
|
||||||
cd "${CALLER_DIR}"
|
|
||||||
@@ -33,6 +33,8 @@ parts:
|
|||||||
sed -i 's|Icon=codium|Icon=${SNAP}/usr/share/pixmaps/codium.png|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium.desktop
|
sed -i 's|Icon=codium|Icon=${SNAP}/usr/share/pixmaps/codium.png|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium.desktop
|
||||||
sed -i 's|Exec=/usr/share/codium/codium|Exec=codium|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium.desktop
|
sed -i 's|Exec=/usr/share/codium/codium|Exec=codium|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium.desktop
|
||||||
sed -i 's|Icon=codium|Icon=/usr/share/pixmaps/codium.png|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium-url-handler.desktop
|
sed -i 's|Icon=codium|Icon=/usr/share/pixmaps/codium.png|g' ${SNAPCRAFT_PART_INSTALL}/usr/share/applications/codium-url-handler.desktop
|
||||||
|
# Fix ACL
|
||||||
|
chmod 755 ${SNAPCRAFT_PART_INSTALL}/usr/share/codium/chrome-sandbox
|
||||||
# Set version
|
# Set version
|
||||||
echo $VERSION > $SNAPCRAFT_STAGE/version
|
echo $VERSION > $SNAPCRAFT_STAGE/version
|
||||||
snapcraftctl set-version "$VERSION"
|
snapcraftctl set-version "$VERSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user