Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dd282e6ca | ||
|
|
6150b4aea3 | ||
|
|
c41f8c76cf | ||
|
|
f593288b73 | ||
|
|
a4528aeb0c |
No files matched your search
@@ -1,5 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [3.7.1](https://github.com/Masutayunikon/FanKarr/compare/v3.7.0...v3.7.1) (2026-04-11)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* ajout de la copy dans le worker ([a7d4488](https://github.com/Masutayunikon/FanKarr/commit/a7d44886ddb4c5ca4e12bfa5dbb15e115257d9c8))
|
||||||
|
|
||||||
## [3.7.0](https://github.com/Masutayunikon/FanKarr/compare/v3.6.1...v3.7.0) (2026-04-11)
|
## [3.7.0](https://github.com/Masutayunikon/FanKarr/compare/v3.6.1...v3.7.0) (2026-04-11)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -330,7 +330,9 @@ async function organizeTorrent(hash: string, name: string, savePath: string, ser
|
|||||||
|
|
||||||
if (!fs.existsSync(dest)) {
|
if (!fs.existsSync(dest)) {
|
||||||
fs.mkdirSync(destDir, { recursive: true })
|
fs.mkdirSync(destDir, { recursive: true })
|
||||||
if (organizeMode === 'hardlink') {
|
if (organizeMode === 'copy') {
|
||||||
|
await fsp.copyFile(src, dest)
|
||||||
|
} else if (organizeMode === 'hardlink') {
|
||||||
if (!tryHardlink(src, dest)) await fsp.copyFile(src, dest)
|
if (!tryHardlink(src, dest)) await fsp.copyFile(src, dest)
|
||||||
} else {
|
} else {
|
||||||
await fsp.copyFile(src, dest)
|
await fsp.copyFile(src, dest)
|
||||||
@@ -398,7 +400,9 @@ async function organizeTorrent(hash: string, name: string, savePath: string, ser
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
fs.mkdirSync(destDir, { recursive: true })
|
fs.mkdirSync(destDir, { recursive: true })
|
||||||
if (organizeMode === 'hardlink') {
|
if (organizeMode === 'copy') {
|
||||||
|
await fsp.copyFile(src, dest)
|
||||||
|
} else if (organizeMode === 'hardlink') {
|
||||||
if (!tryHardlink(src, dest)) await fsp.copyFile(src, dest)
|
if (!tryHardlink(src, dest)) await fsp.copyFile(src, dest)
|
||||||
markOrganized(hash, episode_id, {
|
markOrganized(hash, episode_id, {
|
||||||
at: new Date().toISOString(), season: season_number,
|
at: new Date().toISOString(), season: season_number,
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
3.7.1
|
||||||
Reference in new issue
Block a user