Browse Source

添加关于详情。

oldj 9 years ago
parent
commit
5314ee4015
3 changed files with 24 additions and 1 deletions
  1. 1 0
      app/gulpfile.js
  2. 1 1
      app/src/version.js
  3. 22 0
      assets/Credits.rtf

+ 1 - 0
app/gulpfile.js

@@ -39,6 +39,7 @@ gulp.task('pack', () => {
     let cmds = `
 # for macOS
 electron-packager . 'SwitchHosts!' --platform=darwin --arch=x64 --overwrite --asar=true --prune --icon=../assets/app.icns --ignore=node_modules/.bin --ignore=.git --ignore=dist --ignore=node_modules/electron-* --out=dist --app-version=${v1} --build-version=${v2}
+cp ../assets/Credits.rtf dist/SwitchHosts\!-darwin-x64/SwitchHosts\!.app/Contents/Resources/en.lproj
 
 # for windows x64
 electron-packager . 'SwitchHosts!' --platform=win32  --arch=x64 --overwrite --asar=true --prune --icon=../assets/app.ico  --ignore=node_modules/.bin --ignore=.git --ignore=dist --ignore=node_modules/electron-* --out=dist --app-version=${v1} --build-version=${v2}

+ 1 - 1
app/src/version.js

@@ -1 +1 @@
-exports.version = [3,2,0,4165];
+exports.version = [3,2,0,4166];

+ 22 - 0
assets/Credits.rtf

@@ -0,0 +1,22 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf340
+{\fonttbl\f0\fnil\fcharset0 Menlo-Bold;\f1\fnil\fcharset0 Menlo-Regular;}
+{\colortbl;\red255\green255\blue255;\red128\green128\blue128;}
+\paperw11900\paperh16840\vieww11400\viewh8400\viewkind0
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\sl312\slmult1\partightenfactor0
+
+\f0\b\fs20 \cf2 Author:
+\f1\b0 \cf0 \
+@oldj\
+\
+
+\f0\b \cf2 Homepage:
+\f1\b0 \cf0 \
+{\field{\*\fldinst{HYPERLINK "https://oldj.github.io/SwitchHosts/"}}{\fldrslt https://oldj.github.io/SwitchHosts/}}\
+\
+
+\f0\b \cf2 Feedback:
+\f1\b0 \cf0 \
+{\field{\*\fldinst{HYPERLINK "https://github.com/oldj/SwitchHosts/issues"}}{\fldrslt https://github.com/oldj/SwitchHosts/issues}}\
+\
+SwitchHosts! is an open source software, you can find and fork the project here:\
+{\field{\*\fldinst{HYPERLINK "https://github.com/oldj/SwitchHosts"}}{\fldrslt https://github.com/oldj/SwitchHosts}}.}