Skip to content

Commit

Permalink
v0.2.1 - Update for HSRv2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Natrium0521 committed Mar 27, 2024
1 parent 7be4f03 commit 6fc7e6e
Show file tree
Hide file tree
Showing 19 changed files with 16,103 additions and 1,289 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,30 @@ _使用 [electron](https://github.com/electron/electron) 开发的《崩坏:

## 使用

#### 从源代码运行
### 从源代码运行

```
git clone
npm install
npm run main
```

#### 下载打包的文件
### 下载打包的文件

从最新 Release 下载压缩包解压运行 Firefly.exe

或下载安装包文件进行安装

## 开发计划

- [ ] 启动游戏

- [ ] 材料计算

- [ ] 遗器评分

- [ ] 自动更新

## Special Thanks

- [StarRailData](https://github.com/Dimbreath/StarRailData)
Expand Down
4 changes: 2 additions & 2 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
packagerConfig: {
asar: true,
appVersion: '0.2.0',
appVersion: '0.2.1',
icon: './src/img/favicon.ico',
name: 'Firefly',
win32metadata: {
ProductName: '流萤工具箱',
CompanyName: 'Firefly',
FileDescription: '适配《崩坏:星穹铁道》2.0版本'
FileDescription: '流萤工具箱'
}
},
rebuildConfig: {},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "firefly",
"version": "0.2.0",
"description": "适配《崩坏:星穹铁道》2.0版本",
"version": "0.2.1",
"description": "流萤工具箱",
"main": "main.js",
"scripts": {
"main": "electron .",
Expand Down
12 changes: 7 additions & 5 deletions src/css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
}

.icon {
left: 10px;
left: 13px;
top: 50%;
height: 30px;
margin-top: -15px;
height: 24px;
margin-top: -12px;

img {
height: 100%;
Expand All @@ -72,16 +72,18 @@
top: 50%;
height: 36px;
margin-top: -18px;
display: flex;
align-items: center;
}

.title {
left: 50px;
left: 55px;
line-height: 40px;
top: 5px;
}

.desc {
left: 50px;
left: 55px;
line-height: 20px;
bottom: 7px;
color: gray;
Expand Down
Binary file modified src/img/hsr/avataricon/1301.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/hsr/avataricon/1304.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/hsr/avataricon/1308.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/hsr/itemfigures/lightcone/21043.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/hsr/itemfigures/lightcone/23023.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/hsr/itemfigures/lightcone/23024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ layer.addEventListener('mouseup', (e) => {

window.onload = async () => {
appSettings = await window.fireflyAPI.getAppSettings()
page_settings.querySelector('.about .area .version').innerHTML = `工具箱版本 v${await (window.fireflyAPI.getAppVersion())}<br>适配游戏版本 v2.0`
page_settings.querySelector('.about .area .version').innerHTML = `工具箱版本 v${await (window.fireflyAPI.getAppVersion())}<br>适配游戏版本 v2.1`
const [r, g, b] = appSettings.ThemeColor
t = (r + g + b) / 3 <= 128 ? '#fff' : '#000'
document.documentElement.style.setProperty('--theme-background', `rgb(${r} ${g} ${b})`)
Expand Down
Loading

0 comments on commit 6fc7e6e

Please sign in to comment.