Compare commits

..

2 Commits

6 changed files with 14 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "vyla-home",
"version": "1.1.2",
"version": "1.1.3",
"description": "Vyla Home Desktop App Launcher",
"main": "main.js",
"scripts": {

View File

@@ -158,13 +158,21 @@ async function main() {
await ensureWebView2Loader();
const bundleDir = path.join(__dirname, 'src-tauri', 'target', 'release', 'bundle');
if (fs.existsSync(bundleDir)) {
fs.rmSync(bundleDir, { recursive: true, force: true });
}
console.log('Compiling Windows Tauri installer locally...');
execSync('npm run build', {
stdio: 'inherit'
});
const nsisDir = path.join(__dirname, 'src-tauri/target/release/bundle/nsis');
if (fs.existsSync(nsisDir)) {
const files = fs.readdirSync(nsisDir).filter(f => f.endsWith('.exe'));
const targetVersion = version.startsWith('v') ? version.substring(1) : version;
const files = fs.readdirSync(nsisDir).filter(f => f.endsWith('.exe') && f.includes(targetVersion));
if (files.length > 0) {
const originalName = files[0];
installerPath = path.join(nsisDir, originalName);

2
src-tauri/Cargo.lock generated
View File

@@ -4222,7 +4222,7 @@ dependencies = [
[[package]]
name = "vyla-home"
version = "1.1.2"
version = "1.1.3"
dependencies = [
"serde",
"serde_json",

View File

@@ -1,6 +1,6 @@
[package]
name = "vyla-home"
version = "1.1.2"
version = "1.1.3"
description = "Vyla Home Desktop App Launcher"
edition = "2021"

Binary file not shown.

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Vyla Home",
"version": "1.1.2",
"version": "1.1.3",
"identifier": "com.vyla.home",
"build": {
"frontendDist": "../ui"
@@ -40,4 +40,4 @@
"../node_modules/**/*"
]
}
}
}