File tree Expand file tree Collapse file tree 3 files changed +2573
-89
lines changed
frontend/express/public/javascripts/countly Expand file tree Collapse file tree 3 files changed +2573
-89
lines changed Original file line number Diff line number Diff line change 11// run as
22// node generate.js > countly.device.list.js
3+ // resulting file should be copied to "/frontend/express/public/javascripts/countly"
34
45//https://www.theiphonewiki.com/wiki/Models
56//https://gist.github.com/adamawolf/3048717
@@ -16,8 +17,9 @@ for (var i in amazon) {
1617 devices [ i ] = amazon [ i ] ;
1718}
1819
19- //Informative messages are writer to stderr so they don't interfere with the stdout piping to a file
20- //When downloading the CSV file it will be UTF-16 LE. It needs to be transformed to UTF-8 (non BOM version)
20+ // Informative messages are writer to stderr so they don't interfere with the stdout piping to a file
21+ // When downloading the CSV file it will be UTF-16 LE. It needs to be transformed to UTF-8 (non BOM version)
22+ // converting with notepad++ or vscode might not work on a windows device. Try on a mac device
2123process . stderr . write ( "Starting CSV parsing\n" ) ;
2224var csv = require ( 'csvtojson' ) ;
2325csv ( )
You can’t perform that action at this time.
0 commit comments