modsvaskr 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/modsvaskr/games/skyrim_se.rb +2 -2
- data/lib/modsvaskr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29dad9a5413e803a1980b6d0d9aa4f71e66c8c233c0398b30eacb03c3a35d563
|
4
|
+
data.tar.gz: 0b9fb7f2efd87394746327fd79783717cb0871eb83f5447a395b411e8c8adfd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55cc0a939035ec8dbebb92f4d2e96f168faeb81b486370122951c795933088214ec90585fb6fe2a62d2cb6be55a86a1ab4d7062c43a5a7056abe4292ecbb82d5
|
7
|
+
data.tar.gz: aeb1f38ccfa4cf5f1e0362b350ad8f219e6ac92b2a3c5bf1027e4a03a3f45242d5a00fc02fc3425d420e8e72669e3c3135f415ad4b926692ef45581bb494af24
|
@@ -74,11 +74,11 @@ module Modsvaskr
|
|
74
74
|
# Install SKSE64 corresponding to our game
|
75
75
|
def install_skse64
|
76
76
|
doc = Nokogiri::HTML(URI.open('https://skse.silverlock.org/'))
|
77
|
-
p_element = doc.css('p').find { |el| el.text.strip =~ /^Current
|
77
|
+
p_element = doc.css('p').find { |el| el.text.strip =~ /^Current Anniversary Edition build .+ Download 7z File$/m }
|
78
78
|
if p_element.nil?
|
79
79
|
log '!!! Can\'t get SKSE64 from https://skse.silverlock.org/. It looks like the page structure has changed. Please update the code or install it manually.'
|
80
80
|
else
|
81
|
-
url =
|
81
|
+
url = p_element.at('a')['href']
|
82
82
|
path = "#{@tmp_dir}/skse64.7z"
|
83
83
|
FileUtils.mkdir_p File.dirname(path)
|
84
84
|
log "Download from #{url} => #{path}..."
|
data/lib/modsvaskr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modsvaskr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Muriel Salvan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses_menu
|