diff --git a/.github/workflows/debug_all.yml b/.github/workflows/debug_all.yml index b4bce3f7..07249989 100644 --- a/.github/workflows/debug_all.yml +++ b/.github/workflows/debug_all.yml @@ -1,6 +1,9 @@ name: Build All Platforms Debug on: + pull_request: + branches: + - 'main' push: branches: - 'main' diff --git a/.github/workflows/debug_linux.yml b/.github/workflows/debug_linux.yml index 82bfecc4..d91adf37 100644 --- a/.github/workflows/debug_linux.yml +++ b/.github/workflows/debug_linux.yml @@ -3,15 +3,6 @@ name: Build App Linux Debug on: workflow_dispatch: workflow_call: - pull_request: - branches: - - main - paths-ignore: - - '.github/**' - - '.prettierrc' - - '.eslintrc.json' - - '.prettierignore' - - 'package.json' jobs: build-linux-debug: diff --git a/.github/workflows/debug_macos.yml b/.github/workflows/debug_macos.yml index 81728377..7716b8db 100644 --- a/.github/workflows/debug_macos.yml +++ b/.github/workflows/debug_macos.yml @@ -3,15 +3,6 @@ name: Build App Macos Debug on: workflow_dispatch: workflow_call: - pull_request: - branches: - - main - paths-ignore: - - '.github/**' - - '.prettierrc' - - '.eslintrc.json' - - '.prettierignore' - - 'package.json' jobs: build-macos-debug: diff --git a/.github/workflows/debug_windows.yml b/.github/workflows/debug_windows.yml index ebf7a1cc..de279e67 100644 --- a/.github/workflows/debug_windows.yml +++ b/.github/workflows/debug_windows.yml @@ -3,14 +3,6 @@ name: Build App Windows Debug on: workflow_dispatch: workflow_call: - pull_request: - branches: - - main - paths-ignore: - - '.github/**' - - '.prettierrc' - - '.eslintrc.json' - - '.prettierignore' jobs: build-windows-debug: diff --git a/src/main.ts b/src/main.ts index 95ca2762..5399a69b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,12 +4,12 @@ import axios from 'axios'; import path from 'node:path'; import { SetupTray } from './tray'; import { IPC_CHANNELS, SENTRY_URL_ENDPOINT, ProgressStatus } from './constants'; -import { app, BrowserWindow, dialog, ipcMain, shell } from 'electron'; +import { app, dialog, ipcMain } from 'electron'; import log from 'electron-log/main'; import * as Sentry from '@sentry/electron/main'; import * as net from 'net'; import { graphics } from 'systeminformation'; -import { createModelConfigFiles, getModelConfigPath, readBasePathFromConfig } from './config/extra_model_config'; +import { createModelConfigFiles, getModelConfigPath } from './config/extra_model_config'; import todesktop from '@todesktop/runtime'; import { PythonEnvironment } from './pythonEnvironment'; import { DownloadManager } from './models/DownloadManager';