diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index a28905a..64d0806 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -26,3 +26,10 @@ jobs: run: | npm install npm run make + + # Upload the build output as an artifact + - name: Output + uses: actions/upload-artifact@v3 + with: + name: build-output # Name of the artifact + path: out/make/ # Path to the build output directory diff --git a/src/scripts/installed-apps.ts b/src/scripts/installed-apps.ts index 9dbe5c4..ec23cd9 100644 --- a/src/scripts/installed-apps.ts +++ b/src/scripts/installed-apps.ts @@ -5,13 +5,6 @@ import { App } from "electron"; const execAsync = promisify(exec) -export interface InstalledAppsInfo { - desktopPath: string; - iconPath: string; - b64Icon: string; - execCmd: string -} - const enum DesktopFilePaths { AppsUsrShare = "/usr/share/applications", IconsUsrShare = "/usr/share/icons", @@ -45,6 +38,13 @@ export interface DesktopFile { type: string; } +export interface InstalledAppsInfo { + desktopPath: string; + iconPath: string; + b64Icon: string; + execCmd: string +} + export type AppInfo = Record // todo: use worker threads to make concurrent.