mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Update node-webkit to nwjs 0.12.0a2
This commit is contained in:
parent
814127acc9
commit
31f888a0e3
|
|
@ -2,6 +2,8 @@
|
|||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>BuildMachineOSBuild</key>
|
||||
<string>12F45</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>en</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
|
|
@ -12,14 +14,14 @@
|
|||
<key>CFBundleTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>node-webkit App</string>
|
||||
<string>nwjs App</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Viewer</string>
|
||||
<key>LSHandlerRank</key>
|
||||
<string>Owner</string>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>com.intel.nw.app</string>
|
||||
<string>io.nwjs.nw.app</string>
|
||||
</array>
|
||||
</dict>
|
||||
<dict>
|
||||
|
|
@ -36,11 +38,11 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>node-webkit</string>
|
||||
<string>nwjs</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>com.intel.nw</string>
|
||||
<string>io.nwjs.nw</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
|
|
@ -48,11 +50,19 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>29.0.1547.31</string>
|
||||
<string>0.3.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1547.31</string>
|
||||
<string>2236.2</string>
|
||||
<key>DTSDKBuild</key>
|
||||
<string>12F37</string>
|
||||
<key>DTSDKName</key>
|
||||
<string>macosx10.8</string>
|
||||
<key>DTXcode</key>
|
||||
<string>0511</string>
|
||||
<key>DTXcodeBuild</key>
|
||||
<string>5B1008</string>
|
||||
<key>LSFileQuarantineEnabled</key>
|
||||
<true/>
|
||||
<false/>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.6.0</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
|
|
@ -60,7 +70,7 @@
|
|||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>SCMRevision</key>
|
||||
<string>213023</string>
|
||||
<string>df30fb73b312044486237d93cf96f3606862f2a3</string>
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
|
@ -69,23 +79,23 @@
|
|||
<string>com.pkware.zip-archive</string>
|
||||
</array>
|
||||
<key>UTTypeDescription</key>
|
||||
<string>node-webkit App</string>
|
||||
<string>nwjs App</string>
|
||||
<key>UTTypeIconFile</key>
|
||||
<string>nw.icns</string>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>com.intel.nw.app</string>
|
||||
<string>io.nwjs.nw.app</string>
|
||||
<key>UTTypeReferenceURL</key>
|
||||
<string>https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps</string>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>com.apple.ostype</key>
|
||||
<string>node-webkit</string>
|
||||
<string>nwjs</string>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>nw</string>
|
||||
</array>
|
||||
<key>public.mime-type</key>
|
||||
<string>application/x-node-webkit-app</string>
|
||||
<string>application/x-nwjs-app</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
|
|
|
|||
12
desktop/index.html
Executable file → Normal file
12
desktop/index.html
Executable file → Normal file
|
|
@ -2,7 +2,15 @@
|
|||
<script>
|
||||
var gui = require('nw.gui');
|
||||
var win = gui.Window.get();
|
||||
|
||||
if (process.platform === 'darwin') {
|
||||
var gui = require('nw.gui');
|
||||
var mb = new gui.Menu({type:"menubar"});
|
||||
mb.createMacBuiltin("Pokemon Showdown");
|
||||
win.menu = mb;
|
||||
}
|
||||
|
||||
win.maximize();
|
||||
win.show();
|
||||
document.location.replace('http://play.pokemonshowdown.com/');
|
||||
</script>
|
||||
document.location.replace('https://play.pokemonshowdown.com/');
|
||||
</script>
|
||||
|
|
|
|||
5
desktop/package.json
Executable file → Normal file
5
desktop/package.json
Executable file → Normal file
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user