Skip to content

Commit

Permalink
add core.bin,show how to Protect JavaScript source code with v8 snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tza17313 committed Oct 17, 2015
1 parent 070b7e2 commit 81960c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Binary file added app/v0.0.1/core.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions app/v0.0.1/index.html
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>NW.js Demo</title>
<link rel="stylesheet" href="./assest/css/app.css"/>
<script src="./assest/utils/read.js"></script>
<!--<script src="./assest/utils/read.js"></script>-->
</head>
<body>
<header>
Expand All @@ -24,7 +24,7 @@ <h3>原网页内容:</h3>
<iframe id="iframe" class="iframe" src="" nwfaketop frameborder="0"></iframe>

<script>

require('nw.gui').Window.get().evalNWBin(null, './app/v0.0.1/core.bin');
init();


Expand Down
8 changes: 8 additions & 0 deletions errorLogs.md
@@ -0,0 +1,8 @@

## 日期:2015/10/17 下午4:22:12
##### 客户端版本: V0.0.1
##### 错误详情:
```javascript
ReferenceError: Read is not defined
at HTMLButtonElement.<anonymous> (file:///E:/tool/nwjs-v0.12.3-win-x64/app/v0.0.1/index.html:47:13)
```

0 comments on commit 81960c3

Please sign in to comment.