chore: update resource

This commit is contained in:
huzibaca 2024-10-27 04:46:24 +08:00
parent 1cb1946497
commit e3c52781f3
No known key found for this signature in database
GPG Key ID: D4364EE4851DC302
5 changed files with 20 additions and 4 deletions

View File

@ -282,12 +282,12 @@ async function resolveSidecar(binInfo) {
const resolveSetDnsScript = () =>
resolveResource({
file: "set_dns.sh",
localPath: path.join(cwd, "scripts/set_dns.sh"),
localPath: path.join(cwd, "scripts/darwin/set_dns.sh"),
});
const resolveUnSetDnsScript = () =>
resolveResource({
file: "unset_dns.sh",
localPath: path.join(cwd, "scripts/unset_dns.sh"),
localPath: path.join(cwd, "scripts/darwin/unset_dns.sh"),
});
/**

View File

@ -10,7 +10,14 @@
"icons/icon.icns",
"icons/icon.ico"
],
"resources": ["resources"],
"resources": [
"resources/clash-verge-service",
"resources/install-service",
"resources/uninstall-service",
"resources/geoip.dat",
"resources/geosite.dat",
"resources/Country.mmdb"
],
"publisher": "Clash Verge Rev",
"externalBin": ["sidecar/verge-mihomo", "sidecar/verge-mihomo-alpha"],
"copyright": "GNU General Public License v3.0",

View File

@ -3,7 +3,16 @@
"identifier": "io.github.clash-verge-rev.clash-verge-rev",
"bundle": {
"targets": ["app", "dmg"],
"resources": ["resources"],
"resources": [
"resources/clash-verge-service",
"resources/install-service",
"resources/uninstall-service",
"resources/geoip.dat",
"resources/geosite.dat",
"resources/Country.mmdb",
"resources/set_dns.sh",
"resources/unset_dns.sh"
],
"macOS": {
"frameworks": [],
"minimumSystemVersion": "10.15",