Skip to content

Commit

Permalink
Upgraded electron core
Browse files Browse the repository at this point in the history
* tweak: Upgraded electron version from 16 to 31.0.1.
* new: Using Electron Forge to optimize bundled files.
  • Loading branch information
xizon committed Jun 17, 2024
1 parent f3811a5 commit ca62755
Show file tree
Hide file tree
Showing 6 changed files with 16,426 additions and 7,126 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

#### = 1.3.7 (June 15, 2024) =

* tweak: Upgraded electron version from 16 to 31.0.1.
* new: Using Electron Forge to optimize bundled files.


#### = 1.3.7 (December 26, 2022) =

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Whether you find yourself in the need to create a database of necessary links fo
├── LICENSE
├── tsconfig.json
├── babel.config.js
├── forge.config.js
├── package-lock.json
├── package.json
├── package/ ·············· Available packages
Expand Down Expand Up @@ -182,6 +183,7 @@ $ sudo npm rebuild node-sass

- [React](https://reactjs.org/)
- [Electron](https://www.electronjs.org/)
- [Electron Forge](https://www.electronforge.io/)
- [Ant Design](https://github.com/ant-design/ant-design/)
- [stormdb](https://github.com/TomPrograms/stormdb)
- [lodash](https://github.com/lodash/lodash)
Expand All @@ -190,8 +192,8 @@ $ sudo npm rebuild node-sass

## Supported development environment

- Electron 16 +
- React 17 +
- Electron 16 + / Electron 31 +
- React 18 +
- TypeScript 4.x.x +
- Babel 7.x.x +
- Webpack 5.x.x
Expand Down
6 changes: 4 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ F-Curator 是一个跨平台应用程序,支持Mac和Windows系统,用来管
├── LICENSE
├── tsconfig.json
├── babel.config.js
├── forge.config.js
├── package-lock.json
├── package.json
├── package/ ·············· 软件包
Expand Down Expand Up @@ -96,6 +97,7 @@ F-Curator 是一个跨平台应用程序,支持Mac和Windows系统,用来管

- [React](https://reactjs.org/)
- [Electron](https://www.electronjs.org/)
- [Electron Forge](https://www.electronforge.io/)
- [Ant Design](https://github.com/ant-design/ant-design/)
- [stormdb](https://github.com/TomPrograms/stormdb)
- [lodash](https://github.com/lodash/lodash)
Expand All @@ -104,8 +106,8 @@ F-Curator 是一个跨平台应用程序,支持Mac和Windows系统,用来管

## 环境支持

- Electron 16 +
- React 17 +
- Electron 16 + / Electron 31 +
- React 18 +
- TypeScript 4.x.x +
- Babel 7.x.x +
- Webpack 5.x.x
Expand Down
37 changes: 37 additions & 0 deletions forge.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
const APP_NAME = 'F-Curator';

module.exports = {

// Windows and macOS (icon)
packagerConfig: {
icon: './public/assets/images/icon.icns'
},

makers: [
{
name: '@electron-forge/maker-dmg',
config: {
name: APP_NAME,
overwrite: true,
format: 'ULFO'
}
},
{
name: '@electron-forge/maker-squirrel',
config: {
name: APP_NAME
}
},

// inux
{
name: '@electron-forge/maker-deb',
config: {
options: {
name: APP_NAME,
icon: './public/assets/images/icon.icns'
}
}
}
]
}
Loading

0 comments on commit ca62755

Please sign in to comment.