-
Notifications
You must be signed in to change notification settings - Fork 5
Window .json
This is based on silk v.0.3 which is not released yet.
All apps need a window.json
Example
{
"title": "Window Title / name",
"url": "url to main html page",
"icon": "url to icon",
"multipleWindows": true or false
"bower_dependencies": {
"name": "version or 'latest'"
},
"npm_dependencies": {
"name": "version or '*'"
},
"opens": [
"text/plain",
"*"
]
"remote" : {
"enabled": true,
"fix-url": true
}
}
title: Required String. Currently used as the name of the app. Also the initial title of any new windows.
url: Required String. Url to main html page. If it doesn't have a client app, set it as headless. If you let Silk handle the public server for you, it is best to have a relative url so the app will work remotely.
Example urls:
/fileExplorer/index.html
https://bing.com
headless
//localhost:8000/
icon: Required String. Url to app icon.
multipleWindows: Boolean. If true, every time the user clicks on the app in the app menu it will open an additional window.
bower_dependencies: Object. Names and versions of required bower dependencies. They are installed the first time Silk is started after installing the app.
npm_dependencies: Object. Names and versions of required bower dependencies. They are installed the first time Silk is started after installing the app. If any version of the dependency is already installed, it is not updated or down graded.
Contributing to Silk
Building Apps
- Getting Started
- [window.json](https://github.com/zodern/Silk/wiki/Window .json)
Using Silk