Update README.md

This commit is contained in:
Namhyeon Go 2020-07-27 11:34:28 +09:00
parent 2c88ce06ed
commit 6fb04e64bc

View File

@ -25,7 +25,7 @@ WelsonJS - Build a Windows desktop apps with JavaScript, HTML, and CSS based on
- lib/timer (`setTimeout` implementation for not supported environment)
- lib/powershell (Windows Powershell interface)
- lib/service (Windows Service interface)
- lib/oldbrowser (Compatibility interface)
- lib/oldbrowser (HTML/JS/CSS interface)
- lib/uri (URI scheme interface)
- lib/autohotkey ([AutoHotKey](https://catswords.re.kr/go/autohotkey) interface)
- lib/autoit3 ([AutoIt3](https://catswords.re.kr/go/autoit3) interface)
@ -48,10 +48,8 @@ exports.say = function() {
### 2. Write a file `sayhello.js`
```
var sayhello = require("lib/sayhello-lib");
return {
main: function() {
sayhello.say();
}
exports.main = function() {
sayhello.say();
};
```