diff options
author | Vijay A <avijayr@protonmail.com> | 2021-08-15 17:15:09 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-08-15 13:54:00 +0000 |
commit | bc76d19c6f5687dd18c96db249e0abe7ad79a673 (patch) | |
tree | d4e977f99be77d723ce93bb3866468d8b63ec038 /src/helpers/asar-helpers.ts | |
parent | chore: npm upgrades (diff) | |
download | ferdium-app-bc76d19c6f5687dd18c96db249e0abe7ad79a673.tar.gz ferdium-app-bc76d19c6f5687dd18c96db249e0abe7ad79a673.tar.zst ferdium-app-bc76d19c6f5687dd18c96db249e0abe7ad79a673.zip |
chore: typescript conversion of some minor utilities
Also removed 'targz' unused package from runtime.
Diffstat (limited to 'src/helpers/asar-helpers.ts')
-rw-r--r-- | src/helpers/asar-helpers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/asar-helpers.ts b/src/helpers/asar-helpers.ts new file mode 100644 index 000000000..3d9f0d941 --- /dev/null +++ b/src/helpers/asar-helpers.ts | |||
@@ -0,0 +1,3 @@ | |||
1 | export function asarPath(dir: string = '') { | ||
2 | return dir.replace('app.asar', 'app.asar.unpacked'); | ||
3 | } | ||