Implement direct download via plugin

This commit is contained in:
grimsi
2025-05-15 19:18:55 +02:00
parent 75a5d5997a
commit fc3a6fd52f
16 changed files with 308 additions and 8 deletions
@@ -0,0 +1,10 @@
Plugin-Version: 1.0.0-alpha1
Plugin-Class: de.grimsi.gameyfin.plugins.directdownload.DirectDownloadPlugin
Plugin-Id: de.grimsi.gameyfin.directdownload
Plugin-Name: Direct Download
Plugin-Description: Downloads games directly in the browser.<br>
If the game is contained in a folder, it will pack the folder into a zip file on the fly.
Plugin-Short-Description: Download games directly in the browser
Plugin-Author: grimsi
Plugin-License: MIT
Plugin-Url: https://github.com/gameyfin
@@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256">
<defs>
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#2332c8;stop-opacity:1"/>
<stop offset="100%" style="stop-color:#6441a5;stop-opacity:1"/>
</linearGradient>
</defs>
<path fill="url(#grad1)"
d="M74.34,85.66A8,8,0,0,1,85.66,74.34L120,108.69V24a8,8,0,0,1,16,0v84.69l34.34-34.35a8,8,0,0,1,11.32,11.32l-48,48a8,8,0,0,1-11.32,0ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H84.4a4,4,0,0,1,2.83,1.17L111,145A24,24,0,0,0,145,145l23.8-23.8A4,4,0,0,1,171.6,120H224A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"/>
</svg>

After

Width:  |  Height:  |  Size: 764 B