Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
1c7 committed May 3, 2018
1 parent 0044382 commit 40b9815
Show file tree
Hide file tree
Showing 8 changed files with 2,620 additions and 5 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified assets/.DS_Store
Binary file not shown.
Binary file added assets/icons/.DS_Store
Binary file not shown.
Binary file added assets/icons/png/1024x1024.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 added assets/icons/png/64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ const url = require('url')
let win

function createWindow() {
win = new BrowserWindow({ width: 695, height: 368 })
win = new BrowserWindow({
width: 695,
height: 368,
// backgroundColor: '#312450',
icon: path.join(__dirname, 'assets/icons/png/64x64.png')
})
// win = new BrowserWindow({ width: 695, height: 368 })
win.loadURL(url.format({
pathname: path.join(__dirname, 'index.html'),
protocol: 'file:',
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "Translate-Helper",
"name": "Translation-Helper",
"productName": "字幕组机翻小助手",
"version": "1.0.0",
"version": "0.0.1",
"license": "MIT",
"description": "减少打字疲劳",
"description": "减少字幕翻译打中文的疲劳",
"author": "糖醋陈皮 <[email protected]>",
"main": "main.js",
"scripts": {
"postinstall": "install-app-deps",
"start": "npm install && electron ./app",
"start": "electron .",
"pack": "build --dir",
"dist": "build"
},
Expand Down
Loading

0 comments on commit 40b9815

Please sign in to comment.