diff options
author | 2021-10-03 07:52:38 +0530 | |
---|---|---|
committer | 2021-10-03 07:52:38 +0530 | |
commit | 5617fd6cb55d0bba8ba9e3e19258845b6a6f08b8 (patch) | |
tree | e41e78cd5d5059d4d05ad44c6034a350219d7722 /src/helpers/asar-helpers.ts | |
parent | 5.6.3-nightly.21 [skip ci] (diff) | |
download | ferdium-app-5617fd6cb55d0bba8ba9e3e19258845b6a6f08b8.tar.gz ferdium-app-5617fd6cb55d0bba8ba9e3e19258845b6a6f08b8.tar.zst ferdium-app-5617fd6cb55d0bba8ba9e3e19258845b6a6f08b8.zip |
refactor: use correct datatypes in ts files
Diffstat (limited to 'src/helpers/asar-helpers.ts')
-rw-r--r-- | src/helpers/asar-helpers.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/asar-helpers.ts b/src/helpers/asar-helpers.ts index 3da90625d..9d975c193 100644 --- a/src/helpers/asar-helpers.ts +++ b/src/helpers/asar-helpers.ts | |||
@@ -5,6 +5,6 @@ export function asarPath(dir: string = '') { | |||
5 | } | 5 | } |
6 | 6 | ||
7 | // Replacing app.asar is not beautiful but unfortunately necessary | 7 | // Replacing app.asar is not beautiful but unfortunately necessary |
8 | export function asarRecipesPath(...segments: any[]) { | 8 | export function asarRecipesPath(...segments: string[]) { |
9 | return join(asarPath(join(__dirname, '..', 'recipes')), ...[segments].flat()); | 9 | return join(asarPath(join(__dirname, '..', 'recipes')), ...[segments].flat()); |
10 | } | 10 | } |