Skip to content

Commit 43da399

Browse files
Awezomepravic
Awezome
authored andcommitted
fix SYS INFO is not available in demo9.go
1 parent 89a4dd0 commit 43da399

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/demoes/08/demo9.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func main() {
5252
if err != nil {
5353
log.Fatal(err)
5454
}
55+
w.SetOption(sciter.SCITER_SET_SCRIPT_RUNTIME_FEATURES, sciter.ALLOW_SYSINFO|sciter.ALLOW_FILE_IO)
5556
w.LoadFile("demo9.html")
5657
w.SetTitle("view对象学习")
5758
defFunc(w)

0 commit comments

Comments
 (0)