Skip to content

Commit

Permalink
Update Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxsoft committed Aug 4, 2016
1 parent 701cbfd commit 7fe0375
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions pack.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
$script:arch = $null;
$script:target = '1.0.2';
$script:target = '1.3.2';
$script:platform = $null;

Function DeleteUselessFiles() {
Get-ChildItem ./out | ForEach-Object -Process {
if ($_ -is [System.IO.DirectoryInfo]) {
Remove-Item -Path ./out/$_/locales -Recurse
Remove-Item -Path ./out/$_/resources/default_app.asar
# Remove-Item -Path ./out/$_/resources/default_app.asar
# Remove-Item -Path ./out/$_/pdf.dll
Remove-Item -Path ./out/$_/version
Remove-Item -Path ./out/$_/LICENSE
Expand All @@ -27,14 +27,14 @@ Function BuildElectron($platform, $arch) {
--asar `
--overwrite `
--icon=danmu.ico `
--app-version=1.0.6 `
--app-version=1.0.7 `
--out="./out" `
--ignore="""\.(pdb|exp|lib|map|obj|tlog|vcxproj|gypi|sln|md|log|bin)$|out|node-gyp|nw|nw-.*|.git""" `
--arch=$script:arch --platform=$script:platform --version=$script:target `
--version-string.ProductName="DANMU Client" `
--version-string.CompanyName="zsx (http://www.zsxsoft.com)" `
--version-string.OriginalFilename="danmu-client.exe" `
--version-string.FileVersion="1.0.6" `
--version-string.FileVersion="1.0.7" `
--version-string.InternalName="DANMU Client" `
--version-string.FileDescription="DANMU" `
--version-string.LegalCopyright="https://github.com/zsxsoft/danmu-client/"
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "danmu-client",
"version": "1.0.6",
"version": "1.0.7",
"description": "Danmu client",
"main": "main.js",
"scripts": {
Expand All @@ -24,12 +24,12 @@
"homepage": "https://github.com/zsxsoft/danmu-client",
"dependencies": {
"electron-penetrate": "0.0.3",
"socket.io-client": "^1.3.7",
"socket.io-client": "^1.4.8",
"windows-caption-color": "0.0.6"
},
"devDependencies": {
"electron-prebuilt": "^1.0.2",
"electron-rebuild": "^1.0.2",
"node-gyp": "^3.2.0"
"electron-prebuilt": "^1.3.2",
"electron-rebuild": "^1.1.5",
"node-gyp": "^3.4.0"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ danmu-client

## 系统要求

1. Windows 7 / OS X 10.8 / Linux
1. Windows 7+ / OS X 10.8 / Linux(?)

## 直接启动程序(Windows x86 / x64)

Expand Down

0 comments on commit 7fe0375

Please sign in to comment.