-
Notifications
You must be signed in to change notification settings - Fork 70
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
Prevent loop of unsuccessfull attempts (invalid cross-device link) to… #110
Conversation
Thanks @eMPee584. I am a bit hesitant to add a dependency to a gist. Could you please integrate the code into this repo? Thank you very much. |
… move desktop file when user's cache directory lies on a tmpfs mount (unburden-home-dir set up to minimize flash writes) appimaged: 2020/11/29 19:33:24 Registering AppImages in [/home/user/Downloads /home/user/Desktop /home/user/Applications /opt /usr/local/bin] appimaged: 2020/11/29 ERROR main: rename /home/user/.cache/applications//appimagekit_6f9acfe2118f26ccc7b52fb34e248f97.desktop /home/user/.local/share/applications/appimagekit_6f9acfe2118f26ccc7b52fb34e248f97.desktop: invalid cross-device link appimaged: 2020/11/29 19:33:27 main: Moved 1 desktop files to /home/user/.local/share/applications/; use -v to see details appimaged: 2020/11/29 19:33:27 Desktop notification: Added application appimaged: 2020/11/29 19:33:27 Ran update-desktop-database /home/user/.local/share/applications/
e2ba239
to
46e1297
Compare
Ok here's an easier workaround.. the CI borks though. |
Seems to be blocked by otiai10/copy#39 |
Now that otiai10/copy#41 is fixed thanks to @CalebQ42, can we revive this? Or is it no longer needed given that we are using #115? |
@CalebQ42 wdyt? |
I don't think we really need this rename anymore. Since we get the desktop file from the AppImage then edited in memory, we don't need to worry about a ton of writes causing the application menu to reload a bunch of times. All that would need to be done is changing the initial desktop file write to |
Closing in favor of #222. Thank you very much. |
… move desktop file when user's cache directory lies on a tmpfs mount (unburden-home-dir set up to minimize flash writes)
appimaged: 2020/11/29 19:33:24 Registering AppImages in [/home/user/Downloads /home/user/Desktop /home/user/Applications /opt /usr/local/bin]
appimaged: 2020/11/29 ERROR main: rename /home/user/.cache/applications//appimagekit_6f9acfe2118f26ccc7b52fb34e248f97.desktop /home/user/.local/share/applications/appimagekit_6f9acfe2118f26ccc7b52fb34e248f97.desktop: invalid cross-device link
appimaged: 2020/11/29 19:33:27 main: Moved 1 desktop files to /home/user/.local/share/applications/; use -v to see details
appimaged: 2020/11/29 19:33:27 Desktop notification: Added application
appimaged: 2020/11/29 19:33:27 Ran update-desktop-database /home/user/.local/share/applications/
This of course is a bit impromptu again.. 😅 #lazy