Skip to content

Commit

Permalink
fixup! Create temp directory for temporary files
Browse files Browse the repository at this point in the history
  • Loading branch information
panther7 committed Oct 26, 2023
1 parent eee5137 commit d0a1788
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/linux/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ const register = async (options, cb) => {
});
if (scriptResult.code != 0 || scriptResult.stderr)
throw new Error(scriptResult.stderr);

fs.unlinkSync(scriptFilePath);
} catch (e) {
if (!cb) throw e;
res = e;
Expand Down
4 changes: 0 additions & 4 deletions src/macos/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,6 @@ const register = async (options, cb) => {
});
if (scriptResult.code != 0 || scriptResult.stderr)
throw new Error(scriptResult.stderr);

fs.unlinkSync(scriptFilePath);
fs.unlinkSync(urlAppSource);
fs.unlinkSync(appSource);
} catch (e) {
if (!cb) throw e;
res = e;
Expand Down

0 comments on commit d0a1788

Please sign in to comment.