Skip to content

Commit cbc091a

Browse files
committed
chore: bump version to 4.1.1
1 parent 32398a4 commit cbc091a

File tree

10 files changed

+31
-9
lines changed

10 files changed

+31
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tongfang-utility-ng",
3-
"version": "4.1.0",
3+
"version": "4.1.1",
44
"main": "index.js",
55
"author": "kirainmoe <[email protected]>",
66
"license": "MIT",

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cargo-features = ["resolver"]
22

33
[package]
44
name = "tongfang-utility"
5-
version = "4.1.0"
5+
version = "4.1.1"
66
description = "A Utility built for hackintoshing Tongfang Laptops"
77
authors = ["Yume Akiyama"]
88
license = ""

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"package": {
33
"productName": "Tongfang Utility",
4-
"version": "4.1.0"
4+
"version": "4.1.1"
55
},
66
"build": {
77
"distDir": "../dist",
@@ -51,7 +51,7 @@
5151
"endpoints": [
5252
"http://localhost:9000/api/utility/update/{{target}}/{{current_version}}",
5353
"https://utility-rinco.kirainmoe.com:30000/api/utility/update/{{target}}/{{current_version}}",
54-
"http://106.52.9.48:1901//api/utility/update/{{target}}/{{current_version}}",
54+
"https://106.52.9.48:1901/api/utility/update/{{target}}/{{current_version}}",
5555
"https://utility-eine.kirainmoe.com:1900/api/utility/update/{{target}}/{{current_version}}",
5656
"https://utility-akane.kirainmoe.com/api/utility/update/{{target}}/{{current_version}}"
5757
],

src/common/constants/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export enum DownloadServer {
2020
export const MIRROR_SERVER_DOMAINS = {
2121
local: 'http://localhost:9000/',
2222
rinco: 'https://utility-rinco.kirainmoe.com:30000/',
23-
eine: 'http://106.52.9.48:1901/',
24-
akane: 'http://utility-akane.kirainmoe.com/',
23+
eine: 'https://106.52.9.48:1901/',
24+
akane: 'https://utility-akane.kirainmoe.com/',
2525
};
2626

2727
export const MIRROR_NAMES = [

src/components/drivers/remote.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ import {
2323
DownloadSelectContainer,
2424
StyledSelect,
2525
ActionButtonGroup,
26+
DownloadProblemTags,
2627
} from './styles';
28+
import { LinkButton } from 'components/common/style';
29+
import { openPage } from 'utils/open-directory';
2730

2831
const { Option } = StyledSelect;
2932

33+
const solutionLarkDocumentUrl = 'https://kirainmoe.feishu.cn/docx/doxcncWkdZXyC6Vtj7ctolfR52e';
34+
3035
interface ProgressUpdatePayload {
3136
total_size: number;
3237
downloaded_size: number;
@@ -307,6 +312,13 @@ function RemoteTab() {
307312
}
308313
animation={true}
309314
/>
315+
316+
<DownloadProblemTags>
317+
<LinkButton onClick={() => openPage(solutionLarkDocumentUrl)}>
318+
{t('DRIVER_DOWNLOAD_PROBLEM')}
319+
</LinkButton>
320+
</DownloadProblemTags>
321+
310322
{isDownloading && (
311323
<>
312324
<span>

src/components/drivers/styles.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ export const ActionButtonGroup = styled.div`
3333
position: fixed;
3434
bottom: 20px;
3535
right: 20px;
36+
`;
37+
38+
export const DownloadProblemTags = styled.div`
39+
position: fixed;
40+
bottom: 25px;
41+
left: 120px;
3642
`;

src/resources/i18n/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const configPageTranslation = {
3131
WELCOME_EFI_RELEASE_LIST: ['EFI 版本列表', 'EFI Release List'],
3232
WELCOME_READ_RELEASE_NOTE: ['查看详情..', 'Detail..'],
3333
WELCOME_MANAGE_VERSION: ['管理版本..', 'Manage..'],
34-
WELCOME_ON_WINDOWS: ['未知 (Windows 环境)', 'Unknown (on Windows)'],
34+
WELCOME_ON_WINDOWS: ['Windows 环境', 'Windows'],
3535

3636
SELECT_MODEL_FILTER_INPUT: ['搜索机型 / 模具 / 制造商...', 'Search model / barebone / vendor...'],
3737
SELECT_MODEL_BY_VENDOR: ['按制造商分类', 'Group by vendor'],

src/resources/i18n/drivers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ const driversTranslation = {
1212
DRIVERS_DELETE_SUCCESS: ['驱动删除成功!', 'Drivers were deleted.'],
1313
DRIVERS_DOWNLOAD_CANCEL: ['取消下载', 'Cancel Download'],
1414
DRIVER_CLEAR_CACHE_CONFIRM: ['确定要删除所有已经下载的驱动缓存吗?', 'Are you sure to clear all downloaded drivers cache?'],
15+
DRIVER_DOWNLOAD_PROBLEM: [
16+
'下载驱动遇到问题?点此查看解决方案...',
17+
'Having problem downloading? Click for solution...',
18+
],
1519
};
1620

1721
export default driversTranslation;

src/stores/app-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class AppStore {
6363
}
6464

6565
getMirror() {
66-
this.downloadMirror = (localStorage.getItem('tfu-app-mirror') || DownloadServer.EINE) as DownloadServer;
66+
this.downloadMirror = (localStorage.getItem('tfu-app-mirror') || DownloadServer.RINCO) as DownloadServer;
6767
}
6868

6969
getMirroredUrl(uri: string) {

0 commit comments

Comments
 (0)