fix: make setting card select

fix: improve download location switching reliability during download
feat: validate directory availability, disable transparency on linux
feat: force CORS on 429 from AniList
This commit is contained in:
ThaUnknown 2025-07-20 18:11:20 +02:00
parent 4bf572e71f
commit 7875a57af0
No known key found for this signature in database

View file

@ -43,7 +43,7 @@
<Progress />
<div class='space-y-3 lg:max-w-4xl pt-5 h-full overflow-y-auto' use:dragScroll>
<SettingCard let:id title='Torrent Download Location' description={`Path to the folder used to store torrents. By default this is the TEMP cache folder, which might lose data when your OS tries to reclaim storage.${SUPPORTS.isAndroid ? '\n\nSD Card saves to the Cards Download folder. If SD Card is not available torrents will automatically be saved to the Phone\'s Downloads folder' : ''}`}>
<SettingCard class='bg-transparent' let:id title='Torrent Download Location' description={`Path to the folder used to store torrents. By default this is the TEMP cache folder, which might lose data when your OS tries to reclaim storage.${SUPPORTS.isAndroid ? '\n\nSD Card saves to the Cards Download folder. If SD Card is not available torrents will automatically be saved to the Phone\'s Downloads folder' : ''}`}>
<div class='flex'>
{#if !SUPPORTS.isAndroid}
<Input type='url' bind:value={$settings.torrentPath} readonly {id} placeholder='/tmp/webtorrent' class='sm:w-60 bg-background rounded-r-none pointer-events-none' />