Skip to content

omarchy-remove-preinstalls removes user-created webapps #4830

@IvyWi

Description

@IvyWi

System details

Omarchy 3.4

What's wrong?

omarchy-webapp-remove-all (called by omarchy-remove-preinstalls) removes all webapps installed via omarchy-webapp-install, including ones created by the user after setup. It identifies webapps solely by the presence of Exec=omarchy-launch-webapp or Exec=omarchy-webapp-handler in .desktop files, with no distinction between preinstalled and user-created apps.

Steps to reproduce:

  1. Complete Omarchy setup
  2. Create a custom webapp with omarchy-webapp-install
  3. Run omarchy-remove-preinstalls from the launcher
  4. Custom webapp is removed along with the preinstalled ones

Expected behavior:
Only the webapps that ship with Omarchy by default (defined in install/packaging/webapps.sh) should be removed.

Actual behavior:
All webapps matching the exec pattern are removed, including user-created ones.

Possible fix:
Track preinstalled webapps by name (from webapps.sh) and only remove those specifically, rather than pattern-matching all webapp desktop files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions