Skip to content

Commit 487fcd8

Browse files
author
bugfish\bugfishtm
committed
1.0.3
1 parent cb0a3b1 commit 487fcd8

File tree

9 files changed

+29
-6
lines changed

9 files changed

+29
-6
lines changed

_changelogs/1.0.2.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<b>Release 1.0.2</b><br /> - Fixed Exception when starting elevated software
2+
3+

_changelogs/1.0.3.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<b>Release 1.0.3</b><br /> - Fix external started software Process Working Directory
2+
3+
82.6 KB
Binary file not shown.
82.5 KB
Binary file not shown.

_releases/suitefish_win_1.0.2.zip

9.85 MB
Binary file not shown.

_releases/suitefish_win_1.0.3.zip

9.85 MB
Binary file not shown.

_source/Interface.cs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using suitefish.Library;
33
using suitefish.Properties;
44
using System;
5+
using System.ComponentModel;
56
using System.Data;
67
using System.Data.Entity.Core.Metadata.Edm;
78
using System.Data.SQLite;
@@ -77,7 +78,7 @@ public partial class Interface : Form
7778
////////////////////////////////////////////////////////////
7879
/// Software Version and Variables
7980
////////////////////////////////////////////////////////////
80-
const string SF_VERSION_CR = "1.0.1";
81+
const string SF_VERSION_CR = "1.0.3";
8182
private string constant_default_server = "https://suitefish.com";
8283

8384
////////////////////////////////////////////////////////////
@@ -1975,7 +1976,23 @@ private async void lib_sw_start(ListViewItem item)
19751976
folderName = "sf-apps\\" + foldervalue;
19761977
string finalfolder = Path.Combine(exeDirectory, folderName);
19771978
string finalized = finalfolder + "\\" + xecvalue;
1978-
Process.Start(@finalized);
1979+
1980+
var procInfo = new ProcessStartInfo();
1981+
procInfo.FileName = finalized;
1982+
procInfo.WorkingDirectory = finalfolder;
1983+
procInfo.UseShellExecute = true; // if you need elevation, set Verb = "runas" here
1984+
// procInfo.Verb = "runas"; // if needed for admin rights
1985+
1986+
try
1987+
{
1988+
Process.Start(procInfo);
1989+
}
1990+
catch (Exception ex)
1991+
{
1992+
if (SF_DEBUG_CR) {
1993+
Console.WriteLine("Error starting process: " + ex.Message);
1994+
}
1995+
}
19791996
}
19801997

19811998
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

_source/Properties/PublishProfiles/FolderProfile.pubxml.user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
33
<Project>
44
<PropertyGroup>
5-
<History>True|2025-08-04T00:16:42.3616651Z||;True|2025-08-03T13:48:35.7723582+02:00||;True|2025-08-03T13:09:16.0696203+02:00||;True|2025-08-03T13:04:28.3700018+02:00||;True|2025-08-03T13:02:41.4954466+02:00||;True|2025-08-03T13:02:31.3947877+02:00||;True|2025-08-03T12:59:42.7524128+02:00||;True|2025-08-03T12:52:13.8135984+02:00||;True|2025-05-12T21:05:23.2951906+02:00||;True|2025-05-12T17:20:44.0227225+02:00||;True|2025-05-12T00:22:56.3363341+02:00||;True|2025-05-12T00:10:21.9736662+02:00||;</History>
5+
<History>True|2025-08-04T20:32:49.4229827Z||;True|2025-08-04T22:25:50.6332228+02:00||;True|2025-08-04T02:16:42.3616651+02:00||;True|2025-08-03T13:48:35.7723582+02:00||;True|2025-08-03T13:09:16.0696203+02:00||;True|2025-08-03T13:04:28.3700018+02:00||;True|2025-08-03T13:02:41.4954466+02:00||;True|2025-08-03T13:02:31.3947877+02:00||;True|2025-08-03T12:59:42.7524128+02:00||;True|2025-08-03T12:52:13.8135984+02:00||;True|2025-05-12T21:05:23.2951906+02:00||;True|2025-05-12T17:20:44.0227225+02:00||;True|2025-05-12T00:22:56.3363341+02:00||;True|2025-05-12T00:10:21.9736662+02:00||;</History>
66
<LastFailureDetails />
77
</PropertyGroup>
88
</Project>

_source/suitefish.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
<UseWindowsForms>true</UseWindowsForms>
99
<ImplicitUsings>enable</ImplicitUsings>
1010
<ApplicationIcon>Images\favicon.ico</ApplicationIcon>
11-
<AssemblyVersion>1.0.1</AssemblyVersion>
12-
<FileVersion>1.0.1</FileVersion>
11+
<AssemblyVersion>1.0.3</AssemblyVersion>
12+
<FileVersion>1.0.3</FileVersion>
1313
<Title>Suitefish</Title>
1414
<Company>Bugfish Industries</Company>
1515
<Product>Suitefish</Product>
1616
<Description>Suitefish software downloader and manager tool.</Description>
1717
<Copyright>Open Source License</Copyright>
1818
<PackageProjectUrl>https://github.com/bugfishtm/suitefish-windows</PackageProjectUrl>
1919
<PackageIcon>suitefish_logo_alpha.png</PackageIcon>
20-
<Version>1.0.1</Version>
20+
<Version>1.0.3</Version>
2121
<RepositoryUrl>https://github.com/bugfishtm/suitefish-windows</RepositoryUrl>
2222
<ApplicationManifest>app.manifest</ApplicationManifest>
2323
</PropertyGroup>

0 commit comments

Comments
 (0)