Skip to content

Commit c47f759

Browse files
committed
!Bugfix: run on startup error fixed!
1 parent e7d31d9 commit c47f759

9 files changed

+3
-4
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ClipboardPlus/TrayIcon Service.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public TrayIcon_Service()
2828
private void TrayIcon_Service_Load(object sender, EventArgs e)
2929
{
3030
//take the icon of the Executeable
31-
notifyIcon.Icon = Icon.ExtractAssociatedIcon("ClipboardPlus.exe");
31+
notifyIcon.Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);
3232

3333
notifyIcon.Visible = true;
3434
notifyIcon.ContextMenuStrip = TrayIconContextStripMenu;

ClipboardPlus/obj/Debug/net6.0-windows/ClipboardPlus.GeneratedMSBuildEditorConfig.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ build_property.InvariantGlobalization =
1313
build_property.PlatformNeutralAssembly =
1414
build_property._SupportedPlatformList = Linux,macOS,Windows
1515
build_property.RootNamespace = ClipboardPlus
16-
build_property.ProjectDir = C:\Users\Mulhamsth\github\ClipboardPlus\ClipboardPlus\
16+
build_property.ProjectDir = C:\Users\admin\GitHub\public\ClipboardPlus\ClipboardPlus\
Binary file not shown.

ClipboardPlus/obj/Debug/net6.0-windows/ClipboardPlus.designer.runtimeconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
],
1414
"additionalProbingPaths": [
1515
"C:\\Users\\admin\\.dotnet\\store\\|arch|\\|tfm|",
16-
"C:\\Users\\admin\\.nuget\\packages",
17-
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
16+
"C:\\Users\\Mulhamsth\\.nuget\\packages"
1817
],
1918
"configProperties": {
2019
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
606 KB
Binary file not shown.

0 commit comments

Comments
 (0)