Results 1 to 3 of 3

Thread: How can i create appArmor profile, when user installs my app?

  1. #1
    Join Date
    Jun 2024
    Beans
    2

    Question How can i create appArmor profile, when user installs my app?

    Hello guys, I'm new here.
    With the 24.04 ubuntu update appArmor profile became necessary for many applications, which include Discord, Chrome etc... ( I'm so new I can be wrong here already, but anyway )
    I have an Electron application myself and noticed that my app just straight up crashes on launching, I can see that Discord and Chrome have their respectable profile files /etc/apparmor.d/chrome and /etc/apparmor.d/discord.
    Can anybody point me into right direction where can I create the same profile for my app? should I register it in ubuntu app store? or should I have some preloader that will create this profile for me? or is there some file I can ship with my electron build, like entitlements for MacOS?
    Thank you in advance!

  2. #2
    Join Date
    Jun 2024
    Beans
    2

    Re: How can i create appArmor profile, when user installs my app?

    Figured that out, created a script that triggered by afterInstall field from electron-builder, in that I create the appArmor profile and refresh it, works like a charm, happy hacking!

  3. #3
    Join Date
    May 2010
    Beans
    3,356

    Re: How can i create appArmor profile, when user installs my app?

    Please mark as solved if there is no more issue

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •