Skip to content

Commit 8ad80af

Browse files
committed
initial commit
0 parents  commit 8ad80af

File tree

5 files changed

+6316
-0
lines changed

5 files changed

+6316
-0
lines changed

.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# builds
2+
/dist
3+
4+
# dependencies
5+
/node_modules
6+
7+
# IDEs and editors
8+
/.idea
9+
.project
10+
.classpath
11+
.c9/
12+
*.launch
13+
.settings/
14+
*.sublime-workspace
15+
16+
# IDE - VSCode
17+
.vscode/*
18+
!.vscode/settings.json
19+
!.vscode/tasks.json
20+
!.vscode/launch.json
21+
!.vscode/extensions.json
22+
.history/*
23+
24+
# misc
25+
/.sass-cache
26+
/connect.lock
27+
/coverage
28+
/libpeerconnection.log
29+
npm-debug.log
30+
yarn-error.log
31+
testem.log
32+
/typings
33+
34+
# System Files
35+
.DS_Store
36+
humbs.db

build/icon.png

23.9 KB
Loading

main.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
const { app, BrowserWindow } = require('electron')
2+
3+
function createWindow () {
4+
const win = new BrowserWindow({
5+
width: 1440,
6+
height: 900,
7+
})
8+
9+
win.loadURL("https://bitclout.com");
10+
}
11+
12+
app.whenReady().then(() => {
13+
createWindow()
14+
15+
app.on('activate', () => {
16+
if (BrowserWindow.getAllWindows().length === 0) {
17+
createWindow()
18+
}
19+
})
20+
})
21+
22+
app.on('window-all-closed', () => {
23+
if (process.platform !== 'darwin') {
24+
app.quit()
25+
}
26+
})

0 commit comments

Comments
 (0)