Изменение имен файлов и добавление сборки для Windows

This commit is contained in:
Иван Мокротоваров 2019-01-31 19:43:49 +03:00
parent b10c418fc2
commit b51338f60a
6 changed files with 462 additions and 399 deletions

80
.gitignore vendored Normal file
View File

@ -0,0 +1,80 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/

View File

@ -1,9 +1,10 @@
# tibbo_uploader
ПО для программирования устройств tibbo из линукса.
Скачивать по ссылке - https://github.com/awarm/tibbo_uploader/raw/master/exec/tibbo_uploader
Скачивать по ссылке:
wget -c https://github.com/awarm/tibbo_uploader/raw/master/exec/tibbo_uploader
* Linux - https://github.com/awarm/tibbo_uploader/raw/master/exec/tibbo_uploader
* Windows - https://github.com/awarm/tibbo_uploader/raw/master/exec/tibbo_uploader.exe
После скачивания выполнить комманду

18
package-lock.json generated
View File

@ -219,19 +219,6 @@
"es5-ext": "~0.10.2"
}
},
"debug": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz",
"integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==",
"requires": {
"ms": "^2.1.1"
}
},
"dgram": {
"version": "1.0.1",
"resolved": "http://registry.npmjs.org/dgram/-/dgram-1.0.1.tgz",
"integrity": "sha1-N/OyAPgDOl/3WTAwicgc42G2UcM="
},
"engine.io": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.2.1.tgz",
@ -570,11 +557,6 @@
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ=="
},
"ms": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
"integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg=="
},
"mute-stream": {
"version": "0.0.7",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",

BIN
tibbo_uploader Normal file

Binary file not shown.

BIN
tibbo_uploader.exe Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
//var net_addr = "192.168.123.255";
net_addr = "10.0.50.255";
var net_addr = "192.168.123.255";
//net_addr = "10.0.50.255";
const files_path = "./";
@ -222,7 +222,7 @@ client.on('close', function() {
process.exit();
});
client.bind(45535); // bind socket
client.bind(44515); // bind socket
//**