im gonna kill myself you see
This commit is contained in:
@@ -21,9 +21,6 @@ jobs:
|
|||||||
working-directory: electron-app
|
working-directory: electron-app
|
||||||
run: npm install --ignore-scripts
|
run: npm install --ignore-scripts
|
||||||
|
|
||||||
- name: Install TypeScript globally
|
|
||||||
run: npm install -g typescript
|
|
||||||
|
|
||||||
- name: Build and package for Windows
|
- name: Build and package for Windows
|
||||||
working-directory: electron-app
|
working-directory: electron-app
|
||||||
run: npm run electron:build -- --win
|
run: npm run electron:build -- --win
|
||||||
@@ -54,9 +51,6 @@ jobs:
|
|||||||
working-directory: electron-app
|
working-directory: electron-app
|
||||||
run: npm install --ignore-scripts
|
run: npm install --ignore-scripts
|
||||||
|
|
||||||
- name: Install TypeScript globally
|
|
||||||
run: npm install -g typescript
|
|
||||||
|
|
||||||
- name: Build and package for Linux
|
- name: Build and package for Linux
|
||||||
working-directory: electron-app
|
working-directory: electron-app
|
||||||
run: npm run electron:build -- --linux
|
run: npm run electron:build -- --linux
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"main": "dist/main/index.js",
|
"main": "dist/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build:main": "tsc --project tsconfig.main.json && tsc --project tsconfig.preload.json",
|
"build:main": "npx tsc --project tsconfig.main.json && npx tsc --project tsconfig.preload.json",
|
||||||
"build:renderer": "vite build",
|
"build:renderer": "vite build",
|
||||||
"build": "npm run build:main && npm run build:renderer",
|
"build": "npm run build:main && npm run build:renderer",
|
||||||
"electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron dist/main/index.js\"",
|
"electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && cross-env NODE_ENV=development electron dist/main/index.js\"",
|
||||||
|
|||||||
Reference in New Issue
Block a user