配置windows平台的安装引导程序图标
This commit is contained in:
parent
7da3a62852
commit
dc6386f671
@ -13,10 +13,25 @@ const config: ForgeConfig = {
|
|||||||
extraResource: [
|
extraResource: [
|
||||||
'assets/'
|
'assets/'
|
||||||
],
|
],
|
||||||
icon: 'assets/icon.ico',
|
icon: 'assets/icon',
|
||||||
},
|
},
|
||||||
rebuildConfig: {},
|
rebuildConfig: {},
|
||||||
makers: [new MakerSquirrel({}), new MakerZIP({}, ['darwin']), new MakerRpm({}), new MakerDeb({})],
|
makers: [
|
||||||
|
new MakerSquirrel({
|
||||||
|
authors: 'Allen Cai',
|
||||||
|
owners: 'Allen Cai',
|
||||||
|
exe: 'china-telecom-app.exe',
|
||||||
|
name: 'china-telecom-app',
|
||||||
|
version: require('./package.json').version,
|
||||||
|
description: 'China Telecom App',
|
||||||
|
copyright: 'Copyright © 2025 Allen Cai',
|
||||||
|
noMsi: true,
|
||||||
|
setupIcon: 'assets/icon.ico',
|
||||||
|
}),
|
||||||
|
new MakerZIP({}, ['darwin']),
|
||||||
|
new MakerRpm({}),
|
||||||
|
new MakerDeb({})
|
||||||
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
new VitePlugin({
|
new VitePlugin({
|
||||||
// `build` can specify multiple entry builds, which can be Main process, Preload scripts, Worker process, etc.
|
// `build` can specify multiple entry builds, which can be Main process, Preload scripts, Worker process, etc.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "china-telecom-app",
|
"name": "china-telecom-app",
|
||||||
"productName": "china-telecom-app",
|
"productName": "china-telecom-app",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"description": "China Telecom App",
|
"description": "China Telecom App",
|
||||||
"main": ".vite/build/main.js",
|
"main": ".vite/build/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "commonjs",
|
"module": "ESNext",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user