mirror of
https://github.com/JustusPlays78/SectorFileUpdater.git
synced 2025-04-29 19:24:24 +00:00
changed server automatic
This commit is contained in:
parent
fb88c0329b
commit
e9a54c4de5
4
updater/package-lock.json
generated
4
updater/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "sectorfile_updater",
|
"name": "sectorfile_updater",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "sectorfile_updater",
|
"name": "sectorfile_updater",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/core": "^4.0.5",
|
"@octokit/core": "^4.0.5",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
let filesAppended = [];
|
let filesAppended = [];
|
||||||
|
|
||||||
function searchAndAppendCredentials(dir, data) {
|
function searchAndAppendCredentials(dir, data) {
|
||||||
var stringToAppend = `\nLastSession connecttype 0\nLastSession realname ${data[0]}\nLastSession certificate ${data[1]}\nLastSession password ${data[2]}\nLastSession rating ${data[3]}\nLastSession server AMSTERDAM\nLastSession tovatsim 1\n`;
|
var stringToAppend = `\nLastSession connecttype 0\nLastSession realname ${data[0]}\nLastSession certificate ${data[1]}\nLastSession password ${data[2]}\nLastSession rating ${data[3]}\nLastSession server AUTOMATIC\nLastSession tovatsim 1\n`;
|
||||||
fs.readdir(dir, (err, files) => {
|
fs.readdir(dir, (err, files) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
files.forEach(file => {
|
files.forEach(file => {
|
||||||
|
5468
updater/yarn.lock
5468
updater/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user