mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-19 16:39:15 +00:00
fix(gui): ship icon.png as real resource for packaged window icon (linux/mac/win)
This commit is contained in:
@ -41,6 +41,10 @@
|
|||||||
{
|
{
|
||||||
"from": "bin/llmsproxy",
|
"from": "bin/llmsproxy",
|
||||||
"to": "bin/llmsproxy"
|
"to": "bin/llmsproxy"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "build/icon.png",
|
||||||
|
"to": "build/icon.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -49,7 +53,13 @@
|
|||||||
},
|
},
|
||||||
"mac": {
|
"mac": {
|
||||||
"target": "dmg",
|
"target": "dmg",
|
||||||
"icon": "build/icon.png"
|
"icon": "build/icon.png",
|
||||||
|
"extraResources": [
|
||||||
|
{
|
||||||
|
"from": "build/icon.png",
|
||||||
|
"to": "build/icon.png"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"win": {
|
"win": {
|
||||||
"target": "nsis",
|
"target": "nsis",
|
||||||
@ -62,6 +72,10 @@
|
|||||||
{
|
{
|
||||||
"from": "bin/lua51.dll",
|
"from": "bin/lua51.dll",
|
||||||
"to": "bin/lua51.dll"
|
"to": "bin/lua51.dll"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"from": "build/icon.png",
|
||||||
|
"to": "build/icon.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user