chore: update sync-version script, only build app exe
This commit is contained in:
parent
9f75a32502
commit
79795190f0
@ -13,7 +13,9 @@ const version = cargo.package['version'];
|
|||||||
if (!version) throw new Error('Could not find version in Cargo.toml');
|
if (!version) throw new Error('Could not find version in Cargo.toml');
|
||||||
|
|
||||||
const tauriConf = JSON.parse(fs.readFileSync(tauriConfPath, 'utf8'));
|
const tauriConf = JSON.parse(fs.readFileSync(tauriConfPath, 'utf8'));
|
||||||
tauriConf.version = version;
|
if (tauriConf.version !== version) {
|
||||||
|
tauriConf.version = version;
|
||||||
|
|
||||||
fs.writeFileSync(tauriConfPath, JSON.stringify(tauriConf, null, 2));
|
fs.writeFileSync(tauriConfPath, JSON.stringify(tauriConf, null, 2));
|
||||||
console.log(`✅ Synced tauri.conf.json version to ${version}`);
|
console.log(`✅ Synced tauri.conf.json version to ${version}`);
|
||||||
|
}
|
||||||
|
@ -27,21 +27,9 @@
|
|||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": "all",
|
"targets": [
|
||||||
"windows": {
|
"app"
|
||||||
"allowDowngrades": true,
|
],
|
||||||
"certificateThumbprint": null,
|
|
||||||
"digestAlgorithm": null,
|
|
||||||
"nsis": null,
|
|
||||||
"signCommand": null,
|
|
||||||
"timestampUrl": null,
|
|
||||||
"tsp": false,
|
|
||||||
"webviewInstallMode": {
|
|
||||||
"silent": true,
|
|
||||||
"type": "downloadBootstrapper"
|
|
||||||
},
|
|
||||||
"wix": null
|
|
||||||
},
|
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
"icons/128x128.png",
|
"icons/128x128.png",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user