tg_send_zon 0.0.16 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/tg_send_zon.rb +11 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1e23e5d3d252a8859c01078b6ce583fa918dcff4738a036d1ec02afc2c9c032
|
4
|
+
data.tar.gz: a83c18088bd24fab27edafa77057a5a7e2efafc9461764280c7246b79cc6b45b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ccab61f0fc63f872b574264c57fee36a54d298f1350b6d2585b044cbd8aea0ca87d38756a2d62a0d15f7dacba4dbf3b5cdf670f7b9de4f134f6bc5e9c6a60d0
|
7
|
+
data.tar.gz: 35bfd45fe2a0e6918a92fcf355ba53e616daaceb0bf1954a218d5a420498bbcab83bc20b77c8512dc6ca6b7debe52a7f97089bb6d8ebc76e6d12648be5cafa97
|
data/lib/tg_send_zon.rb
CHANGED
@@ -138,15 +138,19 @@ class Naver
|
|
138
138
|
current_dir = File.dirname(__FILE__)
|
139
139
|
telegram_cookie_dir = "C:/telegram_cookie"
|
140
140
|
FileUtils.mkdir_p(telegram_cookie_dir) unless File.exist?(telegram_cookie_dir)
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
141
147
|
unless File.exist?("C:/telegram_cookie/" + telegram_number)
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
else
|
147
|
-
|
148
|
-
end
|
148
|
+
|
149
|
+
FileUtils.cp_r(File.join(current_dir, 'tdriver'), "C:/telegram_cookie/" + telegram_number)
|
150
|
+
|
151
|
+
|
149
152
|
end
|
153
|
+
end
|
150
154
|
|
151
155
|
|
152
156
|
|