Skip to content

Commit

Permalink
Electron App Dependencies (#2444)
Browse files Browse the repository at this point in the history
* migrate the downloadpage generation script to this repo

* tiny docs fix

* fix 2 electron issues

* support intel platform

* fix save preferences bug

* electron upgrade

* upgrading electron dependencies
  • Loading branch information
k9ert authored May 22, 2024
1 parent 5f05b9a commit 9a15a01
Show file tree
Hide file tree
Showing 10 changed files with 4,769 additions and 887 deletions.
3 changes: 1 addition & 2 deletions pyinstaller/electron/main.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// Modules to control application life and create native browser window
const fs = require('fs')
const { spawn, exec } = require('child_process')
const { app, nativeTheme, nativeImage, BrowserWindow, Menu, Tray, screen, shell, dialog, ipcMain } = require('electron')
const { app, nativeImage, BrowserWindow, Menu, screen, shell, dialog, ipcMain } = require('electron')
const defaultMenu = require('electron-default-menu')
const contextMenu = require('electron-context-menu')

const { appSettingsPath, specterdDirPath, appSettings, platformName, appNameLower } = require('./src/config.js')
const { logger } = require('./src/logging.js')
const downloadloc = require('./downloadloc')
const { downloadSpecterd, destroyProgressbar } = require('./src/download.js')
const getDownloadLocation = downloadloc.getDownloadLocation
const { startSpecterd, quitSpecterd } = require('./src/specterd.js')
const { getFileHash, versionData, isDev, devFolder, isMac } = require('./src/helpers.js')
const { getAppSettings } = require('./src/config.js')
Expand Down
Loading

0 comments on commit 9a15a01

Please sign in to comment.