Skip to content

Commit

Permalink
feats: add gvsbuild related. ➕
Browse files Browse the repository at this point in the history
  • Loading branch information
Joker2770 committed Feb 19, 2024
1 parent 190ca79 commit 41fdf52
Show file tree
Hide file tree
Showing 8 changed files with 672 additions and 6 deletions.
404 changes: 404 additions & 0 deletions .gitignore

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion SerialPortToolGUI.ui
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@
thanks for serial < https://github.com/wjwwood/serial.git >

A Cross-platform serial debug tool.
Copyright (C) 2021 joker2770(Jintao Yang)
Copyright (C) 2021-2024 joker2770(Jintao Yang)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
41 changes: 41 additions & 0 deletions msvc/SerialPortToolGUI.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SerialPortToolGUI", "SerialPortToolGUI.vcxproj", "{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "serial", "..\serial\visual_studio\serial\serial.vcxproj", "{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Debug|x64.ActiveCfg = Debug|x64
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Debug|x64.Build.0 = Debug|x64
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Debug|x86.ActiveCfg = Debug|Win32
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Debug|x86.Build.0 = Debug|Win32
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Release|x64.ActiveCfg = Release|x64
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Release|x64.Build.0 = Release|x64
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Release|x86.ActiveCfg = Release|Win32
{8EDEAF19-44B5-4DBA-AD27-B5FD7B9F2CDA}.Release|x86.Build.0 = Release|Win32
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Debug|x64.ActiveCfg = Debug|x64
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Debug|x64.Build.0 = Debug|x64
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Debug|x86.ActiveCfg = Debug|Win32
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Debug|x86.Build.0 = Debug|Win32
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Release|x64.ActiveCfg = Release|x64
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Release|x64.Build.0 = Release|x64
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Release|x86.ActiveCfg = Release|Win32
{A8517FB2-C74E-43BD-B3C6-B05D3FC11ECD}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {014D5816-EDB0-4D90-B9AB-16B28A475848}
EndGlobalSection
EndGlobal
185 changes: 185 additions & 0 deletions msvc/SerialPortToolGUI.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>17.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{8edeaf19-44b5-4dba-ad27-b5fd7b9f2cda}</ProjectGuid>
<RootNamespace>SerialPortToolGUI</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ExternalIncludePath>D:\open_sources\repos\SerialPortToolGUI\serial\include;C:\gtk-build\gtk\x64\release\include;$(ExternalIncludePath)</ExternalIncludePath>
<LibraryPath>C:\gtk-build\gtk\x64\release\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ExternalIncludePath>D:\open_sources\repos\SerialPortToolGUI\serial\include;C:\gtk-build\gtk\x64\release\include;$(ExternalIncludePath)</ExternalIncludePath>
<LibraryPath>C:\gtk-build\gtk\x64\release\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ExternalIncludePath>D:\open_sources\repos\SerialPortToolGUI\serial\include;C:\gtk-build\gtk\x64\release\include;$(ExternalIncludePath)</ExternalIncludePath>
<LibraryPath>C:\gtk-build\gtk\x64\release\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ExternalIncludePath>D:\open_sources\repos\SerialPortToolGUI\serial\include;C:\gtk-build\gtk\x64\release\include;$(ExternalIncludePath)</ExternalIncludePath>
<LibraryPath>C:\gtk-build\gtk\x64\release\lib;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/IC:/gtk-build/gtk/x64/release/include/gtk-3.0 /IC:/gtk-build/gtk/x64/release/include/pango-1.0 /IC:/gtk-build/gtk/x64/release/include/harfbuzz /IC:/gtk-build/gtk/x64/release/include/cairo /IC:/gtk-build/gtk/x64/release/include/gdk-pixbuf-2.0 /IC:/gtk-build/gtk/x64/release/include/atk-1.0 /IC:/gtk-build/gtk/x64/release/include/glib-2.0 /IC:/gtk-build/gtk/x64/release/lib/glib-2.0/include /IC:/gtk-build/gtk/x64/release/include/freetype2 /IC:/gtk-build/gtk/x64/release/include/libpng16 /IC:/gtk-build/gtk/x64/release/include/pixman-1 /IC:/gtk-build/gtk/x64/release/include/fribidi %(AdditionalOptions)</AdditionalOptions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>$(OutDir)\serial.lib;Advapi32.lib</AdditionalDependencies>
<AdditionalOptions>gtk-3.lib gdk-3.lib gdi32.lib imm32.lib shell32.lib ole32.lib winmm.lib dwmapi.lib setupapi.lib cfgmgr32.lib hid.lib winspool.lib comctl32.lib comdlg32.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib harfbuzz.lib atk-1.0.lib cairo-gobject.lib cairo.lib gdk_pixbuf-2.0.lib gio-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib %(AdditionalOptions)</AdditionalOptions>
<NoEntryPoint>false</NoEntryPoint>
<EntryPointSymbol>
</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/IC:/gtk-build/gtk/x64/release/include/gtk-3.0 /IC:/gtk-build/gtk/x64/release/include/pango-1.0 /IC:/gtk-build/gtk/x64/release/include/harfbuzz /IC:/gtk-build/gtk/x64/release/include/cairo /IC:/gtk-build/gtk/x64/release/include/gdk-pixbuf-2.0 /IC:/gtk-build/gtk/x64/release/include/atk-1.0 /IC:/gtk-build/gtk/x64/release/include/glib-2.0 /IC:/gtk-build/gtk/x64/release/lib/glib-2.0/include /IC:/gtk-build/gtk/x64/release/include/freetype2 /IC:/gtk-build/gtk/x64/release/include/libpng16 /IC:/gtk-build/gtk/x64/release/include/pixman-1 /IC:/gtk-build/gtk/x64/release/include/fribidi %(AdditionalOptions)</AdditionalOptions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>$(OutDir)\serial.lib;Advapi32.lib</AdditionalDependencies>
<AdditionalOptions>gtk-3.lib gdk-3.lib gdi32.lib imm32.lib shell32.lib ole32.lib winmm.lib dwmapi.lib setupapi.lib cfgmgr32.lib hid.lib winspool.lib comctl32.lib comdlg32.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib harfbuzz.lib atk-1.0.lib cairo-gobject.lib cairo.lib gdk_pixbuf-2.0.lib gio-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib %(AdditionalOptions)</AdditionalOptions>
<NoEntryPoint>false</NoEntryPoint>
<EntryPointSymbol>
</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/IC:/gtk-build/gtk/x64/release/include/gtk-3.0 /IC:/gtk-build/gtk/x64/release/include/pango-1.0 /IC:/gtk-build/gtk/x64/release/include/harfbuzz /IC:/gtk-build/gtk/x64/release/include/cairo /IC:/gtk-build/gtk/x64/release/include/gdk-pixbuf-2.0 /IC:/gtk-build/gtk/x64/release/include/atk-1.0 /IC:/gtk-build/gtk/x64/release/include/glib-2.0 /IC:/gtk-build/gtk/x64/release/lib/glib-2.0/include /IC:/gtk-build/gtk/x64/release/include/freetype2 /IC:/gtk-build/gtk/x64/release/include/libpng16 /IC:/gtk-build/gtk/x64/release/include/pixman-1 /IC:/gtk-build/gtk/x64/release/include/fribidi %(AdditionalOptions)</AdditionalOptions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>$(OutDir)\serial.lib;Advapi32.lib</AdditionalDependencies>
<AdditionalOptions>gtk-3.lib gdk-3.lib gdi32.lib imm32.lib shell32.lib ole32.lib winmm.lib dwmapi.lib setupapi.lib cfgmgr32.lib hid.lib winspool.lib comctl32.lib comdlg32.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib harfbuzz.lib atk-1.0.lib cairo-gobject.lib cairo.lib gdk_pixbuf-2.0.lib gio-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib %(AdditionalOptions)</AdditionalOptions>
<NoEntryPoint>false</NoEntryPoint>
<EntryPointSymbol>
</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>false</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalOptions>/IC:/gtk-build/gtk/x64/release/include/gtk-3.0 /IC:/gtk-build/gtk/x64/release/include/pango-1.0 /IC:/gtk-build/gtk/x64/release/include/harfbuzz /IC:/gtk-build/gtk/x64/release/include/cairo /IC:/gtk-build/gtk/x64/release/include/gdk-pixbuf-2.0 /IC:/gtk-build/gtk/x64/release/include/atk-1.0 /IC:/gtk-build/gtk/x64/release/include/glib-2.0 /IC:/gtk-build/gtk/x64/release/lib/glib-2.0/include /IC:/gtk-build/gtk/x64/release/include/freetype2 /IC:/gtk-build/gtk/x64/release/include/libpng16 /IC:/gtk-build/gtk/x64/release/include/pixman-1 /IC:/gtk-build/gtk/x64/release/include/fribidi %(AdditionalOptions)</AdditionalOptions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>$(OutDir)\serial.lib;Advapi32.lib</AdditionalDependencies>
<AdditionalOptions>gtk-3.lib gdk-3.lib gdi32.lib imm32.lib shell32.lib ole32.lib winmm.lib dwmapi.lib setupapi.lib cfgmgr32.lib hid.lib winspool.lib comctl32.lib comdlg32.lib pangowin32-1.0.lib pangocairo-1.0.lib pango-1.0.lib harfbuzz.lib atk-1.0.lib cairo-gobject.lib cairo.lib gdk_pixbuf-2.0.lib gio-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib %(AdditionalOptions)</AdditionalOptions>
<NoEntryPoint>false</NoEntryPoint>
<EntryPointSymbol>
</EntryPointSymbol>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\sptsrc\port_control.h" />
<ClInclude Include="..\sptsrc\utility.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\sptsrc\main.cpp" />
<ClCompile Include="..\sptsrc\port_control.cpp" />
<ClCompile Include="..\sptsrc\utility.cpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
36 changes: 36 additions & 0 deletions msvc/SerialPortToolGUI.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\sptsrc\port_control.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="..\sptsrc\utility.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\sptsrc\main.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="..\sptsrc\port_control.cpp">
<Filter>源文件</Filter>
</ClCompile>
<ClCompile Include="..\sptsrc\utility.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion snap/gui/serialporttoolgui.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=0.1.06.20230108
Version=0.1.07.20240219
Encoding=UTF-8
Name=serialporttoolgui
Comment=A Cross-platform serial debug tool.
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This is a snapcraft build script.
# Copyright (C) 2022-2023 Jintao Yang <yjt950840@outlook.com>
# Copyright (C) 2022-2024 Jintao Yang <yjt950840@outlook.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand All @@ -21,7 +21,7 @@
#

name: serialporttoolgui # you probably want to 'snapcraft register <name>'
version: '0.1.06.20230420' # just for humans, typically '1.2+git' or '1.3.2'
version: '0.1.07.20240219' # just for humans, typically '1.2+git' or '1.3.2'
summary: A Cross-platform serial debug tool. # 79 char long summary
description: |
A simple Cross-platform serial debug tool, created by Joker2770< https://github.com/Joker2770/SerialPortToolGUI.git >.
Expand Down
4 changes: 2 additions & 2 deletions sptsrc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ gboolean readDaemon(gpointer data)
// printf("i_ret_r: %d\n", i_ret_r);
if (i_ret_r != 0)
{
usleep(50000);
// usleep(50000);
return TRUE;
}

Expand Down Expand Up @@ -964,7 +964,7 @@ int main(int argc, char *argv[])
{
g_printerr("Error loading file: %s\n", error->message);
g_clear_error(&error);
if (gtk_builder_add_from_file(builder, "SerialPortToolGUI.ui", &error) == 0)
if (gtk_builder_add_from_file(builder, "./SerialPortToolGUI.ui", &error) == 0)
{
g_printerr("Error loading file: %s\n", error->message);
g_clear_error(&error);
Expand Down

0 comments on commit 41fdf52

Please sign in to comment.