Skip to content

Commit

Permalink
feat: fuse-t
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwynr committed Sep 15, 2024
1 parent e760a2a commit 93e91ff
Show file tree
Hide file tree
Showing 5 changed files with 203 additions and 70 deletions.
30 changes: 19 additions & 11 deletions hashes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ async function downloadAndHashMultiple(urls) {
console.log(`SHA-512 hash for ${url}: ${hash}`)

// Add the hash to the result record
result[url] = hash
result[
url
.split("https://cdn.filen.io/@filen/desktop/bin/fuse-t/")
.join("")
.split("https://cdn.filen.io/@filen/desktop/bin/rclone/")
.join("")
] = hash

// Remove the temporary file
fs.unlinkSync(tmpFilePath)
Expand All @@ -77,17 +83,19 @@ async function downloadAndHashMultiple(urls) {
return result
}

const version = "1680"
const rcloneVersion = "1680"
const fuseTVersion = "1041"
const urls = [
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_darwin_arm64_" + version,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_darwin_x64_" + version,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_linux_arm64_" + version,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_linux_ia32_" + version,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_linux_x64_" + version,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_arm64_" + version + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_ia32_" + version + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_ia32_" + version + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_x64_" + version + ".exe"
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_darwin_arm64_" + rcloneVersion,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_darwin_x64_" + rcloneVersion,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_linux_arm64_" + rcloneVersion,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_linux_ia32_" + rcloneVersion,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_linux_x64_" + rcloneVersion,
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_arm64_" + rcloneVersion + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_ia32_" + rcloneVersion + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_ia32_" + rcloneVersion + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/rclone/filen_rclone_win32_x64_" + rcloneVersion + ".exe",
"https://cdn.filen.io/@filen/desktop/bin/fuse-t/fuse_t_" + fuseTVersion + ".pkg"
]

downloadAndHashMultiple(urls).then(hashes => {
Expand Down
11 changes: 9 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"dependencies": {
"@filen/sdk": "^0.1.167",
"@filen/webdav": "^0.2.52",
"@vscode/sudo-prompt": "^9.3.1",
"axios": "^1.7.6",
"diskusage-ng": "^1.0.4",
"find-free-ports": "^3.1.1",
Expand Down
Loading

0 comments on commit 93e91ff

Please sign in to comment.