Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,12 @@ cython_debug/
#.idea/

# VSCode
.vscode
#.vscode

# PyInstaller version file (dynamically built)
file_version.txt

# macOS build app directory (not required)
dist/EX-Installer-macOS.app/
.DS_Store
src/bin
114 changes: 114 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"version": "0.2.0",
"configurations": [
// ── Main process (Node.js) ────────────────────────────────────────────
// Follows the official Electron docs pattern: "request": "launch" so
// VS Code owns the process — no preLaunchTask / background task needed.
// electron-vite dev --inspect=9229 builds, starts Vite servers, then
// spawns Electron with --inspect=9229 for the Node.js debugger to attach.
{
"name": "Main Process",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceFolder}/src/node_modules/.bin/electron-vite",
"runtimeArgs": [
"dev",
"--inspect=9229"
],
"cwd": "${workspaceFolder}/src",
"outputCapture": "std",
"console": "integratedTerminal",
// Don't inject VS Code's own inspector into electron-vite.
// Instead, simply attach to the port that Electron opens via --inspect=9229.
"attachSimplePort": 9229,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/src/out/main/**/*.js",
"${workspaceFolder}/src/out/preload/**/*.js"
],
"resolveSourceMapLocations": [
"${workspaceFolder}/src/**",
"!**/node_modules/**"
],
"sourceMapPathOverrides": {
"../../main/*": "${workspaceFolder}/src/main/*",
"../../preload/*": "${workspaceFolder}/src/preload/*"
},
"skipFiles": [
"<node_internals>/**",
"${workspaceFolder}/src/node_modules/**"
]
},
{
"name": "Main Process (Mock)",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceFolder}/src/node_modules/.bin/electron-vite",
"runtimeArgs": [
"dev",
"--inspect=9229",
"--",
"--mock"
],
"cwd": "${workspaceFolder}/src",
"outputCapture": "std",
"console": "integratedTerminal",
"attachSimplePort": 9229,
"sourceMaps": true,
"outFiles": [
"${workspaceFolder}/src/out/main/**/*.js",
"${workspaceFolder}/src/out/preload/**/*.js"
],
"resolveSourceMapLocations": [
"${workspaceFolder}/src/**",
"!**/node_modules/**"
],
"sourceMapPathOverrides": {
"../../main/*": "${workspaceFolder}/src/main/*",
"../../preload/*": "${workspaceFolder}/src/preload/*"
},
"skipFiles": [
"<node_internals>/**",
"${workspaceFolder}/src/node_modules/**"
]
},
// ── Renderer process (Chromium) ───────────────────────────────────────
// Start "Main Process" first, then attach this.
// Or use the "Debug All" compound to launch both together.
{
"name": "Renderer Process",
"type": "chrome",
"request": "attach",
"port": 9222,
"urlFilter": "http://localhost:*",
"webRoot": "${workspaceFolder}/src/renderer/src",
"sourceMaps": true,
"resolveSourceMapLocations": [
"${workspaceFolder}/src/**",
"!**/node_modules/**"
],
"skipFiles": [
"${workspaceFolder}/src/node_modules/**"
]
}
],
// ── Compound: debug main + renderer together ──────────────────────────────
"compounds": [
{
"name": "Debug All",
"configurations": [
"Main Process",
"Renderer Process"
],
"stopAll": true
},
{
"name": "Debug All (Mock)",
"configurations": [
"Main Process (Mock)",
"Renderer Process"
],
"stopAll": true
}
]
}
17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"python-envs.pythonProjects": [],
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"*test.py"
],
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true,
"cSpell.words": [
"DBUS",
"fqbn",
"maximizable"
]
}
46 changes: 46 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"version": "2.0.0",
"tasks": [
// ── Kill lingering Electron processes ─────────────────────────────────
{
"label": "kill-electron",
"type": "shell",
"command": "pkill -f electron || true",
"presentation": {
"reveal": "silent",
"panel": "shared"
},
"problemMatcher": []
},
// ── Build ─────────────────────────────────────────────────────────────
{
"label": "electron-vite: build",
"type": "shell",
"command": "pnpm build",
"options": {
"cwd": "${workspaceFolder}/src"
},
"group": "build",
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": []
},
// ── Run (mock mode) ─────────────────────────────────────────────────
{
"label": "electron-vite: dev (mock)",
"type": "shell",
"command": "pnpm exec electron-vite dev -- --mock",
"options": {
"cwd": "${workspaceFolder}/src"
},
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "shared"
},
"problemMatcher": []
}
]
}
Binary file removed dist/EX-Installer-Linux64
Binary file not shown.
Binary file removed dist/EX-Installer-Win32.exe
Binary file not shown.
Binary file removed dist/EX-Installer-Win64.exe
Binary file not shown.
Binary file removed dist/EX-Installer-macOS
Binary file not shown.
Loading