Skip to content

Commit

Permalink
Update Tiefsee version to 4.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hbl917070 committed May 27, 2024
1 parent dd55908 commit 46a302c
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Website:<a href="https://hbl917070.github.io/aeropic/en/">hbl917070.github.io/

> System requirements: 64-bit Windows 10 or Windows 11
### Current version:Tiefsee 4.2.1
### Current version:Tiefsee 4.2.2

- <a href="https://apps.microsoft.com/store/detail/9N04QDXBNMCQ?launch=true&mode=full">
<img src="https://get.microsoft.com/images/zh-tw%20dark.svg"/></a>
Expand Down
2 changes: 1 addition & 1 deletion README.zh_TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Tiefsee

> 運行需求:64位元的 Windows 10 或 Windows 11
### 當前版本 Tiefsee 4.2.1
### 當前版本 Tiefsee 4.2.2

- <a href="https://apps.microsoft.com/store/detail/9N04QDXBNMCQ?launch=true&mode=full">
<img src="https://get.microsoft.com/images/zh-tw%20dark.svg"/></a>
Expand Down
9 changes: 5 additions & 4 deletions Tiefsee/Lib/Exif.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using MetadataExtractor;
using MetadataExtractor.Formats.Exif;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using Windows.Storage;
Expand Down Expand Up @@ -39,8 +40,8 @@ private static string ExposureTimeToString(string val) {
}

try {
double n1 = Double.Parse(ar[0].Trim());
double n2 = Double.Parse(ar[1].Trim());
double n1 = Double.Parse(ar[0].Trim(), CultureInfo.InvariantCulture);
double n2 = Double.Parse(ar[1].Trim(), CultureInfo.InvariantCulture);
double n3 = 1 / (n1 / n2);
float n4 = (float)decimal.Round((decimal)n3, 1); // 小數兩位
return "1/" + n4 + " sec";
Expand All @@ -62,8 +63,8 @@ private static string ExposureBiasToString(string val) {
}

try {
double n1 = Double.Parse(ar[0].Trim());
double n2 = Double.Parse(ar[1].Trim());
double n1 = Double.Parse(ar[0].Trim(), CultureInfo.InvariantCulture);
double n2 = Double.Parse(ar[1].Trim(), CultureInfo.InvariantCulture);
double n3 = n1 / n2;
float n4 = (float)decimal.Round((decimal)n3, 2); // 小數兩位
if (n4 > 0) {
Expand Down
2 changes: 1 addition & 1 deletion Tiefsee/ReadMe.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Tiefsee 4.2.1
Tiefsee 4.2.2

Copyright (C) 2024 hbl917070

Expand Down
2 changes: 1 addition & 1 deletion TiefseeAppPackager/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Identity
Name="60852WEN-HONGLIAO.Tiefsee"
Publisher="CN=D526D33E-7242-4E85-B8D1-6A0923DB4EDA"
Version="4.2.1.0" />
Version="4.2.2.0" />

<Properties>
<DisplayName>Tiefsee</DisplayName>
Expand Down
2 changes: 1 addition & 1 deletion Www/ejs/MainWindow/MainWindow.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<div id="mView-welcome" class="mView-welcome">
<div>
<img class="mView-welcome-logo" src="./img/logo.svg">
<div class="mView-welcome-txt">Tiefsee 4.2.1</div>
<div class="mView-welcome-txt">Tiefsee 4.2.2</div>
</div>
</div>
<textarea id="mView-txt" class="mView-text base-scrollbar" readonly2=""></textarea>
Expand Down
2 changes: 1 addition & 1 deletion Www/ejs/SettingWindow/SettingWindow.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@
<img class="logobox-img" src="./img/logo.svg">
<div class="logobox-text">
<div class="logobox-text-title">Tiefsee</div>
<div class="logobox-text-subtitle">4.2.1</div>
<div class="logobox-text-subtitle">4.2.2</div>
</div>
</div>

Expand Down

0 comments on commit 46a302c

Please sign in to comment.