mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-01-07 03:26:56 +08:00
Add descriptions, updater, bundle language with installer, and WiX config
This commit is contained in:
parent
0b24a2bb22
commit
9ef816aad8
7
src-tauri/resources/wix.wxs
Normal file
7
src-tauri/resources/wix.wxs
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<!-- Force installer to run as Administrator. -->
|
||||
<Property Id="MSIUSEREALADMINDETECTION" Value="1" />
|
||||
</Fragment>
|
||||
</Wix>
|
@ -31,7 +31,7 @@
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"category": "DeveloperTool",
|
||||
"category": "Game",
|
||||
"copyright": "",
|
||||
"deb": {
|
||||
"depends": []
|
||||
@ -45,7 +45,8 @@
|
||||
"icons/icon.ico"
|
||||
],
|
||||
"identifier": "xyz.grasscutters",
|
||||
"longDescription": "",
|
||||
"shortDescription": "A game launcher.",
|
||||
"longDescription": "A launcher for a certain anime game that proxies all related game traffic to external servers.",
|
||||
"macOS": {
|
||||
"entitlements": null,
|
||||
"exceptionDomain": "",
|
||||
@ -53,20 +54,30 @@
|
||||
"providerShortName": null,
|
||||
"signingIdentity": null
|
||||
},
|
||||
"resources": [],
|
||||
"shortDescription": "",
|
||||
"resources": [
|
||||
"lang/*.json"
|
||||
],
|
||||
"targets": "all",
|
||||
"windows": {
|
||||
"allowDowngrades": false,
|
||||
"certificateThumbprint": null,
|
||||
"digestAlgorithm": "sha256",
|
||||
"timestampUrl": ""
|
||||
"timestampUrl": "",
|
||||
"wix": {
|
||||
"fragmentPaths": ["resources/wix.wxs"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"security": {
|
||||
"csp": "default-src 'self' https://asset.localhost; img-src 'self'; img-src https://* asset: https://asset.localhost"
|
||||
},
|
||||
"updater": {
|
||||
"active": false
|
||||
"active": false,
|
||||
"dialog": true,
|
||||
"endpoints": [
|
||||
"https://api.grasscutters.xyz/cultivation/update?version={{current_version}}"
|
||||
],
|
||||
"pubkey": ""
|
||||
},
|
||||
"windows": [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user