Skip to content

Commit

Permalink
v0.7.2
Browse files Browse the repository at this point in the history
Исправлен перевод для RU, EN, CH.
  • Loading branch information
VerZsuT committed Sep 2, 2022
1 parent 926aea5 commit 4e7cfec
Show file tree
Hide file tree
Showing 21 changed files with 246 additions and 233 deletions.
48 changes: 13 additions & 35 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,14 @@
</header>

<div class='release'>
<h2 class='title'>v0.7.1</h2>
<h2 class='title'>v0.7.2</h2>
<div class='description'>
<ul>
<li>Исправлен перевод для RU, EN, CH.</li>
-- v0.7.1
<li>Исправлен баг с редактированием координат</li>
<li>Восстановлен перенос конфигурации при обновлении</li>
</ul>
</div>
<button
class='mui-btn mui-btn--raised mui-btn--primary'
version='v0.7.1'
source_type='exe'
source='GitHub'
download
>
Скачать [GitHub]
</button>
<button
class='mui-btn mui-btn--raised mui-btn--accent'
source='YandexDisk'
link='https://disk.yandex.ru/d/7-LDcnLESP_Gkg'
download
>
Скачать [Yandex Disk]
</button>
</div>

<div class='release'>
<h2 class='title'>v0.7.0</h2>
<div class='description'>
<ul>
-- v0.7.0
<li>Программа адаптирована под новую версию игры</li>
<li>Добавлены картинки новых авто</li>
<li>Добавлены параметры для сброса новых авто</li>
Expand All @@ -74,19 +52,19 @@ <h2 class='title'>v0.7.0</h2>
</ul>
</div>
<button
class='mui-btn mui-btn--raised mui-btn--primary'
version='v0.7.0'
source_type='exe'
source='GitHub'
download
class='mui-btn mui-btn--raised mui-btn--primary'
version='v0.7.2'
source_type='exe'
source='GitHub'
download
>
Скачать [GitHub]
</button>
<button
class='mui-btn mui-btn--raised mui-btn--accent'
source='YandexDisk'
link='https://disk.yandex.ru/d/BiHcYspxu9fgRg'
download
class='mui-btn mui-btn--raised mui-btn--accent'
source='YandexDisk'
link='https://disk.yandex.ru/d/IVWevRaLbs7L7A'
download
>
Скачать [Yandex Disk]
</button>
Expand Down
3 changes: 2 additions & 1 deletion docs/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const SOURCE_TYPE = 'source_type'
const SOURCE = 'source'

const GITHUB_SOURCE = 'GitHub'
const RELEASES_URL = 'https://github.com/VerZsuT/SnowRunner-XML-Editor-Desktop/releases/download'

const downloadButtons = document.querySelectorAll(`button[${DOWNLOAD}]`)

Expand All @@ -19,7 +20,7 @@ downloadButtons.forEach($downloadButton => {
$downloadButton.prepend($a)

if (source === GITHUB_SOURCE)
$a.href = `https://github.com/VerZsuT/SnowRunner-XML-Editor-Desktop/releases/download/${version}/SnowRunnerXMLEditor.${type}`
$a.href = `${RELEASES_URL}/${version}/SnowRunnerXMLEditor.${type}`
else
$a.href = $downloadButton.getAttribute(LINK)

Expand Down
2 changes: 1 addition & 1 deletion innoSetup/installer.config.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "SnowRunnerXMLEditor"
#define MyAppVersion "0.7.1"
#define MyAppVersion "0.7.2"
#define MyAppPublisher "VerZsuT"
#define MyAppURL "https://snowrunner.mod.io/guides/snowrunner-xml-editor/"
#define MyAppExeName "SnowRunner XML Editor.exe"
Expand Down
Loading

0 comments on commit 4e7cfec

Please sign in to comment.