Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of automatic .desktop file creation #860

Open
PolarianDev opened this issue Jun 20, 2023 · 0 comments
Open

Removal of automatic .desktop file creation #860

PolarianDev opened this issue Jun 20, 2023 · 0 comments

Comments

@PolarianDev
Copy link
Contributor

Hello,

When packaging coyim I realise coyim keeps inserting a .desktop file which is hard coded into the codebase into the users local application directory.

This is undesirable behaviour when packaged, so I attempted to remove it, I thought it would be easy enough:

  1. Delete https://github.com/coyim/coyim/blob/main/gui/install.go (this only appears to contain logic for creating the .desktop file and is not needed for packaged variant)
  2. Remove the following line to prevent invoking a missing file: https://github.com/coyim/coyim/blob/main/gui/ui.go#L108

However when compiling and running coyim with this code stripped, its still generates the desktop file even with this code missing. What else do I need to strip to remove this behaviour as it messes up with coyim AUR package after first execution.

Thank you,
Polarian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant