-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Packed resources #17339
base: dev
Are you sure you want to change the base?
Packed resources #17339
Conversation
Should I open MRs to submodules as well? |
Yes, the submodule PRs should be merged first. |
install(TARGETS Telegram | ||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" | ||
BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}" | ||
RESOURCE DESTINATION "${CMAKE_INSTALL_DATADIR}/TelegramDesktop" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use lowercase directory name here: ${CMAKE_INSTALL_DATADIR}/telegram-desktop
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, the name is not arbitrary here. It should match application name as known to Qt.
https://github.com/telegramdesktop/tdesktop/blob/v3.3.0/Telegram/SourceFiles/core/launcher.cpp#L288
Dynamically load packed resources from a separate file. This reduces amount of main memory required for linking stage.
Dynamically load packed resources from separate file. This reduces amount of main memory required for linking stage.