Skip to content

Commit

Permalink
feat: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Apr 15, 2023
1 parent 2f08e8d commit 8d2c55b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
![](./screenshots/shove-db-3.png)
![](./screenshots/shove-db-4.png)
![](./screenshots/shove-db-5.png)
<video src="./screenshots/shove-db-video.mp4" />
![](./screenshots/shove-db-6.png)

### story 的各项操作快捷键

Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="./static/avatar.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<style>
#root {
Expand Down
Binary file removed screenshot-1.png
Binary file not shown.
Binary file added screenshots/shove-db-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/shove-db-video.mp4
Binary file not shown.
5 changes: 4 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { app, BrowserWindow, ipcMain, Menu } from 'electron';
import { app, BrowserWindow, ipcMain, Menu, nativeImage } from 'electron';
import * as url from 'url';
import fs from 'fs';
import {
Expand Down Expand Up @@ -30,6 +30,9 @@ function createWindow() {
width: 1100,
height: 700,
backgroundColor: '#f2f2f2',
icon: nativeImage.createFromPath(
path.join(__dirname, '../../static/avatar.png')
),
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
Expand Down
Binary file added static/avatar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d2c55b

Please sign in to comment.