From 31f888a0e303e2f12bc4794d4c9f8fe12b976a5c Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 24 Jan 2015 02:10:46 -0600 Subject: [PATCH] Update node-webkit to nwjs 0.12.0a2 --- desktop/Info.plist | 34 ++++++++++++++++++++++------------ desktop/index.html | 12 ++++++++++-- desktop/package.json | 5 +++-- 3 files changed, 35 insertions(+), 16 deletions(-) mode change 100755 => 100644 desktop/index.html mode change 100755 => 100644 desktop/package.json diff --git a/desktop/Info.plist b/desktop/Info.plist index 7ac17acdd..beb6a903c 100644 --- a/desktop/Info.plist +++ b/desktop/Info.plist @@ -2,6 +2,8 @@ + BuildMachineOSBuild + 12F45 CFBundleDevelopmentRegion en CFBundleDisplayName @@ -12,14 +14,14 @@ CFBundleTypeIconFile nw.icns CFBundleTypeName - node-webkit App + nwjs App CFBundleTypeRole Viewer LSHandlerRank Owner LSItemContentTypes - com.intel.nw.app + io.nwjs.nw.app @@ -36,11 +38,11 @@ CFBundleExecutable - node-webkit + nwjs CFBundleIconFile nw.icns CFBundleIdentifier - com.intel.nw + io.nwjs.nw CFBundleInfoDictionaryVersion 6.0 CFBundleName @@ -48,11 +50,19 @@ CFBundlePackageType APPL CFBundleShortVersionString - 29.0.1547.31 + 0.3.0 CFBundleVersion - 1547.31 + 2236.2 + DTSDKBuild + 12F37 + DTSDKName + macosx10.8 + DTXcode + 0511 + DTXcodeBuild + 5B1008 LSFileQuarantineEnabled - + LSMinimumSystemVersion 10.6.0 NSPrincipalClass @@ -60,7 +70,7 @@ NSSupportsAutomaticGraphicsSwitching SCMRevision - 213023 + df30fb73b312044486237d93cf96f3606862f2a3 UTExportedTypeDeclarations @@ -69,23 +79,23 @@ com.pkware.zip-archive UTTypeDescription - node-webkit App + nwjs App UTTypeIconFile nw.icns UTTypeIdentifier - com.intel.nw.app + io.nwjs.nw.app UTTypeReferenceURL https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps UTTypeTagSpecification com.apple.ostype - node-webkit + nwjs public.filename-extension nw public.mime-type - application/x-node-webkit-app + application/x-nwjs-app diff --git a/desktop/index.html b/desktop/index.html old mode 100755 new mode 100644 index 1902130d2..cf8d4f36e --- a/desktop/index.html +++ b/desktop/index.html @@ -2,7 +2,15 @@ \ No newline at end of file +document.location.replace('https://play.pokemonshowdown.com/'); + diff --git a/desktop/package.json b/desktop/package.json old mode 100755 new mode 100644 index 76db8bfcc..e2abac845 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,11 +1,12 @@ { "name": "Pokemon Showdown", - "version": "0.1.0", + "version": "0.3.0", "main": "index.html", "node-remote": "play.pokemonshowdown.com", + "no-edit-menu": false, "window": { - "icon": "icons/icon_32x32.png", + "icon": "data/pokemonshowdown.ico", "title": "Loading...", "toolbar": false, "show": false