Skip to content

Commit

Permalink
Merge pull request #30 from wakatime/bugfix/imports
Browse files Browse the repository at this point in the history
Fix relative imports
  • Loading branch information
alanhamlett authored Sep 19, 2024
2 parents 7967abe + f2d9280 commit 8b91e31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions electron/helpers/installed-apps/mac.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { exec, spawnSync } from "child_process";
import fs from "node:fs";
import path from "node:path";
import { AppData } from "electron/utils/validators";
import { allApps } from "electron/watchers/apps";
import iconutil from "iconutil";
import plist from "plist";

import { AppData } from "../../utils/validators";
import { allApps } from "../../watchers/apps";

export async function getInstalledApps(
directory = "/Applications",
): Promise<AppData[]> {
Expand Down
2 changes: 1 addition & 1 deletion electron/helpers/installed-apps/windows.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import fs from "node:fs";
import path from "node:path";
import { AppData } from "electron/utils/validators";
import Winreg from "winreg";

import { Store } from "../../store";
import { AppData } from "../../utils/validators";
import { allApps } from "../../watchers/apps";

function getFilePath(appData: Record<string, string>, fileName?: string) {
Expand Down

0 comments on commit 8b91e31

Please sign in to comment.