Skip to content

Use smart preloading in your snaps to avoid hard coded parts that would fail security.

Notifications You must be signed in to change notification settings

sergiusens/snapcraft-preload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use

Add this as a part to your snapcraft.yaml:

parts:
    snapcraft-preload:
        source: https://github.com/sergiusens/snapcraft-preload.git
        plugin: cmake
        cmake-parameters:
          - -DCMAKE_INSTALL_PREFIX=/
        build-packages:
          - on amd64:
            - gcc-multilib
            - g++-multilib

And precede your apps entry like this:

apps:
    app-name:
        command: bin/snapcraft-preload $SNAP/<binary>

If you're using the desktop-launch launcher from the ubuntu/snapcraft-desktop-helpers, place snapcraft-preload after desktop-launch in the app command.

About

Use smart preloading in your snaps to avoid hard coded parts that would fail security.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published