Skip to content

Commit 2c3e5f8

Browse files
committed
πŸŽ‰ init:
1 parent 5d9e7dc commit 2c3e5f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1459
-1
lines changed

β€Ž.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
dist-electron
14+
release
15+
*.local
16+
17+
# Editor directories and files
18+
.vscode/.debug.env
19+
.idea
20+
.DS_Store
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?
26+
27+
#lockfile
28+
package-lock.json
29+
pnpm-lock.yaml
30+
yarn.lock
31+
/test-results/
32+
/playwright-report/
33+
/playwright/.cache/

β€ŽREADME.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
# electron-vite-react

β€Žbuild/icon.icns

455 KB
Binary file not shown.

β€Žbuild/icon.ico

53.9 KB
Binary file not shown.

β€Žbuild/icon.png

67 KB
Loading

β€Že2e/example.spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { test, expect, _electron as electron } from "@playwright/test";
2+
3+
test("homepage has title and links to intro page", async () => {
4+
const app = await electron.launch({ args: [".", "--no-sandbox"] });
5+
const page = await app.firstWindow();
6+
expect(await page.title()).toBe("Electron + Vite + React");
7+
await page.screenshot({ path: "e2e/screenshots/example.png" });
8+
});

β€Že2e/screenshots/example.png

102 KB
Loading

β€Želectron-builder.json5

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/**
2+
* @see https://www.electron.build/configuration/configuration
3+
*/
4+
{
5+
"appId": "YourAppID",
6+
"asar": true,
7+
"directories": {
8+
"output": "release/${version}"
9+
},
10+
"files": [
11+
"dist-electron",
12+
"dist"
13+
],
14+
"mac": {
15+
"artifactName": "${productName}_${version}.${ext}",
16+
"target": [
17+
"dmg",
18+
"zip"
19+
]
20+
},
21+
"win": {
22+
"target": [
23+
{
24+
"target": "nsis",
25+
"arch": [
26+
"x64"
27+
]
28+
}
29+
],
30+
"artifactName": "${productName}_${version}.${ext}"
31+
},
32+
"nsis": {
33+
"oneClick": false,
34+
"perMachine": false,
35+
"allowToChangeInstallationDirectory": true,
36+
"deleteAppDataOnUninstall": false
37+
},
38+
"publish": {
39+
"provider": "generic",
40+
"channel": "latest",
41+
"url": "https://github.com/electron-vite/electron-vite-react/releases/download/v0.9.9/"
42+
}
43+
}

β€Želectron-vite-react-debug.gif

9.64 MB
Loading

β€Želectron-vite-react.gif

3.41 MB
Loading

0 commit comments

Comments
Β (0)