Skip to content

Instantly share code, notes, and snippets.

@nolvuscodes
Last active April 20, 2019 17:11
Show Gist options
  • Save nolvuscodes/f753c3b723dc9b8ee30b8faec0458994 to your computer and use it in GitHub Desktop.
Save nolvuscodes/f753c3b723dc9b8ee30b8faec0458994 to your computer and use it in GitHub Desktop.
Natifier.Json Setup & Templates. Just create your project folder, put these there and run npm install to install all the node mods, then run npm --name "APPTITLE" "https://www.office.com/?omkt=en-us" and your done
{
"name":"National Crisis Map",
"targetUrl":"https://google.org/crisismap/usa?topics=met&gl=US&hl=en&llbox=",
"counter":false,
"bounce":false,
"width":1280,
"height":800,
"showMenuBar":false,
"fastQuit":false,
"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36",
"nativefierVersion":"7.6.12",
"ignoreCertificate":false,
"disableGpu":false,
"ignoreGpuBlacklist":false,
"enableEs3Apis":false,
"insecure":false,
"flashPluginDir":null,
"diskCacheSize":null,
"fullScreen":false,
"maximize":false,
"zoom":1,
"internalUrls":null,
"singleInstance":false,
"clearCache":false,
"win32metadata":{
"ProductName":"National Crisis Map",
"InternalName":"National Crisis Map",
"FileDescription":"National Crisis Map"
},
"tray":false,
"basicAuthUsername":null,
"basicAuthPassword":null,
"alwaysOnTop":false,
"titleBarStyle":null,
"globalShortcuts":null
}
{
"name":"national-crisis-map-nativefier-21c59c",
"version":"1.0.0",
"description":"Placeholder for the nativefier cli to override with a target url",
"main":"lib/main.js",
"dependencies":{
"electron-context-menu":"^0.10.0",
"electron-dl":"^1.10.0",
"electron-squirrel-startup":"^1.0.0",
"electron-window-state":"^4.1.1",
"loglevel":"^1.5.1",
"source-map-support":"^0.5.0",
"wurl":"^2.5.2"},
"devDependencies":{},
"scripts":{
"test":"echo \"Error: no test specified\" && exit 1"},
"keywords":[
"desktop",
"electron"
],
"author":"Jia Hao",
"license":"MIT"
}
@nolvuscodes
Copy link
Author

Be sure to run npm install nativefier -g to install globally just once on whatever PC or laptop you are going to develop from.
You can get more information or how-to's from here if need be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment