Skip to content

Commit 2e66e9a

Browse files
author
wenjie
committed
1.0.1
1 parent 181cc85 commit 2e66e9a

File tree

7 files changed

+23
-18
lines changed

7 files changed

+23
-18
lines changed

Gruntfile.js

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,26 @@ grunt.config.init({
55
pkg: grunt.file.readJSON('gruntPackage.json'),
66
'create-windows-installer': {
77
x64:{
8-
version:'1.0.0',
9-
authors:'Wenjie',
10-
loadingGif:'./src/icon/loading.gif',
8+
version:'1.0.1',
9+
authors:'wenjie',
1110
appDirectory:'./OutApp/proxy-win32-x64',//要打包的输入目录
12-
outputDirectory:'./OutPut/win64',//grunt打包后的输出目录
11+
outputDirectory:'./OutPut/win64/',//grunt打包后的输出目录
1312
exe:'proxy.exe',
1413
description:'Wenjie Development of Intranet penetration tools',
15-
noMsi:true,
14+
setupIcon:'./src/icon/[email protected]',
15+
remoteReleases:'http://downloads.tryto.cn/proxy/new/win64/',
16+
noMsi:true
1617
},
1718
x32:{
18-
version:'1.0.0',
19-
authors:'Wenjie',
20-
loadingGif:'./src/icon/loading.gif',
19+
version:'1.0.1',
20+
authors:'wenjie',
2121
appDirectory:'./OutApp/proxy-win32-ia32',//要打包的输入目录
22-
outputDirectory:'./OutPut/win32',//grunt打包后的输出目录
22+
outputDirectory:'./OutPut/win32/',//grunt打包后的输出目录
2323
exe:'proxy.exe',
2424
description:'Wenjie Development of Intranet penetration tools',
25-
noMsi:true,
25+
setupIcon:'./src/icon/[email protected]',
26+
remoteReleases:'http://downloads.tryto.cn/proxy/new/win32/',
27+
noMsi:true
2628
},
2729
}
2830
});

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ grunt
2525

2626
## 下载
2727

28-
- [proxy-win-x64](http://downloads.tryto.cn/proxy/1.0.0/win64.zip) - Windows x64
29-
- [proxy-win-x32](http://downloads.tryto.cn/proxy/1.0.0/win32.zip) - Windows x32
28+
- [proxy-win-x64](http://downloads.tryto.cn/proxy/1.0.1/win64.zip) - Windows x64
29+
- [proxy-win-x32](http://downloads.tryto.cn/proxy/1.0.1/win32.zip) - Windows x32
3030

gruntPackage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "proxy",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"devDependencies": {
55
"grunt": "^1.2.0",
66
"grunt-electron-installer": "^2.1.0"

html/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
</head>
1212
<body>
1313
<div class="container">
14+
<p class="pull-right"><em class="version"></em></p>
1415
<div class="page-header">
1516
<h1>Proxy<small>内网穿透</small></h1>
1617
</div>

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const CrawlService = require('./proxy/crawlService');
2020
const appIcon = require('./proxy/appIcon');
2121

2222
//url协议,用于地址打开
23-
app.setAsDefaultProtocolClient('wj-proxy')
23+
// app.setAsDefaultProtocolClient('wj-proxy')
2424

2525
// Keep a global reference of the window object, if you don't, the window will
2626
// be closed automatically when the JavaScript object is garbage collected.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"name": "proxy",
3-
"version": "1.0.0",
4-
"description": "",
3+
"version": "1.0.1",
4+
"authors": "Wenjie",
5+
"description": "Wenjie Development of Intranet penetration tools",
56
"main": "main.js",
67
"scripts": {
78
"start": "electron .",
89
"packager": "electron-packager ./ proxy --all --out ./OutApp --version 1.6.1 --overwrite --icon=./src/icon/[email protected] --version-string.CompanyName=proxy --version-string.ProductName=proxy"
910
},
1011
"license": "",
1112
"dependencies": {
12-
"request": "2.81.0",
13-
"debug": "2.6.8"
13+
"request": "2.81.0"
1414
},
1515
"devDependencies": {
1616
"electron": "~1.6.2",

proxy/proxy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
const ipcRenderer = require('electron').ipcRenderer;
22
const shell = require('electron').shell
3+
const package = require('../package')
34

45
$(function () {
6+
$('.version').html('version:'+package.version);
57
//表单提交
68
$('.run').on('click',function (event) {
79
event.preventDefault();

0 commit comments

Comments
 (0)