diff options
author | Starscouts <starscouts@equestria.dev> | 2024-07-14 14:28:01 +0200 |
---|---|---|
committer | Starscouts <starscouts@equestria.dev> | 2024-07-14 14:28:01 +0200 |
commit | 361fe53a7e8a48e42ac8d7f4c07f33bf4ed178e2 (patch) | |
tree | f559784cd9a076c27fa6cd904641176efec89a6a /intimate/src | |
parent | 1bbe60d3a237cfe99dc6d1a3aa14de542668dc6f (diff) | |
download | faunerie-361fe53a7e8a48e42ac8d7f4c07f33bf4ed178e2.tar.gz faunerie-361fe53a7e8a48e42ac8d7f4c07f33bf4ed178e2.tar.bz2 faunerie-361fe53a7e8a48e42ac8d7f4c07f33bf4ed178e2.zip |
Diffstat (limited to 'intimate/src')
-rw-r--r--[-rwxr-xr-x] | intimate/src/actions.js | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | intimate/src/display.js | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | intimate/src/fetcher.js | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | intimate/src/keyboard.js | 0 |
4 files changed, 1 insertions, 0 deletions
diff --git a/intimate/src/actions.js b/intimate/src/actions.js index 2590656..2590656 100755..100644 --- a/intimate/src/actions.js +++ b/intimate/src/actions.js diff --git a/intimate/src/display.js b/intimate/src/display.js index 921cdee..921cdee 100755..100644 --- a/intimate/src/display.js +++ b/intimate/src/display.js diff --git a/intimate/src/fetcher.js b/intimate/src/fetcher.js index 4375fe5..f5eb236 100755..100644 --- a/intimate/src/fetcher.js +++ b/intimate/src/fetcher.js @@ -99,6 +99,7 @@ async function slideshowMain() { if (!config.modules.derpibooru['faunerie_cache']) return i; if (!fs.existsSync(config.modules.derpibooru['faunerie_cache'] + "/images/" + i['sha512_hash'].substring(0, 1) + "/" + i['sha512_hash'].substring(0, 2) + "/" + i['sha512_hash'].substring(0, 3) + "/10" + i['id'] + ".bin")) return i; i['view_url'] = "pbip://" + config.modules.derpibooru['faunerie_cache'] + "/images/" + i['sha512_hash'].substring(0, 1) + "/" + i['sha512_hash'].substring(0, 2) + "/" + i['sha512_hash'].substring(0, 3) + "/10" + i['id'] + ".bin"; + if (process.platform === "win32") i['view_url'] = i['view_url'].replaceAll("\\", "/").replaceAll("pbip://", "pbip:///"); return i; })); window.displayQueue = window.displayQueue.sort(() => Math.random() - Math.random()); diff --git a/intimate/src/keyboard.js b/intimate/src/keyboard.js index 26916bb..26916bb 100755..100644 --- a/intimate/src/keyboard.js +++ b/intimate/src/keyboard.js |