-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging on behalf of the whole team Co-authored-by: Dinek007 <[email protected]> Co-authored-by: EmiM <[email protected]> Co-authored-by: vinkabuki <[email protected]>
- Loading branch information
1 parent
42de1c6
commit 8d9feb6
Showing
70 changed files
with
1,920 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,6 @@ src/renderer/zcash/index.node | |
|
||
/cypress/snapshots/actual | ||
/cypress/snapshots/diff | ||
|
||
# Tor | ||
/tor/libevent-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import path from 'path' | ||
|
||
export const openFiles = (paths: string[]) => { | ||
const data = {} | ||
paths.forEach((filePath: string) => { | ||
const id = `${Date.now()}_${Math.random().toString(36).substring(0, 20)}` | ||
data[id] = { | ||
path: filePath, | ||
name: path.basename(filePath, path.extname(filePath)), | ||
ext: path.extname(filePath) | ||
} | ||
}) | ||
return data | ||
} |
Oops, something went wrong.