New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packager: Rename Daemon + Fix for Release
mode
#10883
Packager: Rename Daemon + Fix for Release
mode
#10883
Conversation
Release
mode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested running wassabeed.exe
with the command line.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks very good for me, in fact, I like it. However, it is @molnard the "owner" and I would would prefer he approve it.
I didn't find anything wrong btw.
<ItemGroup> | ||
<ProjectReference Include="..\WalletWasabi\WalletWasabi.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spaces -> tabs
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<OutputType>WinExe</OutputType> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WinExe is only for UI applications (eg WinForms or WPF). That's why in the Release mode the program did not wait for any console input.
@adamPetho can you please test it? |
@@ -25,6 +25,8 @@ namespace WalletWasabi.Packager; | |||
public static class Program | |||
{ | |||
public const string PfxPath = "C:\\digicert.pfx"; | |||
|
|||
public const string DaemonExecutableName = Constants.DaemonExecutableName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done for consistency with the line below.
@@ -25,6 +25,8 @@ namespace WalletWasabi.Packager; | |||
public static class Program | |||
{ | |||
public const string PfxPath = "C:\\digicert.pfx"; | |||
|
|||
public const string DaemonExecutableName = Constants.DaemonExecutableName; | |||
public const string ExecutableName = Constants.ExecutableName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be better to have:
public const string ExecutableName = Constants.ExecutableName; | |
public const string UiExecutableName = Constants.UiExecutableName; |
We can change it if you like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK on Win11
Packager
run with --onlybinaries
attribute, wassabeed.exe
(Daemon) worked just fine.
Ok, it looks very safe to me. |
Addresses
from https://github.com/orgs/zkSNACKs/projects/27/views/1
Testing
I'm not exactly why this leads to starting the Daemon process but not waiting for user input (pressing CTRL+C). I tried to addFixed by bc2a139.Console.Read()
command but it did not help. Investigating. Maybe I'm doing something trivially wrong.Help is welcome.
edit: Testing the same on macOS works OK for me. So it's only on Win11 that
wassabeed.exe
does not wait for console input (on my machine at least).edit: edit: Fixed.