Fix tooltip labels

This commit is contained in:
downthecrop 2025-11-17 11:28:23 -08:00
parent 5bb81c7bd3
commit 5240963743
7 changed files with 135 additions and 156 deletions

View file

@ -18,6 +18,7 @@ import javax.swing.SwingUtilities
* Manages downloading and installing plugins from GitLab with concurrent support
*/
object PluginDownloadManager {
private const val TAG = "PluginDownloadManager"
private const val MAX_CONCURRENT_DOWNLOADS = 3
// Thread pool for concurrent downloads
@ -30,12 +31,8 @@ object PluginDownloadManager {
}
// Debug logging function
private fun debugLog(message: String) {
if (GitLabConfig.DEBUG) {
println("[PluginDownloadManager] $message")
}
}
private fun debugLog(message: String) = PluginLogger.debug(TAG, message)
// Get download URL for debugging/logging purposes
fun getDownloadUrlForLogging(plugin: GitLabPlugin): String {
return GitLabConfig.getArchiveUrl(plugin.path)