Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
Inventory tg bot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
globa
Inventory tg bot
Commits
0101236f
Commit
0101236f
authored
May 17, 2024
by
globa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tls 1.2
parent
803d82fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.gitignore
.gitignore
+2
-1
index.ps1
index.ps1
+3
-4
No files found.
.gitignore
View file @
0101236f
*.cfg
*.cfg
*.sqlite
*.sqlite
\ No newline at end of file
config.ps1
\ No newline at end of file
index.ps1
View file @
0101236f
$db
=
"D:\telegram-bot\db.sqlite"
$db
=
".\db.sqlite"
# Подключение файла с конфигурацией
# Подключение файла с конфигурацией
$configFile
=
".\config.cfg"
$configFile
=
".\config.ps1"
if
(
Test-Path
$configFile
)
{
if
(
Test-Path
$configFile
)
{
.
$configFile
.
$configFile
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment